How to Install Virtualmin on CentOS 7/ RHEL 7

Virtualmin being installed

Virtualmin being installed, you are given a notice on the supported OS

Virtualmin is an advance, powerfull and flexible web hosting control panel  for your Linux and UNIX system. It is the virtual host magement module of the well-known Open Source web-based server management system Webmin. With virtualmin, you can manage multiple virtual hosts, multiple virtual domains, mailboxes, database, applications and other stuff from its comprehensive and friendly web interface.

Virtualmin is a comprehensive and excellent replacement for your cPanel and Plesk control panels . Virtualmin offersr the same features that you can find from the two mentioned control panels such as account creation, domain management, dns management, MySQL management and much more. Virtualmin also offers a control panel for non-root users for management of their hosting account.

I am assuming that you have already done the basics steps for your new server.

 


Preparations

Clean yum cache packages and cache headers. This will prevent potential errors due to caching.

Update yum packages as a good practice

Downloading the Script Installer

I always stress the importance of the tmp folder, you can also use the opt folder if you plan to keep the source files.  After changing directory, we will instruct our machine to download the installer script.

Download and install Perl

The script acts as a batch file in windows, the yum downloads are already included however, you may encounter errors specifically a missing Perl module error since the scripts needs Perl to run.

We can easily download the missing Perl using our trusty yum command.

Install Procedure

We are going to run a schell script that we have downloaded from the makers of webmin/virtualmin. Our downloaded script is not yet shell executable and requires a quick command to change the scripts’ security settings into an executable file and finally run it.

Installation is fully automated and you will be first prompted about the list of the supported OS for this installer. In case your OS is not listed, kindly stop the installation by answering a “no” on the question and contact the developers. http://www.virtualmin.com/os-support.html

Once complete, your virtualmin panel is accesable on port 10000 (ex https://12.34.56.78:10000/)


 

Linking CSF/LFD to Virtualmin

If you have installed CSF / LFD, you can add the user interface to manage this module inside webmin/virtualmin.

Webmin / Virtualmin login

Webmin / Virtualmin login

Openup Webmin Configuration and then locate “Webmin Modules”.

Webmin Configuration

Webmin Configuration

Assuming you have already installed CSF using this guide, we just need to install from local file. the file we need to load is located at /etc/csf/csfwebmin.tgz

Webmin Installing a New Module

Webmin Installing a New Module

After adding CSF as a new module, a new link named “ConfigServer Security and Firewall” will appear under System menu in our webmin. This will load up ConfigServers control panel.

Webmin with a running CSF firewall

Webmin with a running CSF firewall

Enjoy!

coderinthebox

The TechnoJunkie of the group who studied engineering but got stuck with software development. Remember kids, 90% of your problems can be solved by marketing. Solving the other 10% just requires good procrastination skills.

You may also like...

Leave a Reply

%d bloggers like this: