How to Install Webmin – RPM Method

Install Webmin and Virtual Min on your machine

Install Webmin and Virtual Min on your machine

Webmin is an alternative hosting free control panel which function like CPanel. Webmin provides easy to use interface for managing your Unix/Linux system and provides a nice option to setup user accounts, Apache, DNS, file sharing and much more. This Article will guide you on how to install webmin as your main control panel.

Download Required Package

Like all packages and programs in your Linux/Unix box, Webmin also have a required package and that is the handy dandy Perl module. You may be surprised when you see an error package telling that Webmin can’t find a PERL module when you are trying to install it. The missing PERL module is PERL:SSLeay

We can easily fix the problem by installing perl-Net-SSLeay package via yum.  Yum is my preferred way of installing modules since this hand application will install all required modules for you.

Download Webmin RPM

Before we proceed, we first need to download the RPM file. RPM stands for “Red Hat Package Manager” which is the default open source and most popular package management utility for Red Hat based systems like (RHEL, CentOS and Fedora). The tool allows system administrators and users to install, update, uninstall, query, verify and manage system software packages in Unix/Linux operating systems.

What we have instructed our server is change directory to opt in the main folder, download the jcameron key (we need this later) which is the public encrpytion key. We then instructed our server to download the latest RPM file.

Install Webmin Using RPM Command

We are now ready to install/update webmin using RPM approach but before we move on, we should load up the PGP key that we have downloaded earlier.

Finally we issue an upgrade command which will check for any installed version of webmin and automatically remove them and install our new version.

RPM parameter decoded

  • i – install (This installs a new package)
  • v – verbose (using or expressed in more words than are needed)
  • h – hash (Print 50 hash marks as the package archive is unpacked)
  • u – upgrade (This upgrades or installs the package currently installed to a newer version. This is the same as install, except all other version(s) of the package are removed after the new package is installed)

Accessing Webmin

Webmin’s default port is 10000 and usually runs on HTTPS mode only

Make sure to open Port 10000 on your firewall or temporarily disable your firewall

Change Webmin Root Password

You can easily change your root password for webmin without affecting your root account password.


 

Linking CSF/LFD to Webmin

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: