一、检测硬盘能否被识别 # fdisk -lDisk /dev/sda: 36.7 GB, 36703934464 bytes255 heads, 63 sectors/track, 4462 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sda1 * 1 261 2096451 83 Linux/...
CentOS,安装httpd-2.2.4 和php-5.2.3,一切顺利, 最后一步重新启动apache报如下错误: httpd: Syntax error on line 53 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/li...
nginx的版本号默认是打开的,可以在默认的错误页面和http响应头中查看到。如: curl -I www.nginx.org HTTP/1.1 200 OK Server: nginx/0.8.44 Date: Tue, 13 Jul 2010 14:05:11 GMT Content-Type: text/html Content-Length: 8284 Last-Modified: Tue, 13 Ju...
系统环境: [root@host conf]# more /etc/issue Red Hat Enterprise Linux Server release 5 (Tikanga) Kernel \r on an \m 问题现象: [root@ha]# locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_...
今天安装samba出现错误: [root@localhost CentOS]# rpm -ivh samba-3.0.33-3.29.el5_5.1.i386.rpm warning: samba-3.0.33-3.29.el5_5.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897 error: Failed dependencies: perl(Convert::ASN1) is nee...
在安装php-gd时出现The program package-cleanup is found in the yum-utils package。。。 解决方法: yum clean allrpm rebuilddbyum update...
CentOS(Community ENTerprise Operating System)是Linux发行版之一,它是来自于Red Hat Enterprise Linux依照开放源代码规定释 出的源代码所编译而成。由于出自同样的源代码,因此有些要求高度稳定性的服务器以CentOS替代商业版的Red Hat Enterprise Linux...
查看所有80端口的连接数 1 netstat-nat|grep-i80|wc-l 对连接的IP按连接数量进行排序 1 netstat-ntu |awk{print $5}|cut-d: -f1 |sort|uniq-c |sort-n 查看TCP连接状态 1 2 3 4 5 6 netstat-nat |awk{print $6}|sort|uniq-c|sort-rn netstat-n |awk/^tcp/ {+...
在CentOS上yum -y install gcc* gcc-c++* autoconf* automake* zlib* libxml* ncurses-devel* libmcrypt* libtool*时出现错误: 1)怎么回事呢?根据提示,原来是系统进程已经有一个update在运行了。在进程里查看下:ps -ef | grep update 2)通过kill杀掉这...
启动apache遇到错误: httpd: Could not reliably determine the servers fully qualified domain name [root@server httpd-2.2.4]# /usr/local/apache/bin/apachectl start httpd: Could not reliably determine the servers fully qualified domain name,...