CentOS7 installs Webmin control panel and CentOS7 firewalld firewall settings

888u

Last update at :2024-06-15,Edit by888u

Webmin is a relatively well-known free open source, especially a very powerful WEB-based Unix system management tool. WebMin currently supports most Unix systems, including AIX, HPUX, Solaris, Unixware, Irix and FreeBSD systems that we do not commonly use. After installing the Wenmin tool, we can manage most of the server's functions online.

At the same time, we VPS users may be familiar with the commonly used Virtualmin/Webmin panels in the past. In fact, the two are related. Virtualmin is a component module of the WebMin panel and is used to manage server-side users, DNS, and systems. configuration, and Webmin is used to manage users. It just so happened that a friend needed to install Webmin in CentOS7 system this morning, so why not record the entire installation process.

First, add the Webmin data source file

vi /etc/yum.repos.d/webmin.repo

Create a new webmin.repo file

[Webmin]name=Webmin Distribution Neutralmirrorlist=http://download.webmin.com/download/yum/mirrorlistenabled=1

Enter the above script source, then save and exit.

Second, download the key execution configuration

wget http://www.webmin.com/jcameron-key.asc

rpm –import jcameron-key.asc

Third, install WebMin

yum -y install webmin

The installation speed is relatively fast, we just need to wait for execution.

Fourth, restart and boot

/etc/init.d/webmin start

chkconfig webmin on

Restart the WEBMIN panel and boot settings.

At this time, our Webmin panel has been installed, and we can log in using "http://ip address:10000". The username is root and the password is our root password.

Fifth, firewalld firewall settings

If we enable the firewall, the 10000 port above needs to be set. If we turn off the firewall, there will be no such problem. Because in CentOS7, firewalld has been used to replace our commonly used iptables, but we also want to use the rules defined by iptables, we can install iptables-services and then disable firewalld.

yum install -y iptables-services

Install iptables-services

systemctl mask firewalld

Disable firewalld

systemctl enable iptablessystemctl enable ip6tables

Start iptables

systemctl stop firewalld

Pause firewalld

systemctl start iptablessystemctl start ip6tables

Enable iptables

From now on, we can configure iptables rules.

Recommended site searches: website registration information inquiry, windows virtual host, Hong Kong server, Tianjin virtual host, how to build a server, mainland China domain name registration, top ten foreign free servers, station group server rental, US host purchase, registration network,

CentOS7 installs Webmin control panel and CentOS7 firewalld firewall settings

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码