19.關機、重啓命令臨時、永久關閉防火牆
關機命令:
shutdown -h now
halt
init 0
重啓命令
reboot
shutdown -r now
init 6
臨時關閉防火牆
[root@gaojing ~]# /etc/init.d/iptables stop
查看防火牆狀態
[root@gaojing ~]# /etc/init.d/iptables status
永久關閉防火牆,開機也不開啓
[root@gaojing ~]# chkconfig iptables off
在企業環境中只有在配置外網IP的服務器上才需要開啓防火牆,即使有外網IP但是有高併發和高流量的業務也不能開啓防火牆,開啓後可能導致訪問訪問速度很慢,這樣只能在前端加更好的硬件防火牆了。
shutdown -h now
halt
init 0
重啓命令
reboot
shutdown -r now
init 6
臨時關閉防火牆
[root@gaojing ~]# /etc/init.d/iptables stop
查看防火牆狀態
[root@gaojing ~]# /etc/init.d/iptables status
永久關閉防火牆,開機也不開啓
[root@gaojing ~]# chkconfig iptables off
在企業環境中只有在配置外網IP的服務器上才需要開啓防火牆,即使有外網IP但是有高併發和高流量的業務也不能開啓防火牆,開啓後可能導致訪問訪問速度很慢,這樣只能在前端加更好的硬件防火牆了。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
使用Certbot工具從Let’s Encrypt獲取免費SSL證書
刘李404not found
2020-07-08 11:19:49
centos7安裝php的zip擴展
爱代码也爱家庭
2020-07-08 09:03:04
Linux開發免費資源下載
奔跑的码仔
2020-07-08 07:23:31
Linux之磁盤管理及文件系統管理
@shitouji
2020-07-07 14:13:35
Linux文件簡單說明
@shitouji
2020-07-07 14:13:35
shift和getopts命令
@shitouji
2020-07-07 14:13:35
iptables基礎詳細說明
@shitouji
2020-07-07 14:13:24
mysql基礎常用命令
@shitouji
2020-07-07 14:13:23
使用SecureCRT設置linux系統登錄的ssh公鑰認證
@shitouji
2020-07-07 14:13:23
AWK命令----三劍客之一
@shitouji
2020-07-07 14:13:23
nginx基礎及應用
@shitouji
2020-07-07 14:13:23
CentOS安裝Tomcat圖文詳解
喵了个咪哟
2020-07-07 11:56:36
一文徹底搞懂MongoDB安裝使用與備份,圖文詳解
喵了个咪哟
2020-07-07 11:56:36
VMware上安裝CentOS8圖文詳解
喵了个咪哟
2020-07-07 11:56:36