Configure the Webmin repository and install
Webmin is not available via yum in the default CentOS repository. Follow these steps to add the Webmin repository (repo) from Webmin.com.
- Create and edit the repository file # nano /etc/yum.repos.d/webmin.repo
- Add the [Webmin] section (listed below) to the new repository file
- Save the new file
- Import the public key: # rpm --import http://www.webmin.com/jcameron-key.asc
- Install webmin: # yum install webmin
If your server is protected by a firewall, you won't be able to access Webmin until you open port 10000. Use these steps on CentOS
- Backup the current firewall settings: # cp /etc/sysconfig/iptables /etc/sysconfig/iptables.bak
- Install the Red Hat firewall configuration tool # yum install system-config-securitylevel
- Run the firewall tool: system-config-securitylevel
- Select _Security Level:_ *Enabled*
- Click [Customize]
- Check incoming ports to allow (probably SSH, WWW, Secure WWW, and FTP)
- _Other Ports_ 10000:tcp
- Click [OK]
Test Webmin
Now that you've installed Webmin and opened the Webmin port, test it out. Open your favorite brower and type your server's IP address followed by :10000, like this:
168.192.1.1:10000
The Webmin login screen should appear. Log in with your root credentials. It's a good idea to set up another Webmin user so you don't have to use your root credentials
Webmin repo section
[Webmin]
name=Webmin Distribution Neutral
baseurl=http://download.webmin.com/download/yum
enabled=1
To enable ssl / https for webmin follow this post
No comments:
Post a Comment