配置环境:1.selinux Enforcing vim /etc/sysconfig/selinux2.date 时间同步 ntpdate 3.iptables 关闭火墙 iptables -F4.NetwortManger 关闭 集群管理~~~~~~~~~~~~~~~~~~~~~~~~~~~~....
分类:
其他好文 时间:
2014-09-27 11:28:49
阅读次数:
399
反馈:1."selinux--disabled"inkickstart2.确保@admin-toolsorsystem-config-firewall在安装包之列结果:ErrorcreatingLiveCD:UnabletodisableSELinuxbecausetheinstalledpackagesetdidnotincludethefile/usr/sbin/lokkit总结:selinux--disabledrequiressystem-config-firewal..
分类:
系统相关 时间:
2014-09-25 12:16:19
阅读次数:
231
Linux 开机提示kernel panic - not syncing: Attempted to kill init! 解决方法:系统启动的时候,按下‘e’键进入grub编辑界面,编辑grub菜单,选择“kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/v...
分类:
系统相关 时间:
2014-09-25 01:08:47
阅读次数:
890
测试环境:NTPserver 192.168.1.252NTPclient 192.168.1.251准备工作:关闭selinux:vi /etc/selinux/configSELINUX=disabled关闭iptables:service iptables stopchkconfig ipta...
分类:
其他好文 时间:
2014-09-22 15:44:32
阅读次数:
195
1先装ftp服务yuminstallvsftpd–y设置开机启动chkconfigvsftpdon启动服务/etc/init.d/vsftpdstart设置防火墙,让防火墙添加此服务为信任服务或者刷掉防火墙iptables–F或者关闭防火墙/etc/init.d/iptablesstop查看防火墙iptables–nL2新建ftp发布目录如下:(selinux是关闭的s..
分类:
其他好文 时间:
2014-09-19 19:40:46
阅读次数:
303
一、SELinux与强制访问控制系统SELinux全称SecurityEnhancedLinux(安全强化Linux),是MAC(MandatoryAccessControl,强制访问控制系统)的一个实现,目的在于明确的指明某个进程可以访问哪些资源(文件、网络端口等)。强制访问控制系统的用途在于增强系统抵御0-Day攻击(利用尚未公..
分类:
系统相关 时间:
2014-09-18 19:08:24
阅读次数:
1158
一、如何解决SELinux问题?说起SELinux,多数Linux发行版缺省都激活了它,可见它对系统安全的重要性,可惜由于它本身有一定的复杂性,如果不熟悉的话往往会产生一些看似莫名其妙的问题,导致人们常常放弃使用它,为了不因噎废食,学学如何解决SELinux问题是很有必要的。我们以C..
分类:
系统相关 时间:
2014-09-18 19:07:25
阅读次数:
407
在一台服务器上安装完centos7后,准备安装vncserver,安装完systemctlstartvncserver@:1.service,始终报错:关闭防火墙和SELinux后,仍然报错,最后通过修改vnc配置文件:type=simple后问题解决
分类:
其他好文 时间:
2014-09-18 16:48:34
阅读次数:
1811
问题场景:eth0网卡无法自动加载,网卡配置信息不在network-scripts中
解决:
1》vi /etc/rc.d/rc.loacl
最后加入
ifup eth0
2》reboot
3》测试
换个ip, service network restart 是否有效
或者桌面环境观察网卡状态是否在连接
4》ifconfig -a
查看 eth0信息是否改变
...
分类:
Web程序 时间:
2014-09-18 11:29:03
阅读次数:
201
实验环境俩台CENTOS6.5最小化安装,1核1Gb内存,iptables关闭,selinux关闭Controllerip192.168.11.182Compute1ip192.168.11.1831安装时间同步,俩台机子上都要安装yuminstallntpservicentpdstartchkconfigntpdon2配置网络资源yuminstallyum-plugin-priorities–yyuminstall–y..
分类:
其他好文 时间:
2014-09-18 03:17:04
阅读次数:
381