Update OpenVPN appliance from 2.0.7 to 2.0.12

OK, so 2.0.7 used Ubuntu 13.10 and the new 2.0.12  uses Ubuntu 14.04

You can check this by running: lsb_release -a inside a console prompt

So, let’s upgrade Ubuntu to 14.04

Run:

sudo apt-get install update-manager-core
then: do-release-upgrade
After everything is completed, you’ll see the following info when running lsb_release -a:

Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

Now, let’s upgrade OpenVPN Appliance:

cd /tmp
wget http://swupdate.openvpn.org/as/openvpn-as-2.0.12-Ubuntu14.amd_64.deb
dpkg -i openvpn-as-2.0.12-Ubuntu14.amd_64.deb

You’ll see the following info in the console:

Unpacking openvpn-as (2.0.12-Ubuntu14) over (2.0.12-Ubuntu14) …
Setting up openvpn-as (2.0.12-Ubuntu14) …
Backing up configuration and DB files to /usr/local/openvpn_as/etc/backup prior to update.
* Restarting openvpnas openvpnas [ OK ]

And you’re done !!!