Grid Guides

Explore How System On Grid Can Work For You

How to Install Webmin and Virtualmin


Introduction

This is a guide on how to install Webmin and Virtualmin on your orbit. Webmin is a web-based interface for system administration for Unix while Virtualmin is a domain hosting and website control panel, which gives the ability to create and manage many domains.

  • Running Orbit with Ubuntu 16.04 LTS

Installing Webmin

  1. Before installing Webmin, we need to install some required packages. Run the following and wait for it to finish installing

    sudo apt install python apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl
  2. Now we can download and install Webmin. The first command will download the installation package and the second will install it.

    cd /tmp && curl -L -O http://www.webmin.com/download/deb/webmin-current.deb
    sudo dpkg -i webmin-current.deb
    Webmin Download Webmin Install
  3. Once Webmin is installed you can access it by the following:

    https://serverip:10000
    Example: htttps://38.76.11.243:10000

    You may get a danger page display like the following. Just press Advanced in the bottom left hand corner and then proceed

    Webmin SSL Webmin Confirm

    Once you've done that, you will see the following login page. Use the same login information you would use to ssh into your orbit.

    Webmin Login

Installing Virtualmin

  1. Virtualmin's installation is pretty simple as well. First we need to download the file by doing the following.

    curl -O http://software.virtualmin.com/gpl/scripts/install.sh
    Virtualmin Download
  2. We then make it executable and run the file with these next two commands.

    sudo chmod +x install.sh
    sudo ./install.sh

    You will see an introduction to the script like the image below. Type 'y' and enter to begin installation.

    Virtualmin Install
  3. The only input you need to give to the script is your domain name like the image below. The script will then take care of the rest.
    NOTE: The script will generate a SSL certificate based on the domain specified.

    Virtualmin Host
  4. Once everything is done installing, you will see the following message which means that your installation has been successful. Your URL will be different based on the domain you provided.

    Virtualmin Done

Post-Installation Configuration

  1. Once you login you will be presented with a window like the following for some post installation configurations. Set them to your personal preferences.

    Virtualmin Post Install
  2. Once everything is configured you will see the following screen.

    Virtualmin Post Done
  3. All that's left to perform is a configuration check. We can do so by navigating from the sidebar on the left and going to 'Re-Check Configuration'.

    Virtualmin Sidebar
  4. If you set up everything properly you will see the following window that says 'your system is ready for use with Virtualmin'.

    Virtualmin Ready

Creating a Virtual Server

  1. Creating a virtual server is simple. First select 'Create Virtual Server' from the sidebar.

    Virtualmin Sidebar Create
  2. Then setup the server to your personal preferences. In this example we will set the domain name and admin password to 'test'. Once your done, press 'Create Server'

    Virtualmin Create
  3. After everything is done being setup, you will be presented with a details page of your virtual server like the following.

    Virtualmin Details
  4. Using the IP, domain name and password, you should now be able to connect to your server like the example below.

    Virtualmin SSH