CentOS - Webmin 1.470
This tutorial will walk you through the installation of Webmin 1.470 on a CentOS server. This tutorial assumes you have gone through the CentOS - Setup article.
Before you can install Webmin, you'll need to set up your repositories to pull the Webmin package via yum. To do this, we need to create a file in the /etc/yum.repos.d/ directory.
sudo nano /etc/yum.repos.d/webmin.repo
In this file, place the following:
[Webmin] name=Webmin Distribution Neutral baseurl=http://download.webmin.com/download/yum enabled=1
Save and close the file.
You'll also want to import the GPG key for the repository.
sudo rpm --import http://www.webmin.com/jcameron-key.asc
Now the repository is configured!
Now that we have the software downloaded we need to install a few pre-requisites before installation. Type the following command below to install the required modules:
sudo yum -y install perl-Net-SSLeay
Note: It *is* case sensitive!
Now it is time to install the Webmin package. To do so, use the command below:
sudo yum install webmin
Once the installation has completed you should get the following message:
Webmin install complete. You can now login to https://server:10000/ as root with your root password.
Modify the firewall
If you try to go there now, however, you won't be able to reach it, since your firewall is blocking the connection to port 10000. To fix this, edit the iptables file:
sudo nano /etc/sysconfig/iptables
After your port 22 line, add the following:
-I INPUT -p tcp --dport 10000 -j ACCEPT
Save the file, then reload iptables.
sudo service iptables restart
You are now ready to log into your Webmin console. To do this point your web browser to https://220.127.116.11:10000/ where you will be prompted with a login screen (be sure to change 18.104.22.168 to your server's IP). On your first login use the username root and type in your root password.
Carry on the conversation in the Rackspace Community.
© 2015 Rackspace US, Inc.
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License
See license specifics and DISCLAIMER