OpenVPN can be used on the Linux Ubuntu desktop using a simple GUI, and command line. This configuration can be used for Ubuntu 16, 17, and 18, and all that will be needed is a network manager. Ubuntu will not support running the .ovpn without the network manager.


                                                      OpenVPN Screen after installation

The VPN menu will only have 2 menus, Point-to-point tunneling protocol and the import and file. You will not be able to add a new OpenVPN certificate to use on Ubuntu without using the OpenVPN manager.

To install the OpenVPN network manager, use this command in your terminal;

        sudo apt-get install network-manager-openvpn-gnome

After the installation, restart your settings menu, and you can now see the OpenVPN menu added.

To add a free OpenVPN connection, go to;


 --> Download the OpenVPN connection you would prefer, according to the country on VPN book. There areEurope, US, Canada, Germany and France server- download one of the bundles to your Ubuntu laptop.


Go back to the network manager, and select the "Import a file," you can select any of the files shown above to use to change your IP address.


When the file is imported, the fields will be autofilled. The username and password field will be left blank, go back to the VPN Book website to copy and paste the username and password of the day(username and password changes every 7 days) to these fields, and wait for the free VPN service to connect.

                                        Padlock icon shows that VPN is connected on Ubuntu 18.04 (Bionic Beaver)

The image below shows the new IP and the country have selected; 


Xampp is one of the best localhost servers app out there for Ubuntu, especially if you are coming from a Windows environment. It is easy to run your apache and SQL with 2-clicks of the button after installation to start work.

Sometimes, it can be frustrating with starting the apache service and sometimes it might just be another frustration starting the SQL services. I have faced both frustration, and it is not good for your health, especially when you have series of other tasks.


Fixing Apache Server On Ubuntu

So in the case you are facing the issues of starting your apache, but it won't start, instead you keep seeing "stopped" whenever you start the apache server, The first thing to do is kill the server application, like you do on Windows, most times, it is not Skype, it is some program that is using the port 80, which is basically port for the apache.

If after you ended the Skype program, you are still having trouble accessing the apache, copy and paste this command in your terminal;

    "  sudo kill $(sudo netstat -anp | awk '/ LISTEN / {if($4 ~ ":80$") { gsub("/.*","",$7); print $7; exit } }') "

The code will find any application or services using the port 80 and kill it.


Fixing MySQL Database Server On Ubuntu
This same issue also happens on MySql server. It will not start because another service or application is using it. This can also be frustrating, and restarting your PC might not resolve the issue. Since MySQL runs on port 3306, all you have to do is use the same command above, but change 80 to 3306, so it finds the applications or services on the same port, and kill it.
" sudo kill $(sudo netstat -anp | awk '/ LISTEN / {if($4 ~ ":3306$") { gsub("/.*","",$7); print $7; exit } }') "