系统环境: [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,...
OpenSSL官方发布的公告,出现问题的版本是: Only 1.0.1 and 1.0.2-beta releases of OpenSSL are affected including 1.0.1f and 1.0.2-beta1. 下面针对这几点分别做说明,并在下文给出解决方案: CentOS , 默认安装的OpenSSL不在OpenSSL官方公告有安全漏洞的范...
虚拟机里面安装的CentOS6.4minimal,安装完毕一切正常,禁用selinux后,重启系统Kernel内核崩溃。 附:禁用selinux的过程: 修改/etc/selinux/config 文件 将SELINUX=enforcing改为SELINUX=disabled保存退出; 系统报错信息如下: 说明下: CentOS 6.4/3mini...
前阵子搭建Hadoop时,配置了本机(localhost)的ssh的公钥到authorized_keys文件中,但是在ssh连接localhost时仍然提示需要输入密码,后来发现是$HOME/.ssh/authorized_keys这个文件的权限问题引起的。其原因是,不能让所有者之外的用户对authorized_keys文...