adamwalach / openvpn-web-ui

Web interface (with golang backend) for monitoring and administration of OpenVPN server
MIT License
673 stars 274 forks source link

can it be installed without a docker? #1

Open edvalbuena opened 7 years ago

edvalbuena commented 7 years ago

I already have a fine and dandy openvpn setup.

can I install this without the docker?

kenji-tokawa commented 6 years ago

how to install it on ubuntu server or centos?

rafaelmaeuer commented 4 years ago

Hi, I'm interested in running without docker too, as I already have a working vpn-server running and only need the UI

rafaelmaeuer commented 4 years ago

So I actually figured out how to get it up and running without using docker. First install golang and beego, then install all go dependencies with go get -d -v ./.... You might export your Go PATHs first (add them to your .bash_profile or similar for persistence):

export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH

Then head to your project directory located in Go PATH:

cd $GOPATH/src/github.com/adamwalach/openvpn-web-ui

Executing the following command should get all up and running:

bee run -gendoc=true

It builds an openvpn-web-ui binary which can be executed from then on to be used standalone or with a process manager.
Head to http://localhost:8080 and check if you see the login page.
Login and change your password!!!

username: admin
password: b3secure