欧美亚洲中文,在线国自产视频,欧洲一区在线观看视频,亚洲综合中文字幕在线观看

      1. <dfn id="rfwes"></dfn>
          <object id="rfwes"></object>
        1. 站長(zhǎng)資訊網(wǎng)
          最全最豐富的資訊網(wǎng)站

          centos如何關(guān)閉防火墻與端口

          centos如何關(guān)閉防火墻與端口

          關(guān)閉防火墻

          具體命令如下:

          ###關(guān)閉防火墻 systemctl stop firewalld.service  ###查看防火墻狀態(tài) [root@rocketmq-nameserverB ~]# firewall-cmd --state not running  ###禁止firewalld開(kāi)機(jī)啟動(dòng) systemctl disable firewalld.service

          關(guān)閉指定端口

          具體命令如下:

          查看防火墻狀態(tài),是否是running

          firewall-cmd --state

          關(guān)閉端口

          firewall-cmd --remove-port=80/tcp --permanent  ##永久移除80端口

          重載使剛才的端口設(shè)置生效

          firewall-cmd --reload

          推薦教程:centos教程

          贊(0)
          分享到: 更多 (0)
          網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)