How to Install Webmin on CentOS 7
Webmin is a web-based interface for system administration for Unix and Linux based systems. The recent versions of Webmin can also be installed and run on Windows systems. It is one of the most popular hosting open source control panels and the bugs reported in previous versions are fixed in new releases. Here, I am going to show you how to install Webmin on a Linux CentOS 7 VPS. Please note that you need to have root level access to the VPS to perform the below steps.
Update the system
Connect to your VPS via SSH and run the following command to update all the currently installed software to the latest version.
# yum -y update
You need to make sure that all dependencies are installed on your VPS to avoid complications during Webmin installation. Use the following command to install all required dependencies:
# yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty
Download and Install the RPM version
You can use “wget” command to download the RPM package for Webmin. The Webmin RPM package is suitable for any systems running on Red Hat, Fedora or CentOS.
# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.831-1.noarch.rpm
Once the package is downloaded you can install Webmin using the following command:
# rpm -U webmin-1.831-1.noarch.rpm
Install Webmin using YUM repository
You can also install Webmin by using official YUM repository. You have to create a “webmin.repo” file first :
Then add the following contents to webmin.repo file and save it :
name=Webmin Distribution Neutral
You need to download and install the GPG key which is used to sign the Webmin packages:
# wget http://www.webmin.com/jcameron-key.asc
# rpm –import jcameron-key.asc
After completing the above steps you can now run the following command to install Webmin and all required dependencies:
# yum install webmin -y
Enable service on system boot
You can use the following command to start Webmin service.
# service webmin start
Use the following command to enable Webmin on system boot.
# chkconfig webmin on
Webmin Control Panel
The server port number 10000 is reserved for Webmin and you can access Webmin using your favorite web browser and enter the IP address of your server and port number as follows:
Replace “yourIPaddress” with your server IP address.
If you have any issue please write us firstname.lastname@example.org