Monday, January 21, 2019

Installation of VPNTTG

Download:

Download the .rpm or .deb or .tgz file(s) and save it to disk.






Installation:

[root@localhost ~]# rpm -ivh vpnttg-2.3-7.<architecture>.rpm
or
[root@localhost ~]# dpkg -i vpnttg_2.3-7_<architecture>.deb
or
[root@localhost ~]# tar -C / -xzf vpnttg-2.3-7.<architecture>.tgz

optional

edit the file /stats/vpnttg/etc/vpnttg_db.conf to change vpnttg user password

don't forget to change vpnttg user password in the database too!

Initialization of vpnttgdb database:

[root@localhost ~]# export PGPASSWORD=vpnttgpass
[root@localhost ~]# psql vpnttgdb -h 127.0.0.1 -U vpnttg < /stats/vpnttg/sql/vpnttgdb.sql