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
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
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
Once Webmin is installed you can access it by the following:
You may get a danger page display like the following. Just press Advanced in the bottom left hand corner and then proceed
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.
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
We then make it executable and run the file with these next two commands.
sudo chmod +x install.sh
You will see an introduction to the script like the image below. Type ‘y’ and enter to begin installation.
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.
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.
Once you login you will be presented with a window like the following for some post installation configurations. Set them to your personal preferences.
Once everything is configured you will see the following screen.
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’.
If you set up everything properly you will see the following window that says ‘your system is ready for use with Virtualmin’.
Creating a Virtual Server
Creating a virtual server is simple. First select ‘Create Virtual Server’ from the sidebar.
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’
After everything is done being setup, you will be presented with a details page of your virtual server like the following.
Using the IP, domain name and password, you should now be able to connect to your server like the example below.