Webmin is an open source, web-based control panel used for system administration for Linux machines. It takes away the complexity of managing your servers and allows you to perform common tasks such as managing users, groups, software packages and easily configure common packages, web servers and databases.

It’s lightweight, easy to install, and a great way for beginners who are not yet comfortable with the command line to get acquainted with managing Linux systems.

Virtualmin is a plugin for Webmin that allows you to manage virtual hosts through one interface. You can see it as a free alternative to cPanel or Plesk. With Virtualmin you can manage users, Apache virtual hosts, DNS, mailboxes, BIND DNS and more, on your host.

In this tutorial we’ll install Webmin and Virtualmin on an Ubuntu 18.04 VPS.

How to Install Webmin on Ubuntu 18.04

First we update our system and install some dependencies.

Next, import the Webmin GPG key using wget.

Enable the Webmin repository.

Install the latest version of Webmin.

Once Webmin has been installed you should see the following output:

You can now visit https://your_server_ip_or_domain:10000/ in your browser to continue the installation via the web interface. For example, in my case, I’ll visit https://dracula.host:10000 in my browser.

You’ll notice that your browser is warning you that the connection is insecure. This is OK. It’s happening because Webmin uses an untrusted self-signed certificate.

Webmin Connection Not Secure

If you’re using Chrome, just click Advanced and then click Proceed [..]

webmin_onnection_not_secure_proceed

At the login screen you can log into Webmin by using your root or sudo user credentials.

webmin_login_screen

After you’ve logged in you should see the Webmin dashboard from where you can explore, configure and manage what you need.

webmin_installed

Congratulations! You’ve successfully installed Webmin on your Ubuntu 18.04 machine. Since we don’t cover use cases for Webmin, we suggest you check out the official Webmin documentation to learn about specific tasks.

To view the entire installation process via command line, please check the following video:

Install Webmin on Ubuntu 18.04

How to Install Virtualmin on Ubuntu 18.04

Now that we’ve got Webmin installed, we can proceed with installing Virtualmin on our Ubuntu machine. It will enable you to manage DNS, user accounts and Apache2 virtual hosts.

IMPORTANT: Virtualmin only supports Ubuntu LTS Versions. If you’re not running one of those versions, then Virtualmin will fail to install.

First, let’s install curl in case it’s not already installed:

Now download the Virtualmin install script.

Make it an executable.

And run it to install Virtualmin.

Accept the default settings and let it install. The installation may take a while.

When the installation is done, in your Webmin dashboard, you’ll be greeted by the Virtualmin Post-Installation Wizard which will guide you to choose your preferred initial configuration.

webmin_virtualmin_post_installation_wizard

To check out the full installation process via command line, then you can view it in the following video:

Install Virtualmin with Webmin on Ubuntu 18.04.cast

If you’ve encountered any issues with this tutorial then please let us know via the comments or by contacting us and well get back to you as soon as possible.

Be sure to check out our $5 KVM SSD Linux plans if you’re interested in higher performance VPS Servers and budget prices. Our offer starts at 2GB RAM & 10GB SSD at only $5/mo.


Vlad

Tech Support