Last active
March 4, 2019 10:56
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OVPN_DATA=`ovpn-data-example` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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