Install Beta

Install Pritunl Zero beta

The Pritunl Zero beta can be installed from the GitHub repository using the commands below.

# Install Go
sudo yum -y install git
curl -L https://dl.google.com/go/go1.12.1.linux-amd64.tar.gz | sudo tar -C /usr/local -xz
tee -a ~/.bashrc << EOF
export GOPATH=\$HOME/go
export PATH=/usr/local/go/bin:\$PATH
EOF
source ~/.bashrc

# Install MongoDB
sudo tee /etc/yum.repos.d/mongodb-org-4.0.repo << EOF
[mongodb-org-4.0]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/7/mongodb-org/4.0/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-4.0.asc
EOF

sudo yum -y install docker mongodb-org
sudo systemctl start mongod docker
sudo systemctl enable mongod docker

# Install Pritunl Zero
go get -u github.com/pritunl/pritunl-zero

# Run Pritunl Zero (must be run from source directory)
cd ~/go/src/github.com/pritunl/pritunl-zero
sudo ~/go/bin/pritunl-zero start