Install Webmin | Virtualmin on Ubuntu 20.04 | 18.04

This brief tutorial shows students and new users how to install Webmin and Virtualmin on Ubuntu 18.04 | 20.04 LTS servers.

If you’re reading this post then you probably know a thing or two about web hosting.

For those who don’t, Webmin and Virtualmin are open source tools that allows anyone be a web host provider.

These tools take the complexity out of managing Linux servers. Instead of managing each individual server and service, Webmin and Virtualmin provide a simple web interface to help manage and provision a virtual web host, manage domains email server, databases and more.

For more about Webmin, check out its homepage.

To get started installing Webmin and Virtualmin, follow the steps below:

Step 1: Install Webmin

Since Webmin is the main system configuration tool, you should install it first before Virtualmin.. run the commands below to install required packages.

sudo apt update
sudo apt install python apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl curl

After that, run the commands below to download Webmin deb package.

cd /tmp && curl -L -O http://www.webmin.com/download/deb/webmin-current.deb

Finally, install Webmin

sudo apt install ./webmin-current.deb

That should install Webmin..

Step 2: Accessing Webmin

Now that Webmin is installed, you can access the interface by opening your web browser and browsing the the server hostname or IP address followed by port 10000.

https://localhost:10000

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 Webmin default configuration file.

sudo nano /etc/webmin/miniserv.conf

Then adding a new line to allow a specific IP or subnet.

allow=192.168.X.X

Save the file… you should be able to access Webmin

webmin ubuntu install

Step 3: Installing Virtualmin

Before installing Virtualmin, understand that it only support Ubuntu LTS versions. Non-LTS version will fail to install it.

Also, at the time of this writing, only Ubuntu 18.04 | 16.04 are supported. Support for 20.04 is being worked on.

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 Virtualmin script.

curl -O http://software.virtualmin.com/gpl/scripts/install.sh

Then make the script executable

sudo chmod +x install.sh

Finally, run the commands below to install Virtualmin

sudo ./install.sh

Accept the default setting and install.

When that’s done, you should have Virtualmin module enabled for Webmin and begin configuring your systems.

ubuntu virtualmin webmin

That should do it.

Conclusion:

This post showed you how to install Webmin and Virtualmin on Ubuntu 18.04 | 20.04. If you find any error above, please use the comment form below to report.

Thanks,

You may also like the post below:

6 thoughts on “Install Webmin | Virtualmin on Ubuntu 20.04 | 18.04

  1. In title you have this : Install Webmin | Virtualmin on Ubuntu 20.04 | 18.04
    So i understand is posible to install on Ubuntu 20.

    Also, at the time of this writing, only Ubuntu 18.04 | 16.04 are supported. Support for 20.04 is being worked on.

    FUCK YOU, YOUR FAMILY and any other loved ppl in your around for this clickbyte! I hope you are dead now! If not nof tomorow!

    1. “This brief tutorial shows students and new users how to install Webmin and Virtualmin on Ubuntu 18.04 | 20.04 LTS servers.” . It is what it states in the heading. Not only you, anyone who reads English will understand what it says: 20.04 LTS, apart from other sexual considerations, which may not be relevant

      1. well said, and thank you for taking the time to help others with this tutorial, its people like yourself posativly contributing that are valued highly by the community

    2. My grandma always taught me that, if you don’t have anything good to say about something or someone, don’t speak at all. But what to expect about mediocre people, who don’t know anything and don’t do anything behind being macho-man behind a keyboard… Typical millenials…

    1. This is true, you can install webmin, but virtualmin is still not ready. I’m having to re-install Ubuntu 18 to proceed.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.