How to Install Webmin and Virtualmin on Ubuntu 16.04

Introduction

Before we proceed on how to install Webmin and Virtualmin on Ubuntu 16.04, let’s get to know first what are Webmin and Virtualmin.

How to Install Webmin and Virtualmin on Ubuntu 16.04Webmin is a web-based system configuration tool for Unix-like systems. With it, it is possible to configure operating system internals, such as users, disk quotas, services or configuration files, as well as modify and control open source apps, such as the Apache HTTP Server, PHP or MySQL.

How to Install Webmin and Virtualmin on Ubuntu 16.04

Virtualmin is a domain hosting and website control panel, which gives the ability to create and manage many domains and is available in both open source and commercial versions. It is a free alternative to cPanel.

Requirements

Before we proceed on how to install Webmin and Virtualmin on Ubuntu 16.04, we need to know if your server meets the minimum requirements.

I prefer installing Webmin and Virtualmin on a freshly installed operating system. The supported operating systems are the following:

  • CentOS/RHEL 6 and 7 on i386 and x86_64
  • Debian 7, 8, and 9, on i386 and amd64
  • Ubuntu 14.04 LTS, and 16.04 LTS on i386 and amd64 (non-LTS releases are not supported)

You can check out more information on the supported operating systems via this link: https://www.virtualmin.com/os-support.

In this tutorial, we will be installing Webmin and Virtualmin on Ubuntu 16.04 LTS.

You can check more information on this page: https://www.virtualmin.com/download.html

Install Webmin and Virtualmin

Make sure your system is up to date.

sudo apt update
sudo apt upgrade -y
sudo apt autoremove -y

Make sure that your hostname is correctly configured. You can check this by running the following command.

hostname -f

If the above command does not show your hostname, run the following command:

sudo hostnamectl set-hostname yourfullyqualifieddomainname

Install Webmin/Virtualmin using the following commands:

wget https://software.virtualmin.com/gpl/scripts/install.sh
sudo /bin/sh ./install.sh -y

The above command will take some time to install depending on how fast your server is.

After installing, it will give you a link on how to access your newly installed Webmin and Virtualmin. Most of the time it will be https://yourfullyqualifieddomainname:10000.

Access your newly installed Webmin and Virtualmin using your browser and complete the Post-Installation Wizard.

That’s it! You have successfully installed Webmin and Virtualmin! Happy hosting!

How to Install WordPress using SSH

Before we begin on how to install WordPress using SSH, let’s have an introduction about WordPress and SSH.

WordPressHow to Install WordPress Using SSH is a free and open-source content management system based on PHP and MySQL. Features include a plugin architecture and a template system. It is most associated with blogging, but supports other types of web content including more traditional mailing lists and forums, media galleries, and online stores.

There are a couple of ways to install WordPress to your server. In this tutorial, I will show you how to install WordPress using SSH.

Image result for sshSSH, also known as Secure Socket Shell, is a network protocol that provides administrators with a secure way to access a remote computer. SSH also refers to the suite of utilities that implement the protocol.

Before you proceed with this tutorial on how to install WordPress using SSH, make sure to setup your database name, username and password.

Here are the steps:

Login to your SSH terminal and navigate to your root directory of your website. In my case, it’s under the public_html folder.

cd public_html

Download the latest WordPress using the following command:

wget http://wordpress.org/latest.tar.gz

Extract the downloaded file using this command:

tar xfz latest.tar.gz

Move the contents of the WordPress files into the root directory of your website using this command:

mv wordpress/* ./

Delete the WordPress directory using this command:

rmdir ./wordpress/

Delete the downloaded file using this command:

rm -f latest.tar.gz

Make sure to navigate to your website and complete the WordPress configuration wizard.

You’re done! That’s how you install WordPress using SSH. You can install your desired plugins and themes.

The steps above can be done in one command:

wget http://wordpress.org/latest.tar.gz && tar xfz latest.tar.gz && mv wordpress/* ./ && rmdir ./wordpress/ && rm -f latest.tar.gz

Don’t forget to navigate to your website and complete the WordPress configuration wizard.

Let me know your thoughts about on “How to Install WordPress Using SSH” by commenting below.