Please come back for more

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 :
    [Webmin]
    name=Webmin Distribution Neutral
    #baseurl=http://download.webmin.com/download/yum
    mirrorlist=http://download.webmin.com/download/yum/mirrorlist
    enabled=1
  4. Install webmin GPG key : # wget http://www.webmin.com/jcameron-key.asc      #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 http://download.webmin.com/download/yum/webmin-1.844-1.noarch.rpm
  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

Leave a Reply

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