码迷,mamicode.com
首页 >  
搜索关键字:selinux关闭    ( 163个结果
linux日常管理-防火墙selinux
关闭防火墙SELINUX=disabled可以是三种状态# enforcing - SELinux security policy is enforced.打开# permissive - SELinux prints warnings instead of enforcing.打开不拦截#...
分类:系统相关   时间:2015-11-22 13:54:54    阅读次数:174
关闭系统不必要的服务;关闭selinux,关闭iptables
关闭系统不必要的服务;关闭selinux,关闭iptables;关闭ctrl+alt+del重启;设置ssh端口,关闭DNS解析;设置系统最大文件描述符;设置系统关键文件权限;配置安装ntp;安装vim;配置安装阿里云yum源和epel源;#!/bin/bash#writtenbymofansheng@2015-11-03#systemoptimizationsc..
分类:系统相关   时间:2015-11-13 23:42:14    阅读次数:575
nginx反向代理+keepalived
系统版本:D2.6.32-431.el6.x86_64虚拟机:四台环境准备:关闭selinux;关闭iptables;其中两台nginx+keepalive已安装且正常;另外两台的节点web工作正常;#为了更好的测试,web1:www.22web2:www.23;nginx安装:yuminstallpcre*-yyuminstallopensslopenssl-devel-yuseradd-s/..
分类:其他好文   时间:2015-11-02 06:48:28    阅读次数:318
centos7 搭建ntp时钟服务
centos7下首先确认防火墙、selinux关闭状态 [root@applog?~]#?cat?/etc/redhat-release? CentOS?Linux?release?7.0.1406?(Core) 第一步 ?安装ntp ? ntpdate [root@applog?~]#?yum?install??ntp??...
分类:其他好文   时间:2015-10-14 10:39:39    阅读次数:180
遇到问题,本地PHP环境连接其他主机的Mysql 出现ERROR 1130: Host '192.168.1.222' is not allowed to connect to this MySQL server
问题描述,1 检查mysql服务是否启动, 2 关闭防火墙 Netfilter/Iptables 关闭方式[root@localhost ~]#iptables -F SELINUX 关闭方式 [root@localhost ~]#setsebool -P samba_enable_home_d.....
分类:数据库   时间:2015-10-02 14:53:18    阅读次数:187
CentOS 7 DHCP+PXE+Apache+Kickstart 自动安装
关闭selinux,关闭防火墙,配置网络getenforce setenforce0 vi/etc/selinux/config systemctlstopfirewalld.service systemctldisablefirewalld.serivce挂载光盘,备份文件,创建repo文件,清除和重建缓存mkdir/mnt/cdrom mount/dev/cdrom/mnt/cdrom mkdir/etc/yum.repos.d/bac..
分类:Web程序   时间:2015-09-25 03:58:56    阅读次数:352
RabbitMQ安装
本文主要介绍在RHEL6/centos6下本软件的安装,原理网上一大堆不辍述,大约耗时十分钟可完成。环境:centos6.5防火墙和SELinux关闭安装步骤如下:1.启用EPEL源来安装erlangrpm-ivhhttp://mirrors.ustc.edu.cn/epel/6/x86_64/epel-release-6-8.noarch.rpm&&yuminstall-y..
分类:其他好文   时间:2015-09-10 17:34:41    阅读次数:157
vsftpd基本配置(原)
前提:iptables关闭或放行,selinux关闭或放行。目标:创建虚拟ftpuser到指定的www.ftpuser.com目录,且只能在本目录下。创建帐号useradd -d /var/www/www.ftpuser.com -s /sbin/nologin -g ftp ftpuser -d....
分类:其他好文   时间:2015-08-31 17:18:00    阅读次数:269
查看、关闭SELinux
查看SELinux状态:1、/usr/sbin/sestatus-v|grep"SELinuxstatus:"##如果SELinuxstatus参数为enabled即为开启状态2、getenforce##除了上面的命令还可以使用这个命令,输出结果是permissive为关闭,enforcing为开启。关闭SELinux:1、临时关闭(不重启系统即可生效):setenforce..
分类:系统相关   时间:2015-08-21 17:22:51    阅读次数:154
关闭iptables和SELINUX:
关闭iptables和SELINUX: # chkconfig iptables off # vi /etc/sysconfig/selinux(把enforcing修改为disabled,然后重启系统)...
分类:系统相关   时间:2015-08-17 21:58:52    阅读次数:150
163条   上一页 1 ... 12 13 14 15 16 17 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!