To install OpenVPN AS software in CentOS / Debian operating systems, perform the steps below.
Update your VPS
Before any new software installation, ensure that VPS operating system has the latest software packages. Use this command in SSH:
For CentOS:
yum update -y
For Debian:
apt-get update
Setup OpenVPN software
The process is very simple and straightforward:
CentOS 6:
wget http://swupdate.openvpn.org/as/openvpn-as-2.0.10-CentOS6.x86_64.rpm
CentOS 7:
wget http://swupdate.openvpn.org/as/openvpn-as-2.0.10-CentOS7.x86_64.rpm
Debian 6:
wget http://swupdate.openvpn.org/as/openvpn-as-2.0.10-Debian6.amd_64.deb
Debian 7:
wget http://swupdate.openvpn.org/as/openvpn-as-2.0.10-Debian7.amd_64.deb
Install OpenVPN:
For CentOS:
rpm -ivh openvpn-[details].rpm
For Debian:
dpkg -i DEB_PACKAGE
That’s it! Read the post-install message in SSH for login details/instructions.