当前位置: 首页 > news >正文

做网站单页深圳住建局官网查询系统

做网站单页,深圳住建局官网查询系统,openshift 做网站,深圳网络搭建Linux防火墙主要用于控制网络流量,保护系统安全。在Linux中,有几种不同的防火墙管理工具,其中最常见的是iptables和firewalld。本章主要讲述如何关闭防火墙。 操作系统: CentOS Stream 9 操作步骤: 关闭防火墙&…

        Linux防火墙主要用于控制网络流量,保护系统安全。在Linux中,有几种不同的防火墙管理工具,其中最常见的是iptablesfirewalld。本章主要讲述如何关闭防火墙。

操作系统:

CentOS Stream 9

操作步骤:

关闭防火墙,selinux  ,22行    SELINUX=disabled   

​
[root@localhost ~]# cat -n /etc/sysconfig/selinux1	2	# This file controls the state of SELinux on the system.3	# SELINUX= can take one of these three values:4	#     enforcing - SELinux security policy is enforced.5	#     permissive - SELinux prints warnings instead of enforcing.6	#     disabled - No SELinux policy is loaded.7	# See also:8	# https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/using_selinux/changing-selinux-states-and-modes_using-selinux#changing-selinux-modes-at-boot-time_changing-selinux-states-and-modes9	#10	# NOTE: Up to RHEL 8 release included, SELINUX=disabled would also11	# fully disable SELinux during boot. If you need a system with SELinux12	# fully disabled instead of SELinux running with no policy loaded, you13	# need to pass selinux=0 to the kernel command line. You can use grubby14	# to persistently set the bootloader to boot with selinux=0:15	#16	#    grubby --update-kernel ALL --args selinux=017	#18	# To revert back to SELinux enabled:19	#20	#    grubby --update-kernel ALL --remove-args selinux21	#22	SELINUX=disabled    此处注意23	# SELINUXTYPE= can take one of these three values:24	#     targeted - Targeted processes are protected,25	#     minimum - Modification of targeted policy. Only selected processes are protected.26	#     mls - Multi Level Security protection.27	SELINUXTYPE=targeted28	
29	
​
[root@localhost ~]# cat -n /etc/selinux/config1	2	# This file controls the state of SELinux on the system.3	# SELINUX= can take one of these three values:4	#     enforcing - SELinux security policy is enforced.5	#     permissive - SELinux prints warnings instead of enforcing.6	#     disabled - No SELinux policy is loaded.7	# See also:8	# https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/using_selinux/changing-selinux-states-and-modes_using-selinux#changing-selinux-modes-at-boot-time_changing-selinux-states-and-modes9	#10	# NOTE: Up to RHEL 8 release included, SELINUX=disabled would also11	# fully disable SELinux during boot. If you need a system with SELinux12	# fully disabled instead of SELinux running with no policy loaded, you13	# need to pass selinux=0 to the kernel command line. You can use grubby14	# to persistently set the bootloader to boot with selinux=0:15	#16	#    grubby --update-kernel ALL --args selinux=017	#18	# To revert back to SELinux enabled:19	#20	#    grubby --update-kernel ALL --remove-args selinux21	#22	SELINUX=disabled    #注意23	# SELINUXTYPE= can take one of these three values:24	#     targeted - Targeted processes are protected,25	#     minimum - Modification of targeted policy. Only selected processes are protected.26	#     mls - Multi Level Security protection.27	SELINUXTYPE=targeted28	
29	​​​

firewalld

[root@localhost ~]# systemctl disable firewalld
[root@localhost ~]# 
[root@localhost ~]# 
[root@localhost ~]# 
[root@localhost ~]# systemctl stop firewalld
[root@localhost ~]# 

重启服务器

[root@localhost ~]#reboot

查询防火墙是否关闭

[root@localhost ~]# sestatus
SELinux status:                 disabled
[root@localhost ~]# systemctl status firewalld
○ firewalld.service - firewalld - dynamic firewall daemonLoaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; preset: >Active: inactive (dead)Docs: man:firewalld(1)
[root@localhost ~]# iptables -vnL
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)pkts bytes target     prot opt in     out     source               destination         Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)pkts bytes target     prot opt in     out     source               destination         Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)pkts bytes target     prot opt in     out     source               destination         
[root@localhost ~]# 

http://www.15wanjia.com/news/158238.html

相关文章:

  • 百度竞价排名价格查询高速wordpress优化
  • 尚品中国多年专注于高端网站建设什么软件可以制作图片加文字
  • 诸城网站建设开发长沙网站优化电话
  • 商业设计网站wordpress什么环境速度
  • 可以访问电脑网页的浏览器谷歌seo优化是什么
  • 软件下载网站如何履行安全管理义务确保提供的软件不含恶意程序广告产品
  • 广东建设执业资格中心网站企业进行网站建设的重要意义
  • 张家港网站建设公司广州网站开发定制
  • 泊头市网站建设公司服务好的企业做网站
  • seo免费网站建设寻花问柳-专注做一家男人的网站猪
  • 云服务器怎么发布网站app推广平台接单渠道
  • 孝感做网站上海网站营销seo电话
  • 固原网站制作wordpress 建博客教程
  • 商丘做网站需要多少钱太原做网站费用
  • 建设网站兼职泰州网站建设制作
  • 网站什么引导页郑州汉狮公司做网站
  • 西蔵自治区建设厅网站wordpress php5.3.5
  • 网站页面构成加快网站收录
  • 可以做众筹的网站有哪些官网网站备案流程
  • 安庆建设工程造价网站京津冀协同发展的首要任务
  • 网站转换移动网站php网站搭建环境搭建
  • 网站模块设计软件用图片做简单网站
  • 青岛市住房和城乡建设局官方网站监理工程师证查询网站
  • 想做个网站关于网站开发与设计论文
  • 山东超越建设集团网站应用开发工程师
  • 专业素材网站关于网站建设的ppt
  • 鞋网站建设自己做的网站图片挡住了导航栏
  • WordPress网站修改爱的网站歌曲
  • 爱站网站seo查询工具大企业门户网站建设
  • 阜阳网站开发南充市房地产备案查询