• RPM安装或升级时签名效验错误解决方法

    日期:

    从RPM 版本 4.1开始,在安装或升级软件包时会检查软件包的签名,若您的系统使用了 旧版本的GPGkeys,那么需要获得最新的GPG keys才能安装。 一、错误提示参考 1、缺合适的签名 warning: Header V4 DSA signature: NOKEY, key ID 7fac5991 2、签名校验失败 er...

  • 编译Nginx提示gzip module requires the zlib library解决方法

    日期:

    新手在尝试安装nginx时,常常会因为缺少依赖组件,导致nginx相应模块无法安装,在执行./configure时常出现错误。 若在./configure后方加入了--with-http_gzip_static_module(添加gzip压缩模块)提示以下错误: ./configure: error: the HTTP gzip module re...

  • yum因被锁定导致无法执行相关操作的解决方法

    日期:

    执行yum命令时,提示Another app is currently holding the yum lock; waiting for it to exit...等错误字样。这是因为yum被锁定无法使用导致的。 错误信息参考: Another app is currently holding the yum lock; waiting for it to exit... The other appl...

  • ubuntu12.04 apt-get update error

    日期:

    解决方法: ① 先切换到root账号 su root ② 用命令:vi /etc/apt/apt.conf.d/00aptitude打开文件 Acquire::CompressionTypes::Order gz; 把上面这句粘贴到文件最后面,退出vi。 ③sudo apt-get update (源:ubuntu.cnssuestc.org,这个是在system settings...

  • ssh登陆提示: server unexpectedly closed network

    日期:

    在使用 ssh 登入 Linux 時,卻發生了 server unexpectedly closed network connection 的狀況。 查詢得到了解決方法,還沒驗證,先記錄備忘一下。 1. 修改 /etc/ssh/sshd_config 將 UseDNS yes 改成 UseDNS no 2. 重啟 ssh 服務 # /etc/init.d/sshd restart...

  • Win8 X64安装virtualbox + centos X64问题

    日期:

    今天在win8 64里用hyper 安装centos遇到了点问题。 解决方法是:关闭win8上的hyper-v bios开启vt-x/amd-v (Intel Virtualization Technology项) virtualbox里启动IO APIC...

  • CentOS 6.0安装Bind 9.7遇到的问题总结

    日期:

    1.[root@linuxidc ~]#yum -y install bind* //用yum安装所有bind软件 2.[root@linuxidc ~]# rpm -qa|grep bind//查询bind安装的所有软件 bind-9.7.3-8.P3.el6_2.2.i686 bind-libs-9.7.3-8.P3.el6_2.2.i686 bind-sdb-9.7.3-8.P3.el6_2.2.i686 bind-devel-9.7.3...

  • centos5.6部署golang环境遇到的问题

    日期:

    1.前几天在centos5.6下部署golang环境。在执行./all.bash脚本的时候碰到问题。当时我也没怎么在意。就忽略了,继续后面的操作。做完了所有的操作,蛋疼的发现,这些都是无用功。环境还是没装上。 2.当时找不出原因。就搁置了几天。今天重新部署下。顺便找了下...

  • 解决centos5.6基本命令不能使用的问题

    日期:

    1.近日,发现有台服务器不能使用linux上的基本命令,包括ifconfig , vi 等等。不管输入什么都出现 -bash: vi: command not found的情况。 2.在网上找下原因,可能是我前几日在用户的当前目录下的.bashrc文件做了修改,重启后才出现这种问题的。 3.命令都无法...

  • Centos下安装apahce的configure: error: APR not found. Please

    日期:

    今天从Apache官网上http://httpd.apache.org/下载httpd web服务器,由于我的虚拟机上之前安装过,我先yum remove httpd进行卸载,然后重新安装。我采用的是源码安装,先进行./configure --prefix=/usr/local/apahce --enable-so ,提示以下错误: configure:...