Skip to content

Instantly share code, notes, and snippets.

@rahulvramesh
Last active March 4, 2019 10:56
Show Gist options
  • Save rahulvramesh/d5628b2b48ba9cd601b3cc5bfa0fb167 to your computer and use it in GitHub Desktop.
Save rahulvramesh/d5628b2b48ba9cd601b3cc5bfa0fb167 to your computer and use it in GitHub Desktop.
Setup OpenVPN and IPsec/L2TP Services In Single VPS Server Using Docker - Part 1
OVPN_DATA=`ovpn-data-example`
sudo apt-get update
sudo apt-get install curl apt-transport-https ca-certificates software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
#please note that am using Ubuntu 18
sudo apt-get update
#install docker 
sudo apt-get install docker-ce
#check docker is running or not 
sudo systemctl status docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment