Debian (Jessie) install commands: (If using LXC Debian template, you’ll need to install systemd first)

sudo nano /etc/apt/sources.list.d/mongodb-org-3.0.list
deb wheezy/mongodb-org/3.0 main

sudo nano /etc/apt/sources.list.d/pritunl.list
deb jessie main

sudo apt-key adv --keyserver hkp:// --recv 7F0CEB10
sudo apt-key adv --keyserver hkp:// --recv CF8E292A
sudo apt-get update
sudo apt-get install pritunl mongodb-org
sudo systemctl start mongod pritunl
sudo systemctl enable mongod pritunl



If you get this [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed on Debian hosts whole attempting to have Pritunl install a Let’s Encrypt certificate you need to install the ca-certificates  package.

sudo apt-get install ca-certificates

When starting the server if this ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)  shows up you can run the following two commands to fix it.

sudo mkdir -p /dev/net/
sudo mknod /dev/net/tun c 10 200



Leave a Reply

Your email address will not be published. Required fields are marked *