• CentOS下Apache error.log文件太大的处理

    日期:

    清除error.log、access.log并限制Apache日志文件大小的方法 今天有台linux服务器Mysql突然起不来了,检查报错发现是磁盘满了,可用空间为0KB,进去后发现Apache的错误日志error.log非常的大,造成D盘被爆满。 在网上搜了下相应的资料,并按照如下步骤做了一...

  • CentOS下不能挂载NTFS的U盘解决方法

    日期:

    问题: #mount t ntfs /dev/sdb1 /mnt/usb mount: unknown filesystem type ntfs 这是由于CentOS release 5.3(Final)上无法识别NTFS格式的分区。 解决办法: 通过使用 ntfs-3g 来解决。 打开ntfs-3g的下载点http://www.tuxera.com/community/ntfs-3g-download...

  • 拟机上安装Centos系统无法上网解决方法

    日期:

    在VMware Workstation虚拟机上安装Centos系统,当系统无法上网的时候,我们可以通过常用配置的方式,如下: TYPE=Ethernet DEVICE=eth0 #网络虚拟接口名 HWADDR=00:0C:29:60:FF:8B #网卡mac地址 ONBOOT=yes #启动系统时就激活 NM_CONTROLLED=yes#实时生效,...

  • CentOS启动卡在开机进度条certmonger解决方法

    日期:

    新安装的CentOS6.4,第一次开机便卡在了进度条那里,一开始以为是反应慢,需要多等些时间,大概5分钟后还是不行,估计是出问题了。 重启后按Esc或者F5键,可以查看系统启动过程,卡在哪里,我的是在certmonger启动OK之后卡住的: 原因分析:X11图形化界面服...

  • CentOS yum报错一般解决方法

    日期:

    centos-yum update问题-103 在centOs上安装软件时。提示报错信息: Could not retrieve mirrorlisthttp://mirrorlist.centos.org/?release=6arch=x86_64repo=os error was 14: PYCURL ERROR 6 - Couldnt resolvehost mirrorlist.centos.org Could not retriev...

  • centos 7安装i386文件报错

    日期:

    The 32bit support is missing. Please install the x86 compatibility packages required by your distribution and retry the installation. See the installation guide for more details....

  • CentOS服务器简单判断CC攻击的命令

    日期:

    CC攻击很容易发起,并且几乎不需要成本,导致现在的CC攻击越来越多。 大部分搞CC攻击的人,都是用在网上下载的工具,这些工具很少去伪造特征,所以会留下一些痕迹。 使用下面的命令,可以分析下是否在被CC攻击。 第一条命令: tcpdump -s0 -A -n -i any | gre...

  • CentOS系统VMware克隆后重新设置成eth0

    日期:

    问题:用VMware克隆CentOS6.4后,发现系统内只有eth1,而且/etc/sysconfig/network-scripts/下只有,ifcfg-eth0文件,虽然可以上网,但无法设置静态IP。 ifconfig eth0 eth1: error fetching interface information: Device not found 解决:vi /etc/udev/rul...

  • Centos启动出现Generating /etc/rndc.key:的解决方法

    日期:

    [root@localhost init.d]#rndc-confgen -r /dev/urandom -a wrote key file /etc/rndc.key [root@localhost init.d]#service named start Starting named: [ OK ]...