For system, network and cloud administrators
tmux is a very useful tool when working with the terminal. It basically allows you to start multiple sessions and each one of these sessions can have multiple panes inside it. tmux is a terminal tool focused on window and session management. tmux is available for: Debian/Ubuntu, Fedora, RHEL/CentOS, Arch Linux, OpenSUSE, macOS.
sudo /etc/init.d/apache2 status
If you’re seeing an “Active (running)“ message then it means that your Apache2 process is still running and we need to stop it.
sudo /etc/init.d/apache2 stop
sudo /etc/init.d/apache2 status
Notice that now, the “Active” section says “inactive“.
sudo apt-get purge apache2* -y
sudo apt-get autoremove -y
whereis apache2
If the result/output of the command above is empty, then Apache2 has been successfully uninstalled from your Ubuntu 18.04 LTS.
OpenVPN is a software compatible with both Windows and Linux, often used in corporations for creating secure connections towards their own internal IT infrastructure.
Open your Ubuntu terminal and type:
sudo apt-get install openvpn openvpn-systemd-resolved
Open your Ubuntu terminal and type:
sudo openvpn --config path-to-openvpn-config-file.ovpn
After running OpenVPN, the system will require you to enter your local super user (if prompted) and after that, for your OpenVPN user and password.