1.关闭防火墙 [root@CentOS ~]# chkconfig iptables off 2.关闭selinux vi /etc/sysconfig/selinux //将SELINUX=enforcing修改为disabled然后重启生效 3、配置CentOS 6.0 第三方yum源(Ce....
分类:
其他好文 时间:
2015-01-26 09:59:50
阅读次数:
294
设置selinux时候出现setenforce:SELinuxisdisabled说明selinux被永久关闭了。需要重新开启selinux,请按下面步骤:1、编辑vi/etc/selinux/config文件将SELINUX=0改为12、必须重启linux,不重启是没办法立刻开启selinux的重启完以后,我们就可以用setenforce命令来动态的调整当..
分类:
系统相关 时间:
2015-01-21 20:29:13
阅读次数:
326
REDHAT 5常用服务配置实例适用于初学者的朋友测试时候注意防火墙和selinux哦!!生活其实很精彩~~本文版权保留,任何人不得利用本文获取利益!!!hanbim520@msn.cn,欢迎交流,交流才能进步!!一、YUM服务的配置1.为什么要首先配置YUM服务器答:我们都知道,安装软件在装机的时...
分类:
系统相关 时间:
2015-01-15 01:46:14
阅读次数:
468
准备环境selinux、iptables关闭
mkdir-p~/.pip#使用豆瓣pip源
vim~/.pip/pip.conf
[global]
index-url=http://pypi.douban.com/simple/
yuminstall-ygit#安装git
cd/home
gitclonehttps://github.com/openstack-dev/devstack.git
cd/home/devstack/tools/#devstack默认不能..
分类:
其他好文 时间:
2015-01-14 18:06:29
阅读次数:
1037
ssh服务安装安装ssh服务#yum install openssh-server -y安装passwd(修改密码需要)#yum install passwd -y修改sshd_config配置文件UsePAM yes改成UsePAM no关闭主机selinux当使用passwd修改容器中root密...
分类:
其他好文 时间:
2015-01-14 11:01:47
阅读次数:
1647
之前弄了好久都没弄成功!坑爹的不是防火墙,而是selinux!1、首先安装samba# yum install samba samba-client samba-swat有依赖关系的包samba-common、samba-winbind-clients、libsmbclient将自动安装上去。2、查...
分类:
其他好文 时间:
2015-01-14 00:43:41
阅读次数:
196
准备工作1、实验拓扑图2、实验时最好事先关闭防火墙与SELinux(两节点都要配置)node1,node2:[root@node~]#serviceiptablesstop[root@node~]#vim/etc/selinux/configSELINUX=disabled3、节点之前主机名互相解析:一定确保主机名和uname-n一致[root@node~]#vim/etc/hosts10.10.0..
分类:
Web程序 时间:
2015-01-13 20:03:43
阅读次数:
244
(注:以下内容转自鸟哥的私房菜)[root@www ~]# ls -Zdrwxr-xr-x root root root:object_r:user_home_t Desktop-rw-r--r-- root root root:object_r:user_home_t install....
分类:
系统相关 时间:
2015-01-12 22:23:40
阅读次数:
262
环境:系统硬件:vmware vsphere (CPU:2*4核,内存2G,双网卡)系统版本:CentOS-7.0-1406-x86_64-DVD.iso安装步骤:1.虚拟系统安装1.1 使用VMware 虚拟机,读入ISO进行安装。启动后进行安装界面1.2 选择 Install CentOS7,进...
分类:
系统相关 时间:
2015-01-12 20:48:53
阅读次数:
363
cobbler批量安装操作系统环境:workstation10cobblerserver:操作系统Centos6.6ip:192.168.1.17桥接物理机上(可上外网)关闭iptables,关闭selinux[root@localhost~]#chkconfigiptablesoff[root@localhost~]#/etc/init.d/iptablesstop[root@localhost~]#getenforceDisabled进入..
分类:
其他好文 时间:
2015-01-12 06:57:51
阅读次数:
407