Public key for httpd-2.2.3-63.el5.centos.1.i386.rpm is not installed
3种方法可以解决:
1.
# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
2.
# vi /etc/yum.repos.d/CentOS-Base.repo
gpgcheck=0 (原为gpgcheck=1)
3.
加上"--nogpgcheck"参数
# yum install httpd --nogpgcheck