Redhat关闭SELinux和防火墙的办法
来源:互联网 发布:linux通过sftp上传文件 编辑:程序博客网 时间:2024/05/22 05:23
http://blog.chinaunix.net/uid-11582448-id-3157977.html
Redhat使用了SELinux来增强安全,关闭的办法为:
1. 永久有效
修改 /etc/selinux/config 文件中的 SELINUX="" 为 disabled ,然后重启。
2. 即时生效
setenforce 0
关闭防火墙的方法为:
1. 永久性生效
开启:chkconfig iptables on
关闭:chkconfig iptables off
2. 即时生效,重启后失效
开启:service iptables start
关闭:service iptables stop
- Redhat关闭SELinux和防火墙的办法
- Redhat关闭SELinux和防火墙的办法
- Redhat关闭SELinux和防火墙的办法
- Redhat关闭SELinux和防火墙的办法
- Redhat关闭SELinux和防火墙的办法
- Redhat关闭SELinux和防火墙的办法
- Redhat关闭SELinux和防火墙的办法
- Redhat关闭SELinux和防火墙的办法
- Redhat关闭SELinux和防火墙的办法
- Redhat关闭SELinux和防火墙的办法
- (转)Redhat关闭SELinux和防火墙的办法
- redhat linux关闭防火墙和禁用selinux
- redhat7 centos7 关闭SELinux和防火墙的办法
- 关闭SELinux和防火墙
- 如何关闭selinux和防火墙
- centos6关闭selinux和防火墙
- CentOS7关闭防火墙和selinux
- Centos7 关闭防火墙和selinux
- 【转载】Kinect视频的保存与回放(来自baizhengbiao的专栏)
- 网站KPI连载之人均访问数
- 开源JDBC连接池DBCP和C3P0配置
- 利用Tomcat运行一个JSP页面 详细步骤
- Hibernate面试题
- Redhat关闭SELinux和防火墙的办法
- 【转载】在Ubuntu 10.04 LTS上安装FFmpeg和x264
- sqlserver 人民币数字转大写
- android左右滑动加载分页以及动态加载数据
- Android-Canvas使用技巧
- 分布式数据库 HBase
- 递归与分治策略之棋盘覆盖问题
- Flutter:直觉化的手势控制系统
- 为什么苹果官网设计如此吸引人?