LAMP—01 提供服务 yum list | grep nfs 关闭防火墙 iptables –F iptables –X setenforce 0 安装nfs 启动服务 systemctl start nfs 查看端口 配置文件 主机02访问 yum list | grep nfs yum in ...
分类:
其他好文 时间:
2018-09-17 17:42:49
阅读次数:
159
环境准备: 关闭防火墙 暂时关闭:service iptables stop 禁止开机启动:chkconfig iptables off 关闭seLinux 暂时关闭:setenforce 0 永久关闭:修改配置文件/etc/sysconfig/selinux 中的SELINUX = disable ...
分类:
其他好文 时间:
2018-09-14 23:01:06
阅读次数:
182
1 基于HTTP搭建局域网YUM源(Centos7) 1.1 YUM服务端安装HTTP服务 1) 安装HTTP yum install httpd httpd-devel –y 2) 启动httpd服务 systemctl restart httpd.service setenforce 0 #关闭 ...
分类:
Web程序 时间:
2018-09-02 01:50:25
阅读次数:
879
1.关闭SELinux的两种方法setenforce 0修改/etc/selinux/config文件中设置SELINUX=disabled ,然后重启服务器。 2.用户不在sudoers文件中,无法使用sudo 在使用Linux系统过程中,通常情况下,我们都会使用普通用户进行日常操作,而root用 ...
分类:
系统相关 时间:
2018-08-26 23:44:39
阅读次数:
271
环境:192.168.1.128? mini2Lepus安装需要Lamp环境安装LAMP:关闭selinux[root@mini2 ~]# vim /etc/selinux/config?SELINUX=disabled[root@mini2 ~]# setenforce 0[root@mini2 ~]# yum install -y httpd php mariadb mar
分类:
数据库 时间:
2018-08-13 23:46:47
阅读次数:
331
部署服务的一般步骤: 1.准备环境 关闭防火墙: service iptables stop(chkconfig iptables off) 关闭selinux: setenforce 0(/etc/sysconfig/selinux -> selinux=disabled) 配置IP地址 2.安装 ...
分类:
Web程序 时间:
2018-08-12 15:36:49
阅读次数:
240
部署环境: CentOS7.X1、关闭selinux vi /etc/selinux/config SELINUX=disabled #修改该项为disabled 立即生效setenforce 02、查看防火墙是否开启 sys
分类:
数据库 时间:
2018-08-03 01:12:28
阅读次数:
209
[root@mini1 ~]# setenforce 0[root@mini1 ~]# systemctl stop firewalld.service [root@mini1 ~]# vim /etc/my.cnf server_id=1log-bin=mysql-bingtid-mode=onenforce-gtid-consistency=1log_slave_updat
分类:
其他好文 时间:
2018-08-02 11:23:00
阅读次数:
236
第一步 确定问题是否与 SELINUX 相关,comand : adb shell setenforce 0(这一步需要 root) 关闭手机的 SELINUX 机制,如果问题还能复现,那么此问题就与 SELINUX 不相关,或者相关 但是还与别的机制相关,比如还与 Linux 自主访问控制(DAC ...
分类:
系统相关 时间:
2018-07-13 01:13:33
阅读次数:
583
SELinux(Security-Enhanced Linux) 是美国国家安全局(NSA)对于强制访问控制的实现,是 Linux历史上最杰出的新安全子系统。 关闭SELinux 临时生效:命令临时生效: setenforce 0 (临时生效可以直接用setenforce 0 ) 1 启用 0 告警... ...
分类:
系统相关 时间:
2018-07-07 18:04:18
阅读次数:
322