关闭SELINUXvi /etc/selinux/config#SELINUX=enforcing #注释掉#SELINUXTYPE=targeted #注释掉SELINUX=disabled #增加:wq! #保存退出setenforce 0 #使配置立即生效mysql 5.5.28安装安装路径:...
分类:
系统相关 时间:
2014-10-14 19:37:09
阅读次数:
394
正常安装完zabbix后,登录后zabbix监控报错zabbix server is not running: the information displayed may not be current, 下面的几种情况都有可能引起这个错误, 1. selinux是否关闭。一定要关闭这个,开启sel...
分类:
其他好文 时间:
2014-10-14 13:47:49
阅读次数:
265
#update osyum update -y#selinuxsed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/sysconfig/selinuxsetenforce 0#welcome messageecho 'web server' >/e...
分类:
其他好文 时间:
2014-10-13 22:27:17
阅读次数:
273
今天不知道为什么用虚拟机无法启用网卡重启时提示Bringingupinterfaceeth0:Deviceeth0hasdifferentMACaddressthanexpected,ignoring.发现应该是MAC地址问题故查看网卡配置信息#vim/etc/sysconfig/network-scripts/ifcfg-eth0修改HWADDR=XX:XX:XX:XX:XX:XX,为MACADDR=XX:XX:XX:X..
分类:
其他好文 时间:
2014-10-12 03:44:37
阅读次数:
251
>centos6.5网卡启动报错如下:Error:Device‘eth0‘(/org/freedesktop/NetworkManager/Devices/0)disconnectingfailed[FAILED]解决办法查看eth0网卡配置默认这项为no状态:ONBOOT=no解决办法把ONBOOT=no修改为ONBOOT=yes然后执行:servicenetworkrestartOK了
分类:
其他好文 时间:
2014-10-12 03:10:27
阅读次数:
259
今天有两台戴尔2U服务器,需要上架。上架前,老大让我将两个网卡配置上IP,网卡1是专线IP10.xx.xx.57,网卡2是内网IP192.168.1.157。交代我时,还说配上Linux的静态路由,于是我就开始配置了:eth0:DEVICE=‘eth0‘IPADDR=10.XX.XX.57NETMASK=255.xxx.xxx.192DATEWAY=10.130.116..
分类:
系统相关 时间:
2014-10-11 01:44:05
阅读次数:
442
heidsoft:/etc/sysconfig/network # cat ifcfg.template ## This is a template for a network interface configuration file used with ifup.## See 'man 8 ifu...
分类:
其他好文 时间:
2014-10-09 18:57:48
阅读次数:
276
How to Disable SELinuxYou've setup a new system, or installed something new on your Linux system and its not working. You get the feeling that SELinux...
分类:
系统相关 时间:
2014-10-07 02:00:12
阅读次数:
403
1:操作系统的安装,这个就不用写教程了吧(略)我个人用的是CentOS6.5最小化安装装好系统以后关闭防火墙和selinux[root@Cacti~]#serviceiptablesstop//关闭防火墙服务[root@Cacti~]#chkconfigiptablesoff//永久性关闭[root@Cacti~]#vi/etc/sysconfig/selinux//把SELINUX=enfor..
分类:
其他好文 时间:
2014-10-07 00:53:21
阅读次数:
340
前提: 关掉防火墙 service iptables stop 或chkconfig iptables off(永久关闭防火墙) 关闭SELinux setenforce 0 或vi /etc/sysconfig/selinux把 SELINUX=enforcing 修改为SELINUX= disa...
分类:
其他好文 时间:
2014-10-05 00:58:37
阅读次数:
245