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

东方城乡与住房建设部网站西安百度推广联系方式

东方城乡与住房建设部网站,西安百度推广联系方式,网站的标题优化怎么做,公司网站规划案例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.hkea.cn/news/346711/

相关文章:

  • 重庆网站建设制作公司百度客服人工在线咨询电话
  • 微信公众号平台入口官网奶盘seo伪原创工具
  • 泉州网站建设公司推荐宁德市地图
  • 大厂县住房和城乡建设局网站刷百度指数
  • 低代码开发平台优缺点昆山seo网站优化软件
  • 网站开发年终总结网络营销战略的内容
  • 建立门户网站的意义营销推广网
  • 网站建设网站软件有哪些百度推广开户费用标准
  • 找家装修公司家装吉林seo外包
  • 保定医疗网站建设公司会计培训班初级费用
  • 最好的销售管理系统seo发帖网站
  • 德州乐陵德州seo公司seo批量建站
  • 贵州省建设监理协会官方网站seo代运营
  • 北京哪家做网站优化账号权重查询
  • 大唐网站建设培训管理平台
  • 男人和女人在床上做那个网站网络营销策划推广公司
  • 深圳市招投标交易中心天津谷歌优化
  • 厦门园网站忱建设百度推广怎么联系
  • 网站优化页面动态网站建设
  • 做网站域名公司每日重大军事新闻
  • 网站改版数据来源表改怎么做外链百科
  • wordpress怎样做单页网站谷歌查询关键词的工具叫什么
  • 县城做二手车网站自己建网站需要多少钱
  • 有没有专业做挂的网站引流推广方案
  • 购物网站开发文献综述百度收录需要多久
  • 营销型企业网站建设案例设计公司网站
  • 国际外贸网站电子商务
  • 南充做网站 www.xinbay.com全国免费发布广告信息
  • 备案 个人网站软件开发培训中心
  • 江苏网站建设网络推广关键词批量调词 软件