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

jsp网站开发实例视频教程软件开发外包费用评估

jsp网站开发实例视频教程,软件开发外包费用评估,东莞南城网站建设价格,wordpress手动缩略图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.yayakq.cn/news/526641/

相关文章:

  • 网站设计公司要多少钱网站如何投放广告
  • 虾米音乐歌曲链接做qq音乐网站做dm页网站
  • 建设网站 (公司)seo教学网seo
  • 系统与网站的区别acf wordpress
  • 代理做减肥网站中山移动网站设计公司
  • 单站点网站山南网站制作
  • wordpress建站 博客wordpress还有人在用吗
  • 网站没做好可以备案吗wordpress动漫视频网站
  • 浙江省住房和城乡建设部网站重庆工程建筑信息网
  • 网站发展方向做网站什么内容
  • 公司网站设计与实现网站建设技巧饣金手指排名27
  • 佛山高端网站巴中微信开发 做网站
  • 厦门网站建设ui科技部网站改版方案
  • 深圳网站制作首荐祥奔科技adsl做网站
  • 郑州团购网站建设犀牛云做的网站好不好
  • 高端网站建设公司排行大连模板建站软件
  • 网站服务器ip地址怎么查免费追剧软件app
  • 济南商城网站建设容桂均安网站建设
  • 单页淘宝客网站模板win10 电脑做网站服务器吗
  • 公司名称变更网站要重新备案网站制作需求文档
  • 高端seo服务百度seo公司兴田德润
  • 盐都建设局网站wordpress启用小工具
  • 建设本地网站单人做网站需要掌握哪些知识
  • 做网站走啥科目宝安三网合一网站建设
  • 网站改版引导百度快照官网登录
  • 网站建设相关优化君隆做网站怎么样
  • 网站查备案密码刷单网站搭建
  • 设计建筑网店seo
  • 购物导购网站开发网络公司网站建设首页
  • 淘宝接网站开发的活富阳做网站洛洛科技