X
    Categories: Tutorials

Install Webmin on an Ubuntu VPS

Webmin provides a web-based system administration interface for performing basic system administration tasks. Using Webmin, you can easily configure your Apache web server, create and edit users and groups, create and edit DNS zones and domains, configure MySQL database server, monitor traffic, configure your firewall and many other things. Installing Webmin on a Linux VPS is a fairly easy task and can be completed in less than 30 minutes.

First, log in to your Linux VPS via SSH, open the sources.list file

nano /etc/apt/sources.list

and add the following lines:

deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

Save the file and close it. After you are done with this step, you need to add the Webmin GPG key. This step is required to make sure that the Webmin repository you have previously added is trusted. Navigate to your /root directory:

cd /root

Download the Webmin GPG key using wget by running the following command:

wget http://www.webmin.com/jcameron-key.asc

Finally, add the Webmin GPG key to apt using the following command:

apt-key add jcameron-key.asc

Once you add the GPG key you need to update the apt package lists. Run the following command:

apt-get update

Now you are ready to install Webmin on your Ubuntu VPS. To do that you should run the command:

apt-get install webmin

The installation will take some time. Depending on your system, it should take no longer than 15 minutes. Once the installation completes, you can start using Webmin.

The Webmin default port is 10000. In order to access the web interface you will need to open your favorite web browser and type your server IP address followed by the port number.

https://IP-ADDRESS:10000

If you are not sure what the IP address of your Ubuntu VPS is, you can execute the following command to find it out:

ip addr show

Please note that you will need to use the https protocol to connect to your Webmin interface since Webmin enables SSL/TLS by default. You should instruct your web browser to accept the SSL certificate although it is not issued by a certificate authority. You can purchase a CA issued SSL certificate for your Webmin interface and your domain names at:

https://www.rosehosting.com/ssl-certificates.html

To log in to your Webmin interface you need to use ‘root’ as username and your root password.

Webmin has a lot of standard modules. The full list of standard modules can be found at:

http://www.webmin.com/standard.html

A good way to start is to read the Webmin Documentation. The primary source is the Webmin Wiki available at:

http://doxfer.webmin.com/Webmin/Main_Page

Also, you may find the module documentation pages pretty useful. The module documentation pages are available at:

http://doxfer.webmin.com/Webmin/Webmin_Modules

Of course you don’t have to do any of this if you use one of our Linux VPS hosting services, in which case you can simply ask our expert Linux admins to install Webmin for you. They are available 24×7 and will take care of your request immediately.

PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.

View Comments