Tuesday 4 February 2020

Download and Install Virtualmin/Webmin on centos/ubuntu

I am writing this blog as virtualmin/webmin is now being popular to manage Ubuntu and CentOS easily for normal users.
Virtualmin with webmin provides comprehensive command line interface, full API, sysadmin-friendly defaults, auditing, unmatched security features, Virtualmin is built on top of, and integrated with, Webmin. Webmin is the world's most popular Linux/UNIX systems management UI.
There are dozens of options for choosing how the new user interface behaves, allowing you to more thoroughly customize your experience and that of your users.

Lets we start the virtualmin installation now

All we need to have a freshly (highly recommended) installed Linux box installed with OS supported by virtualmin as mentioned below.

CentOS/RHEL 6 and 7 on i386 and x86_64
Debian 9 and 10 on i386 and amd64
Ubuntu 16.04 LTS and 18.04 LTS on i386 and amd64 (non-LTS releases are not supported)
ref : https://www.virtualmin.com/os-support.html
Now install wget if not available in your Linux OS.
For Ubuntu
$sudo apt install wget


For CentOS
$sudo yum install wget

Now we need to download script to start virtualmin installation.
wget http://software.virtualmin.com/gpl/scripts/install.sh
Its time to start installation now. Execute below command to run downloaded script.
sudo /bin/sh install.sh
The install script may ask you some questions. If your system does not have a fully qualified hostname, the script will ask you to provide one. Or, if your system doesn't have enough memory for the installation type you've chosen, it'll offer to create a swap file.

Now you can login to your virtualmin control panel with https://hostname-or ip:10000/.

e.g, https://localhost:10000/

No comments:

Could not start a new session. Response code 500. Message: Failed to read marionette port

There is bug in firefox binary installed using apt/snap, I faced same issue when I installed firefox from apt package respository. I solved ...