These tools take the complexity out of managing Linux servers. With Webmin and Virtualmin web control panel, you can manage and provision virtual web hosts, manage domains, email, databases, system users, groups, and disk quotas as well as install and configure web, ssh, and FTP. These are the features you get from a public web host company. Also, for students and new users learning Linux, the easiest place to start learning is Ubuntu Linux. Ubuntu is the modern, open-source Linux operating system for desktops, servers, and other devices. For more about Webmin, check out its homepage. When you’re ready to install Webmin and Virtualmin on Ubuntu Linux, follow the steps below.

How to install Webmin on Ubuntu Linux

Webmin packages are not included in the standard Ubuntu repositories, so we’ll be using Webmin repositories to install. The installation is pretty straightforward. Before installing, run the commands below to install the required packages and dependencies. Next, run the commands below to import the Webmin GPG key and add the Webmin repository to your system’s software sources. After that, run the commands below to install Webmin. All packages and dependencies will be automatically resolved and installed. Once the installation is complete, you should see a successful message with the login URL.

How to access the Webmin web portal

Now that Webmin is installed, you can access the interface by opening your web browser and browsing the server hostname or IP address followed by port 10000. By default, Webmin listens for connections on port 10000 on all network interfaces. If you’re using an Ubuntu firewall, then run the commands below to allow access to that port. Now log on to the web interface using the server hostname or IP address followed by the port number. If you’re coming from a remote location, you must add the IP address to the allowed list. you can do that by running the commands below to open the Webmin default configuration file. Then adding a new line to allow a specific IP or subnet. Save the file. You should be able to access Webmin. Your browser will complain that the certificate is not valid. By default, Webmin uses untrusted self-signed certificates. Login to the Webmin web interface using your root or sudo user credentials:

How to install Virtualmin on Ubuntu Linux

Before installing Virtualmin, understand that it only supports Ubuntu LTS versions. The non-LTS version will fail to install it. Also, at the time of this writing, only Ubuntu 20.04 | 18.04 | 16.04 are supported. Now that Webmin is installed, go and install Virtualmin. Virtualmin allows you to manage Apache2 virtual hosts and DNS, just like you have with cPanel and other hosted packages. Run the commands below to download the Virtualmin script. Then make the script executable Finally, run the commands below to install Virtualmin Accept the default setting and install. When that’s done, you should have the Virtualmin module enabled for Webmin and begin configuring your systems. That should do it. Conclusion: This post showed you how to install Webmin and Virtualmin on Ubuntu Linux. If you find any error above or have something to add, please use the comment form below.