How to install Virtualmin on Debian

 It allows you to manage groups, disk allocations, set various roles as well as install and configure web, ssh, FTP, email, and database servers.

According to Virtualmin's official website, Virtualmin is an addon that helps to manage multiple virtual hosts using a single interface.

With Virtualmin, you can configure almost every aspect of your system. In this article, we’ll guide you on how to install Webmin and Virtualmin on Debian 10.

Prerequisites

You must be logged in as root or a user with sudo access to install packages.

Installing Webmin on Debian OS

Installing Webmin on Debian Linux is an effortless and easy task that takes approximately 15 minutes. The package is available from the official Webmin repositories, thus making an installation easy as pie. 

Let’s start with the usual update of the package index and of course install the dependencies. Follow these commands:

sudo apt update
sudo apt install software-properties-common apt-transport-https wget


Next we need to import the WebGL GPG key and turn on the Webmin repository:

wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add - sudo add-apt-repository "deb http://download.webmin.com/download/repository sarge contrib"


Proceed with the installation of the Webmin package by running:

sudo apt install webmin


After completing the installation, you should get this output:

Webmin install complete. You can now login to https://your_server_ip_or_hostname:10000/ as root with your root password, or as any user who can use sudo to run commands as root.

Webmin should launch as soon as it is become installed. That's it! Webmin is installed on a Debian Linux server.

 

How to install Virtualmin on Debian OS

Nothing difficult here as well. Virtualmin offers an installation script, so the process is quite similar to Webmin. 

By using a well-known command wget, download the installation script:

wget http://software.virtualmin.com/gpl/scripts/install.sh

 

After the download is complete enter this command to start the installation process:

sudo /bin/sh install.sh 

Depending on your server capabilities and drive type like SSD, HDD, or NVMe the process should take up to 15 minutes. Meanwhile, you can read other articles on our blog. The prompt message on finished installation should come afterward. The next stop is configuring a firewall.

Configuring your firewall

By default, Webmin listens for connections on port 10000. So you should open a port for it on your server. If you have a firewall, you must open the Webmin 10000 port. Enter this command to do it:

sudo ufw allow 10000/tcp

Access to Webmin Web Interface

Webmin is installed on your Debian server. What’s next? Launch a web browser and type in your server's hostname or public IP address followed by Webmin port 10000. You receive this data when you buy a server from BlueVPS. 

https://your_server_ip:10000/

The browser will certainly alarm telling you that the certificate is invalid. That’s alright. By default, Webmin uses a self-signed SSL certificate which is always untrusted. Issuing a free Let’s Encrypt certificate should do the trick. From here you can start configuring and managing your Debian 10 server as required.

Updating Webmin
Should you need to update your Webmin installation from time to time, use the normal apt package manager update procedure:

sudo apt update && sudo apt upgrade

Conclusion

There you have it! You have successfully installed Webmin on Debian. Make sure, that you contact BlueVPS in case of any problem with the installation. We also offer preinstalled control panels for every OS free of charge! We are available via ticket system or LiveChat. Take care!

07 Mar 2022
Review bluevps at WebHostingGeeks.com