Install Webmin on CentOS 5.X

Written by admin on June 24th, 2011. Posted in Tutorials

For today’s tutorial, we’ll be showing you how to install Webmin on CentOS 5.X using several methods.

Install Webmin Using RPM

First download the webmin RPM file:

wget http://prdownloads.sourceforge.net/webadmin/webmin-1.580-1.noarch.rpm

Then run the command:

rpm -U webmin-1.580-1.noarch.rpm

You are pretty much done at this point. The installer will take care of the rest. To log into webmin, type the following in the address bar:

http://localhost:10000/

If accessing it remotely, localhost would be replaced with your server’s IP address or FQDN (domain name). The username will be root, and the password will be the password to the current root password.

Install Webmin Using YUM

This is our preferred method of installing Webmin because of how easy it is to keep it updated.

First create a new file:

/etc/yum.repos.d/webmin.repo

containing the following:

[Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1

Install the GPG key:

rpm --import http://www.webmin.com/jcameron-key.asc

Almost done. Just one command left:

yum install webmin

It might take a little longer to install compared to the RPM version, but it is now quite easier to update, just run a quick yum update, and you’ll be set.

Leave a comment