码迷,mamicode.com
首页 >  
搜索关键字:selinux。    ( 2925个结果
selinux开启关闭
查看SELinux状态: 1、/usr/sbin/sestatus -v ##如果SELinux status参数为enabled即为开启状态 SELinux status: enabled 2、getenforce ##也可以用这个命令检查 关闭SELinux: 1、临时关闭(不用重启机器): s ...
分类:系统相关   时间:2016-04-03 06:57:00    阅读次数:239
CentOS 7 基础配置与安装Webmin
安装Webmin———————————————————–sed-i‘s/SELINUX=enforcing/SELINUX=disabled/g’/etc/selinux/configsetenforce0rpm-ivhhttp://elrepo.org/linux/elrepo/el7/x86_64/RPMS/elrepo-release-7.0-2.el7.elrepo.noarch.rpmrpm-ivhhttp://pkgs.repoforge.org/..
分类:Web程序   时间:2016-04-01 16:11:13    阅读次数:594
1.2-puppet安装准备工作
Puppet安装和配置-准备工作两台机器:192.168.1.60(服务端)192.168.1.30(客户端)两台机器关闭selinux,清空iptables规则,并保存,设置hostname60上hostnamemaster.wyp.com编辑/etc/sysconfig/network定义hostname30上hostnameclient.wyp.com编辑/etc/sysconfig/network定..
分类:其他好文   时间:2016-03-31 07:15:33    阅读次数:159
SSH互信
配置SSH免密码登录:需要先关闭selinux,否则会互信失败[root@rhel-1~]#ssh-keygen-trsa Generatingpublic/privatersakeypair. Enterfileinwhichtosavethekey(/root/.ssh/id_rsa): Createddirectory‘/root/.ssh‘. Enterpassphrase(emptyfornopassphrase): Entersamepassphrasea..
分类:其他好文   时间:2016-03-30 16:38:48    阅读次数:167
rsync镜像同步
环境:CentOS6.5先关闭防火墙和Selinux[root@rsync~]#yum-yinstallrsync [root@rsync~]#mkdir/etc/rsyncd [root@rsync~]#touch/etc/rsyncd/rsyncd.conf//rsync的主配置文件 [root@rsync~]#touch/etc/rsyncd/rsyncd.secrets//rsync的密码文件 [root@rsync~]#touch/etc/rsyncd/rs..
分类:其他好文   时间:2016-03-30 16:36:17    阅读次数:123
Samba快速配置
Samba是linux,unix,windows之间进行交互操作的软件组件,Sanma是基于GPL协议的自由开源软件。 快速配置samba文件服务器 1.关闭防火墙和SELinux [root@centos6 ~]# setenforce 0 #临时关闭 [root@centos6 ~] # sed ...
分类:其他好文   时间:2016-03-30 14:53:53    阅读次数:156
linux 配置nfs
防火墙已关闭/iptables:Firewallisnotrunning.SELINUX=disabled安装NFS服务NFS的安装是非常简单的,只需要两个软件包即可,而且在通常情况下,是作为系统的默认包安装的。nfs-utils-*:包括基本的NFS命令与监控程序rpm-qa|grepnfs查看,如果没有,则yum-yinstallnfsNFS的常用目..
分类:系统相关   时间:2016-03-29 19:44:15    阅读次数:175
rsync+sersync+nfs高可用
环境:HOSTIPOS主机110001110.0.0.11CentOS6.6主机210001210.0.0.12CentOS6.6为了省事,直接关闭iptables,selinux,以下配置都为10.0.0.11上的配置,10.0.0.12也要做相同配置(个别地方须修改,如ip等)一、安装配置rsync1、安装[root@100011/]#yuminstall-yrsyncxinetd[root@10..
分类:其他好文   时间:2016-03-29 16:46:54    阅读次数:379
Nagios监控系统的安装
环境:centOS 6.5 X86 64位 nagios-4.08 步骤: 1、 最小化安装系统 2、 修改安全特性 关闭SELINUX SELINUX=disabled 清除iptables防火墙规则,开机不启动该服务 3、 安装所必须的软件 yum install gcc mysql httpd ...
分类:移动开发   时间:2016-03-28 16:58:43    阅读次数:268
Disable SELinux CentOS 7
Disable SELinux CentOS 7 This blog covers the basic steps to disable SELinux on CentOS 7 first we need to see how SELinux is configured, issue the ses ...
分类:系统相关   时间:2016-03-28 11:47:34    阅读次数:462
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!