码迷,mamicode.com
首页 >  
搜索关键字:selinux。    ( 2925个结果
Linux系统优化
CentOS6.7_x64系统优化:1关闭selinux#DisableSElinusetenforce0sed-i‘/SELINUX=enforcing/cSELINUX=disabled‘/etc/selinux/config2关闭防火墙#Stopiptables/etc/init.d/iptablesstop/etc/init.d/ip6tablesstopchkconfigip6tablesoffchkconfigip6tablesoff3设置运行级别为3,mi..
分类:系统相关   时间:2016-07-09 13:37:53    阅读次数:312
(?)企业部分之hadoop
需要纯净的三个虚拟机,建议内存大小为1024M,注意要将时间、解析配置成一致,防火墙、SElinux关闭。使用nfs进行同步。若过程中获得警告,可能是由于编译环境32位或jdk版本过低的原因1.安装和配置环境所需软件包:hadoop-1.2.1.tar.gzjdk-6u32-linux-x64.bin【server1/server2/..
分类:其他好文   时间:2016-07-09 13:37:47    阅读次数:439
使用salt-ssh安装salt-minion
1.关闭selinuxsed-in‘s/SELINUX=enforcing/SELINUX=disabled/‘/etc/selinux/config setenforce02.关闭防火墙systemctldisablefirewalld.service systemctlstopfirewalld.service systemctlis-enabledfirewalld.service3.安装master端yum-yinstallsalt-master4.添加启动项,并启..
分类:其他好文   时间:2016-07-09 13:35:36    阅读次数:195
Linux基础的调优及安全设置
基础的调优及安全设置。a简单优化Linux1、关闭Selinux[root@mobanselinux]#cd/etc/selinux/[root@mobanselinux]#sed-is#SELINUX=enforcing#SELINUX=disabled#gconfig[root@mobanselinux]#catconfig#ThisfilecontrolsthestateofSELinuxonthesystem.#SELINUX=cantakeoneoftheseth..
分类:系统相关   时间:2016-07-08 20:16:19    阅读次数:164
Mysql 5.7双主复制
软件:主机AIP:192.168.1.201主机BIP:192.168.1.202操作系统:centos6.5-x86Mysql版本:mysql-5.7.12-linux-glibc2.5-x86_64.tar.gz安装依赖包:yuminstalllibaio-develglibcperl–y关闭SElinux及IPtables:/etc/init.d/iptablesstop&&setenforce0&&sed–I‘..
分类:数据库   时间:2016-07-08 12:05:36    阅读次数:313
一、Tomcat7安装配置
1.SELINUX和防火墙 #关闭SELINUX vi /etc/selinux/config SELINUX = disabled #防火墙 1)关闭防火墙 Centos6.5版本 service iptables stop#关闭防火墙 chkconfig iptables off#开机不启动 C ...
分类:其他好文   时间:2016-07-08 11:48:05    阅读次数:149
systemctl 启动成功却提示没有权限(解决)
现象: systemctl 启动svnserve成功,却在提交svn时提示没有权限。 systemctl 启动smb成功,却在samba访问时提示没有权限。 但手动启动svnserve和smb后,问题消失。 解决办法: 将selinux关闭 分析: systemctl 会走selinux,直接启动会 ...
分类:其他好文   时间:2016-07-07 22:27:41    阅读次数:350
Linux安装FTP
1.先用rpm-qa|grepvsftpd命令检查是否已经安装,如果ftp没有安装,使用yuminstall-yvsftpd安装。2.启动:/etc/init.d/vsftpdstart开机启动:chkconfig--level35vsftpdon3.设置ftp权限vi/etc/vsftpd/vsftpd.conf将anonymous_enable=YES改为anonymous_enable=NO;关闭selinux(修..
分类:系统相关   时间:2016-07-07 14:30:46    阅读次数:245
Centos 6.5 + Zabbix 3.0
CentOS6.5+LAMP安装Zabbix3.0关闭:iptables&Selinux服务#iptables-F#iptables-nv-L查看SELinux状态:/usr/sbin/sestatus-v##如果SELinuxstatus参数为enabled即为开启状态SELinuxstatus:enabled#getenforce##也可以用这个命令检查#setenforce0##设置SELinux成为permissive..
分类:其他好文   时间:2016-07-07 14:29:38    阅读次数:116
Centos编译安装 LAMP (apache-2.4.7 + mysql-5.5.35 + php 5.5.8)+ Redis
转载地址:http://www.cnblogs.com/whoamme/p/3530056.html 软件源代码包存放位置:/usr/local/src 源码包编译安装位置:/usr/local/软件名字 修改源: 一、关闭SELINUX vi /etc/selinux/config #SELINU ...
分类:数据库   时间:2016-07-07 13:01:52    阅读次数:261
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!