How to install Webmin on CentOS 7

The easiest way is to install Webmin with YUM:

  1. login as root
  2. Add repository : #nano /etc/yum.repos.d/webmin.repo
  3. paste this inside and save the file :
    name=Webmin Distribution Neutral
  4. Install webmin GPG key : # wget      #rpm --import jcameron-key.asc
  5. Install Webmin : #yum install webmin -y   then add support :  #yum install perl-Digest-MD5
  6. Another way is to just download the rpm, for example : wget
  7. then install optional dependencies with : yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty perl-Encode-Detect and then run the command : rpm -U webmin-1.844-1.noarch.rpm
  8. Start the service and make it start automatically :
    #chkconfig webmin on
    #service webmin start
  9. Linux firewall will block all ports by default, there for just add rule allowing port 10000 through :
#firewall-cmd --zone=public --add-port=10000/tcp --permanent

Reload firewall to apply settings :

#firewall-cmd --reload

Open a browser and enter URL : https://Your_Host_Name:10000, enter user: root  and the password .

Good Luck

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *