What is Virtualmin & Webmin. How to Install Virtualmin?

In this article, we will be discussing What is Virtualmin & Webmin. How to install Virtualmin?

Webmin

Webmin is the popular web-based systems management UI for Linux, Unix, MacOS systems, Webmin makes management and delegation of most common system administration tasks available in a friendly web-based UI. Webmin manages users and groups, databases, BIND, Apache, Postfix, Sendmail, QMail, backups, firewalls, monitoring, and alerts, etc.

Virtualmin

Virtualmin is a web hosting control panel, designed to make it easy to manage websites, mailbox users, databases, and web applications. Installing Virtualmin provides a full-featured web hosting stack with web, email, databases, spam and antivirus filtering, analytics, etc.

 

Prerequisite
Automated installation requires a freshly installed OS.

Minimum 1GB RAM and more is better.

Minimum 1GB Free Disk Space.

Should have Root access or can use Sudo.

 

Configure Hostname
1) Confirm that your VPS server has a fully qualified domain name set as the hostname.

Configure hostname with the help of this command:

# hostnamectl set-hostname FQDN


2) Let’s start with the installation. First of all, log in to your Linux server as user root.

Before proceeding any further, start a screen session using this command:

# screen -R

Note: If this command does not work then Install screen using this command:

On RPM based systems use this command

# yum install screen

On Debian based systems use the following command

# apt-get install screen


3) Now, we need to update the system. It is very important for all packages to be up to date because many packages in Virtualmin depend on the OS packages.

On RPM based systems you can upgrade the packages using the command:

# yum -y update

On Debian based systems use the following command:

# apt-get update


4) Go to Virtualmin’s official website and download the install script.

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

Note: If this command not works then Install wget using this commands:

On RPM based systems you can upgrade the packages using the command:

# yum -y install wget

On Debian based systems use the following command:

# apt-get install wget


5) Make the script executable

# chmod +x install.sh


6) And run the installer

# ./install.sh

 

The install.sh has a number of options that can be used to perform a particular type of installation. The usage (–help) output describes the available options:

–uninstall|-u – Removes all Virtualmin packages (do not use on a production system)

–help|-h – This message

–force|-f – Skip confirmation message

–hostname|-h – Set fully qualified hostname

–verbose|-v – Verbose

–setup|-s – Setup software repositories and exit (no installation or configuration)

–minimal|-m – Install a smaller subset of packages for low-memory/low-resource systems

–bundle|-b <name> – Choose bundle to install (LAMP or LEMP, defaults to LAMP)

 

LAMP vs. LEMP

The Virtualmin install script can setup Apache or Nginx. The default, and best-tested and most feature-complete, is Apache. But, if you prefer Nginx, you can install a bundle with the LEMP stack instead of the LAMP stack. Use the –bundle LEMP option for Nginx.

 

Once the installation is completed navigate your web browser to https://youriPaddress:1000 to open the control panel. Log in using the root user to finish the post-installation setup wizard.

Settings root password

To access Virtualmin from the browser, we need to set root password for that you can use the following command:

If you are log in with root user simply type,

# passwd

It will ask for the new password.

If you are log in with other user use sudo,

$ sudo passwd root

It will ask for the new password.

 

CONCLUSION

In this post, you will able to learn how to install Virtualmin and what is the difference between Webmin and Virtualmin.

Learn how to scale, manage, and optimize your applications with a SLB. Read our solution brief "Get More from Your Enterprise Network".

DOWNLOAD SOLUTION BRIEF

Get started with CloudMinister Today