Fedora 28: Install Webmin for web base system admin tool

This article will describe installing Webmin which is a web base system administrator tool.

1 Install Webmin

Add Webmin repository.

$ cat <<EOF | sudo tee /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
EOF
$ wget -q http://www.webmin.com/jcameron-key.asc
$ sudo rpm --import jcameron-key.asc

Install Webmin.

$ sudo dnf install -y webmin
$ sudo systemctl enable webmin

Open 10000/tcp.

$ sudo firewall-cmd --add-port=10000/tcp --permanent
$ sudo firewall-cmd --reload

Set root password.

$ WEBMIN_PASSWD=webmin
$ sudo /usr/libexec/webmin/changepass.pl /etc/webmin root ${WEBMIN_PASSWD}

Reboot machine.

$ sudo reboot

1.1 Change port

Change "port" and "listen" in /etc/webmin/miniserv.conf. Run "sudo systemctl restart webmin".

$ sudo sed -e 's/^port=.*/port=10002/g' \
-e 's/^listen=.*/listen=10002/g' -i /etc/webmin/miniserv.conf
$ sudo systemctl restart webmin

2 Access to Webmin

Access to 10000/tcp via https.

https://<server>:10000

Login with root user and WEBMIN_PASSWD password.

0001_Webmin.png