How to install Virtualmin in webmin

 

Steps for Installing Virtualmin on Webmin (Ubuntu):

 

  • Setting the hostname and FQDN

For Virtualmin to work properly, you need to configure the hostname and FQDN on the server itself by editing the /etc/hostname and /etc/hosts files, as well as update your DNS settings so DNS lookups resolve properly.

 

First, log in to your server as your non-root user. Once you have logged in, update the package database:

            # sudo apt-get update

Then install any necessary updates and packages to ensure you start with a stable and up-to-date system.

            # sudo apt-get dist-upgrade –y

Next, change the hostname to match the FQDN you’ve pointed to the server in the prerequisites.

To check the current server hostname, run this command:

             # hostname –f

To change the hostname of the server

            # nano /etc/homename

Use just the hostname, not the entire FQDN, in this file. For example, if your FQDN is virtualmin.example.com, enter Virtualmin in this file.

Save the file and exit the editor.

Next, add both the hostname and FQDN in the /etc/hosts file:

          # sudo nano /etc/hosts

Modify the line that starts with 127.0.0.1 to use your FQDN and hostname

Remember to replace your hostname and your_domain.com with your own hostname and domain name. Save the file and exit the editor.

To check if the name has been changed correctly, restart the server

         # sudo reboot

Next, edit the network configuration file so that it uses this server as one of the DNS servers to resolve domain names. Open the configuration file:

        # sudo nano /etc/network/interface.d/50-cloud-init.cfg

Look for dns-nameservers 8.8.8.8 8.8.4.4 – change it to 8.8.8.8 8.8.4.4 127.0.01 – save and exit editor

 

----------------------------------------------------------------------------------------------------------------------

 

  • Installing Virtualmin in Centos

 

To install Virtualmin, download and run the official Virtualmin installation scripts

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

Once the download get completed install command

      # sudo /bin/sh ./install.sh

The script will display a warning message about existing data and compatible operating systems. Press y to confirm that you want to continue the installation.

The script will take some time to complete all the steps as it installs various software packages and components.

Once the script completes, you can configure the root password.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to add IP Address to servers

1.Login to the server via RDP. 2.In the Run window type NCPA.CPL. 3.In the network properties...

How to configure IP's on Ubuntu 18?

To configure a static IP address on your Ubuntu 18.04 server you need to modify a relevant...

How to install Wordpress in webmin

  The following steps are followed for installing Wordpress in Webmin   Open File Manager in...

How to install Webmin in CentOs

  Installing webmin using YUM repository Create a .repo file using a command # nano...

How to Install Duplicati Client in Centos

Duplicati Installation in Centos :   As Duplicati depends on other software, we need to install...