How to Install Webmin on CentOS/Redhat 5/6/7 using yum
Webmin is an open source web based system configuration application for Linux system administrator. It is using to manage service like User administration, Disk managemet, Network, Iptables ( Firewall ), Cron, Apache, DNS, File sharing and substantially more .Webmin applications is taking into account Perl module and it uses TCP port 10000 with OpenSSL library for communicating via browser.
In this article, we can see about how to install webmin on CentOS
Step 1: Webmin YUM repository
If you like to install and update Webmin using yum, create the webmin repository. We can check repository using following command:
# yum repolist
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.nbrc.ac.in * epel: mirrors.hustunique.com * extras: mirror.nbrc.ac.in * rpmforge: kartolo.sby.datautama.net.id * updates: mirror.nbrc.ac.in repo id repo name status Webmin Webmin Distribution Neutral 217 atrpms Fedora Core 6 - x86_64 - ATrpms 2,755 base CentOS-6 - Base 6,518 epel Extra Packages for Enterprise Linux 6 - x86_64 11,632 extras CentOS-6 - Extras 38 rpmforge RHEL 6 - RPMforge.net - dag 4,718 repolist: 25,878
How to configure webmin repository on CentOS/RHEL
Step 2: Install Dependencies
Install the dependencies using following command:
# yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty
Step 3: Install Webmin
Presently we can ready to install it using yum command. It will automatically install all required dependencies.
# yum -y install webmin
Step 4: Open Port
Of course Webmin keeps running on port 10000, so we have to open port on our firewall to get to it. The easiest way to open the port on firewall is using iptables rules.
CentOS/RHEL 5/6
# iptables -A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT # service iptables save # /etc/init.d/iptables restart
CentOS/RHEL 7
# firewall-cmd --add-port=10000/tcp # firewall-cmd --reload
Step 5: Start Webmin
Run the following commands to start the webmin service and make it start automatically
CentOS/RHEL 5/6
# chkconfig webmin on # /etc/init.d/webmin start
CentOS/RHEL 7
# systemctl enable webmin # systemctl start webmin
Step 6: Access Webmin
Presently we should ready to get to and login to Webmin using URL localhost or IP and enter the username as root and password (current root secret word), for remote get to simply access localhost with your remote IP address.
# http://localhost:10000/ or # http://server-IP:10000/
Change/Reset Webmin root Password
Change webmin root account password use following command:
# /usr/libexec/webmin/changepass.pl /etc/webmin root secretaccess
Reference Articles:
How to Install Webmin on CentOS/Redhat 5/6/7
How to Install Webmin on CentOS/Redhat 5/6/7
Fuck post copy and paste.
Centos 6 has not perl-Net-SSLeay perl-IO-Tty rpm packges in officila repos.
I think you didn’t notice that in the article I have pasted the repo list also and in that repo list, I have an epel repository also and perl-Net-SSLeay perl-IO-Tty packages is installing through epel repo. Also, an article I didn’t mention that all the packages are in official repo.