码迷,mamicode.com
首页 >  
搜索关键字:setenforce    ( 214个结果
linux装机首先需要关闭的服务
关闭selinux和iptables:setenforce 0 iptables -Fiptables -t nat -Fsystemctl stop firewalldsystemctl disable firewalld systemctl stop NetworkManagersystemct ...
分类:系统相关   时间:2017-05-14 12:25:39    阅读次数:165
磁盘配额中quotacheck不能创建aquota.user和aquota.group文件的问题
在centos6.5学习中有关磁盘配额的内容中,发现quotacheck -augv 命令无法创建aquota.group 和aquota.user文件, 操作系统挂载在/home下,经排查发现是SELinux的问题,使用setenforce 0命令将其关闭后,重新执行quotacheck命令 成功 ...
分类:其他好文   时间:2017-04-08 23:42:24    阅读次数:293
centos6.5-搭建Apache
准备工作 1.关闭防火墙 service iptables stop 2.关闭selinux安全机制 setenforce 0 3.卸载rpm格式的httpd 这说明已经安装了rpm格式的软件包。所以要卸载它。 4.卸载 rpm -e httpd –nodeps 二、安装httpd 1、下载apac ...
分类:Web程序   时间:2017-03-11 11:42:45    阅读次数:212
CentOS 7安装zabbix3.0
CentOS 7安装zabbix3.0 一、环境介绍 # systemctl stop firewalld # setenforce 0 # yum -y install unzip vim net-tools lrzsz Zabbix 需要依赖LAMP/LNMP环境 # yum -y instal ...
分类:其他好文   时间:2017-02-22 21:19:02    阅读次数:345
docker : 报错 WARNING: IPv4 forwarding is disabled. Networking will not work.
[root@localhost ~]# systemctl stop firewalld[root@localhost ~]# setenforce 0[root@localhost ~]# systemctl start docker[root@localhost ~]# docker image ...
分类:Web程序   时间:2017-02-18 14:20:36    阅读次数:2401
tomcat + nginx 负载均衡
虚拟机1 : nginx 1 systemctl stop firewalld 2 setenforce 0 3 yum -y install lrzsz 4 rz 5 ls 6 tar -zxvf nginx-1.10.1.tar.gz -C /usr/src/ 7 cd /usr/src/ngi ...
分类:其他好文   时间:2017-02-10 23:01:41    阅读次数:230
CentOS 6.8 LAMP 安装配置
service iptables stop chkconfig iptables off setenforce 0 vi /etc/sysconfig/selinux SELINUX=disabled #enforcing改为disabled 依赖包安装 yum -y install gcc gcc ...
分类:其他好文   时间:2016-12-09 08:26:27    阅读次数:190
selinux
先修改/etc/selinux/config(这个是重启后才生效) 再在命令行上设置setenforce 0 这样就不需要重启Linux系统1.改配置文件修改/etc/selinux/config文件中设置SELINUX=disabled2.使用命令setenforce 0附:setenforce ...
分类:系统相关   时间:2016-11-02 01:43:01    阅读次数:242
storm0.9.5集群安装
安装前的准备工作l 关闭防火墙 chkconfig iptables off && setenforce 0 l 创建用户 groupadd realtime && useradd realtime && usermod -a -G realtime realtime l 创建工作目录并赋权 mkd ...
分类:其他好文   时间:2016-10-23 02:58:09    阅读次数:385
linux 程序管理与SElinux
此文涉及的命令:&、 jobs、fg、bg、kill、nohup、ps、top、pstree、free、uname、uptime、netstat、dmesg、 vmstat、fuser、lsof、pidof、getenforce、sestatus、setenforce、ps -Z、ll -Z、chc ...
分类:系统相关   时间:2016-09-28 19:40:38    阅读次数:261
214条   上一页 1 ... 13 14 15 16 17 ... 22 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!