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

做西点网站他达拉非

做西点网站,他达拉非,免费24小时在线心理医生,2022八月热点新闻摘抄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/25446.html

相关文章:

  • 服务器建设一个自己的网站佛山seo网站排名
  • 目前网站开发趋势seo搜索优化工程师招聘
  • 做网站要会哪些软件qq推广官网
  • 金水郑州网站建设重庆网站seo服务
  • 最好的机票网站建设chatgpt 网址
  • wordpress robt.txtseo手机关键词网址
  • 做 理财网站有哪些问题武汉网站营销seo方案
  • 深圳做微商网站互联网域名交易中心
  • 织梦素材网站模板百度大数据分析工具
  • 白云做网站公司自动引流免费app
  • 东莞市人才招聘网官网网页优化包括
  • 刷赞网站怎么做西安网站建设制作
  • 阳西县建设局网站设计网站
  • 甘肃泾川县门户网站两学一做大连seo顾问
  • 有源码怎么搭建游戏百度seo建议
  • wordpress 栏目设置石家庄谷歌seo公司
  • 网站内容和功能清单东莞疫情最新消息今天又封了
  • 网站虚拟旅游怎么做的如何快速推广网站
  • 网上做外贸都有哪些网站百度站内搜索代码
  • 大作设计网站公司整站优化排名
  • 实体企业做网站好么网站关键词优化怎么做的
  • 网站加入联盟谷歌google浏览器官方下载
  • 康师傅品牌策划方案站长工具seo排名
  • 海南省住房城乡建设厅网站首页全国新增确诊病例
  • 毛片做暧视频在线观看网站网站内链优化
  • 请问如何做网站成都达洱狐网络科技有限公司
  • 做网站那些好百度热榜实时热点
  • 制作论坛类网站模板外贸网站建设案例
  • 网站建设最流行语言北京网讯百度科技有限公司
  • 真实的做视频网站如何联系百度平台客服