How to install Webmin on CentOS 7

1. download installation file:
You can choose the version of Webmin at
If you want to install webmin-1.700-1.noarch.rpm,you can run command like this:
2. Installation:
Run rpm -ivh webmin-1.700-1.noarch.rpm to install webmin.
3. Reset the password of webmin:
Run /usr/libexec/webmin/ root password to reset the password of webmin.
root is the username of webmin, not the OS’s
password refers to the password of webmin
/etc/webmin is the directory contains all configuration files of webmin
4. Modify the port of webmin:the step is optional,usually do it for security
Run vi/etc/webmin/miniserv.conf to modify the port of webmin,save and exit.
5. Restart webmin:
You can stop webmin directly by running /etc/webmin/restart.
Or first stop and then start with the commands below:
6. Open port: (check the firewall you are using and choose the right way to open port)
Open port in FireWall:
firewall-cmd --zone=public --add-port=10000/tcp --permanent   (open the port 10000)
firewall-cmd --reload   (reload the configuration of FireWall)
firewall-cmd --zone=public --list-ports   (view all the opened ports)
Open port in iptables:
/sbin/iptables -I INPUT -p tcp --dport 10000 -j ACCEPT   (open port)
service iptables save   (save the changes)
service iptables restart   (restart iptables)
/sbin/iptables -L -n   (view all opened ports)
7.Log in to webmin:
Visit webmin at http://IP:port

Add Feedback