|
|
@ -16,12 +16,20 @@ Administrate its OpenVPN with a web interface (logs visualisations, users managi |
|
|
|
* PHP >= 5.5 with modules: |
|
|
|
* PHP >= 5.5 with modules: |
|
|
|
* zip |
|
|
|
* zip |
|
|
|
* pdo_mysql |
|
|
|
* pdo_mysql |
|
|
|
* bower |
|
|
|
* composer |
|
|
|
|
|
|
|
* npm |
|
|
|
* unzip |
|
|
|
* unzip |
|
|
|
* wget |
|
|
|
* wget |
|
|
|
* sed |
|
|
|
* sed |
|
|
|
* curl |
|
|
|
* curl |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Debian Stretch |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```` |
|
|
|
|
|
|
|
# apt-get install openvpn nginx composer php-fpm php-mysql mysql-server php nodejs unzip git wget sed curl |
|
|
|
|
|
|
|
# ln -s /usr/bin/nodejs /usr/bin/node |
|
|
|
|
|
|
|
```` |
|
|
|
|
|
|
|
|
|
|
|
### Debian Jessie |
|
|
|
### Debian Jessie |
|
|
|
|
|
|
|
|
|
|
|
```` |
|
|
|
```` |
|
|
@ -46,16 +54,29 @@ Administrate its OpenVPN with a web interface (logs visualisations, users managi |
|
|
|
|
|
|
|
|
|
|
|
Only tested on Debian Jessie. Feel free to open issues. |
|
|
|
Only tested on Debian Jessie. Feel free to open issues. |
|
|
|
|
|
|
|
|
|
|
|
## Installation |
|
|
|
## Installation (full) |
|
|
|
|
|
|
|
|
|
|
|
* Setup OpenVPN and the web application: |
|
|
|
* Setup OpenVPN and the web application: |
|
|
|
|
|
|
|
|
|
|
|
$ cd ~/my_coding_workspace |
|
|
|
$ cd ~/my_coding_workspace |
|
|
|
$ git clone https://github.com/Chocobozzz/OpenVPN-Admin openvpn-admin |
|
|
|
$ git clone https://github.com/Chocobozzz/OpenVPN-Admin openvpn-admin |
|
|
|
$ cd openvpn-admin |
|
|
|
$ cd openvpn-admin |
|
|
|
|
|
|
|
$ npm install |
|
|
|
|
|
|
|
$ composer install |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
You can predefine all environment parameters, just copy example and put your changes in `.env` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# cp .env.example .env |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If you want to make ths full installation (with preparing of MySQL, Web-server and OpenVPN) |
|
|
|
|
|
|
|
|
|
|
|
# ./install.sh www_base_dir web_user web_group |
|
|
|
# ./install.sh www_base_dir web_user web_group |
|
|
|
|
|
|
|
|
|
|
|
* Setup the web server (Apache, NGinx...) to serve the web application. |
|
|
|
If you want to configure only OpenVPN: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ./install-openvpn.sh |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Setup the web server (Apache, Nginx...) to serve the web application. |
|
|
|
* Create the admin of the web application by visiting `http://your-installation/index.php?installation` |
|
|
|
* Create the admin of the web application by visiting `http://your-installation/index.php?installation` |
|
|
|
|
|
|
|
|
|
|
|
## Usage |
|
|
|
## Usage |
|
|
|