1...不可写 setenforce 0 2.。。不支持Gd yum -y install mysql mysql-server mysql-devel php-mysql gd gd-devel httpd php php-gd yum install gd php-mysql php-gd ph ...
分类:
系统相关 时间:
2017-10-27 13:23:38
阅读次数:
179
以CentOS 6.5_64操作系统初始化为例 1、关闭防火墙setenforce 0sed -i '1,$s/SELINUX=enforcing/SELINUX=disabled/g' /etc/sysconfig/selinux iptables -F/etc/init.d/iptables s ...
分类:
其他好文 时间:
2017-10-24 20:45:23
阅读次数:
167
这里要注意,关闭selinux setenforce 0 原文地址: http://www.linuxidc.com/Linux/2015-04/116725.htm 这是一个关于怎样在你的 CentOS 7 上安装配置 VNC 服务的教程。当然这个教程也适合 RHEL 7 。在这个教程里,我们将学 ...
分类:
其他好文 时间:
2017-10-15 19:54:07
阅读次数:
245
1 查看SELinux状态 Enforcing为开启状态;Disabled为关闭状态。 [root@localhost /]# getenforce Enforcing 2 临时关闭SELinux [root@localhost /]# setenforce 0 [root@localhost /] ...
分类:
系统相关 时间:
2017-10-06 13:01:07
阅读次数:
175
rsyslog 服务器重启后 发现不能接受到外部日志 只能接受本地日志 关闭防火墙即可 1 关闭防火墙: # systemctl stop firewalld 2 将SELINUX设置为disabled # setenforce 0 # sed -i 's#SELINUX=enforcing#SEL ...
分类:
其他好文 时间:
2017-09-15 20:18:13
阅读次数:
227
关闭SELinux的两种方法 1 永久方法 – 需要重启服务器 修改/etc/selinux/config文件中设置SELINUX=disabled ,然后重启服务器。 2 临时方法 – 设置系统参数 使用命令setenforce 0 附:setenforce 1 设置SELinux 成为enfor ...
分类:
系统相关 时间:
2017-08-31 19:45:12
阅读次数:
183
ELinux安全机制 SELinux运行模式的切换 ? SELinux的运行模式 – enforcing(强制)、permissive(宽松) – disabled(彻底禁用) ? 切换运行模式 – 临时切换:setenforce 1|0 – 固定配置:/etc/selinux/config 文件 ...
分类:
其他好文 时间:
2017-07-16 16:38:11
阅读次数:
101
密钥验证; 公钥(服务器上)私钥(客户端)在远程登录软件上可生成SSH密钥对。在服务器上建目录.SSH 再在其中建文件authorized_keys,复制公钥到服务器上此文件中. (1)selinux (2)netfilter(iptables)防火墙关闭防火墙:临时setenforce 0 / i ...
分类:
其他好文 时间:
2017-07-07 13:15:45
阅读次数:
160
实验环境:CentOS6.8 主机:172.16.xxx.xxx:80 客户端:172.16.xxx.xxx 解决方法:关闭SELinux:setenforce 0 关闭防火墙策略:iptables -F 启动telnet服务: chkconfig telnet on 最好也启动xinetd监控服务 ...
分类:
Web程序 时间:
2017-07-05 21:14:09
阅读次数:
209
检查http.conf发现没错之后,查找资料后发现时selinux的问题,所以须要关闭这个服务: 1 vi /etc/sysconfig/selinux 2 SELINUX=enforcing 改为 SELINUX=disabled 重新启动后生效 不需重新启动 运行命令: 1 setenforce ...
分类:
数据库 时间:
2017-06-20 18:09:52
阅读次数:
279