Configure Webmin and Usermin on Linux
Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely
Usermin is a web-based interface for webmail, password changing, mail filters, fetchmail and much more. It is designed for use by regular non-root users on a Unix system, and limits them to tasks that they would be able to perform if logged in via SSH or at the console.
This example is based on OEL 7.
1) Install pre-req
wget http://public-yum.oracle.com/public-yum-ol7.repo
wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty perl-Encode-Detect
yum install pam-devel
yum install perl-Authen-PAM
2) Create a repository on server.
vi /etc/yum.repos.d/usermin.repo
[Usermin]
name=Usermin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1
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
3) Install GPG keys
wget https://download.webmin.com/jcameron-key.asc
rpm --import jcameron-key.asc
4) Install Webmin and Usermin
[root@funoel7 yum.repos.d]# yum install webmin
[root@funoel7 yum.repos.d]# yum install usermin
5)Configure to make sure webmin and usermin start at system reboot automatically.
chkconfig webmin on
chkconfig usermin on
6) Open the incoming connection to port:
20000 is default for usermin console
10000 is default for webmin console
iptables -I INPUT -p tcp --dport 20000 --syn -j ACCEPT
iptables -I INPUT -p tcp --dport 10000 --syn -j ACCEPT
service iptables save
systemctl enable --now webmin.socket
systemctl enable --now usermin.socket
7)Open Browser and try to URL
https://funoel7.lab:10000--Webmin
https://funoel7.lab:20000--Usermin
Post a Comment
Post a Comment