There is talk of a security vulnerability. *보안에 취약하다는 얘기가 있음
1.As I said, if we like to receive future updates we need to add and enable Webmin repository,
do to this create a file called /etc/yum.repos.d/webmin.repo and add the following lines to it as a root user.
1 2 3 4 5 6 7 8 |
# vi /etc/yum.repos.d/webmin.repo [Webmin] name=Webmin Distribution Neutral #baseurl=http://download.webmin.com/download/yum mirrorlist=http://download.webmin.com/download/yum/mirrorlist enabled=1 |
2.Next, import and install GPG Key for installing signed packages for Webmin. We use Wget command to fetch
the key and then import it using rpm import command.
1 2 3 |
sudo rpm --import http://www.webmin.com/jcameron-key.asc |
3.Installing Webmin
1 2 3 |
# yum install webmin |
4.Starting Webmin
1 2 3 4 5 |
# systemctl start webmin # systemctl stop webmin # systemctl status webmin |
5.Accessing Webmin (firewall or iptables)
By default Webmin runs on port 10000, so we need to open port on our firewall to access it.
The easiest way to open the port on firewall is using iptables rules. Just add the following rule to your existing firewall.
In case iptables
1 2 3 |
# iptables -A INPUT -p tcp -m tcp –dport 10000 -j ACCEPT |
6.iptables restart
1 2 3 |
# systemctl restart iptables |
7.URL https://localhost:10000/
1 2 3 4 |
ERROR — DOCUMENT FOLLOWS This web server is running in SSL mode. Try the URL https://localhost.localdomain:10000/ instead. |
8.hosts file setting (Windows)
1 2 3 |
192.168.0.1 localhost.localdomain |
9.IP access (if you need)
1 2 3 4 5 |
# vi /etc/webmin/miniserv.conf allow=192.168.1.0/24 #add systemctl restart webmin |