Skip to content

Instantly share code, notes, and snippets.

View pedroalmeidabp's full-sized avatar

pedroalmeidabp

View GitHub Profile
@pedroalmeidabp
pedroalmeidabp / LINUX L2TP
Created February 10, 2020 19:29
LINUX L2TP
# CentOS & RHEL
yum -y install epel-release
yum --enablerepo=epel -y install strongswan xl2tpd
VPN_SERVER_IP='vpn.tropicalmarinecentre.co.uk'
VPN_IPSEC_PSK='tropicaltest2016'
VPN_USER='bp_external'
VPN_PASSWORD='rJqeajKpGAfzewBi9PGU'
Configure strongSwan:
@pedroalmeidabp
pedroalmeidabp / Drush-install-drupal-7
Created April 26, 2018 08:23
Drush Install - Drupal 7 #drupal
#If not composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
php -r "unlink('composer-setup.php');"
mv composer.phar /usr/local/bin
composer global require drush/drush:6.x