How to install Webmin on CentOS 7
The easiest way is to install Webmin with YUM:
- login as root
- Add repository : #nano /etc/yum.repos.d/webmin.repo
- 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
- Install webmin GPG key : #
wget http://www.webmin.com/jcameron-key.asc #rpm --import jcameron-key.asc
- Install Webmin : #yum install webmin -y then add support : #yum install perl-Digest-MD5
- Another way is to just download the rpm, for example : wget http://download.webmin.com/download/yum/webmin-1.844-1.noarch.rpm
- 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
- Start the service and make it start automatically :
#chkconfig webmin on #service webmin start
- 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
[…] and that he have full permission to the database, IF not just create the user with WEBMIN on mysql […]