Installation of VPNTTG
Download the .rpm or .deb or .tgz file(s) and save it to disk.
Installation:
[root@localhost ~]# rpm -ivh vpnttg-2.4-8.<architecture>.rpmor
[root@localhost ~]# dpkg -i vpnttg_2.4-8_<architecture>.debor
[root@localhost ~]# tar -C / -xzf vpnttg-2.4-8.<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_schema.sql [root@localhost ~]# psql vpnttgdb -h 127.0.0.1 -U vpnttg < /stats/vpnttg/sql/vpnttgdb_data.sql