前提:基于redhat 6.5或者CentOS 6.5
软件包(由yum缓存中提取的):
http://pan.baidu.com/s/1dDHIEGD
openssl-devel-packages.zip
rpm -e --nodeps keyutils-libs-1.4-4.el6.x86_64
rpm -ivh keyutils-libs-1.4-5.el6.x86_64.rpm
rpm -ivh keyutils-libs-devel-1.4-5.el6.x86_64.rpm
rpm -ivh libsepol-devel-2.0.41-4.el6.x86_64.rpm
rpm -e --nodeps libselinux-2.0.94-5.3.el6_4.1.x86_64 删除以后就再也装不上了,恢复,取消此操作,继续测试
rpm -e --nodeps libselinux-utils-2.0.94-5.3.el6_4.1.x86_64
rpm -Uvh libselinux-2.0.94-5.8.el6.x86_64.rpm 安装成功,由此绕过之前5步出错的bug
rpm -ivh libselinux-devel-2.0.94-5.8.el6.x86_64.rpm
rpm -e --nodeps krb5-libs-1.10.3-10.el6_4.6.x86_64
rpm -ivh krb5-libs-1.10.3-42.el6.x86_64.rpm
rpm -e --nodeps libcom_err-1.41.12-18.el6.x86_64
rpm -ivh libcom_err-1.41.12-22.el6.x86_64.rpm
rpm -ivh libcom_err-devel-1.41.12-22.el6.x86_64.rpm
rpm -ivh krb5-devel-1.10.3-42.el6.x86_64.rpm
rpm -ivh zlib-devel-1.2.3-29.el6.x86_64.rpm
rpm -e --nodeps openssl-1.0.1e-15.el6.x86_64
rpm -ivh openssl-1.0.1e-42.el6.x86_64.rpm
rpm -ivh openssl-devel-1.0.1e-42.el6.x86_64.rpm
OK,安装成功。
OK,去编译keepalived成功了。
Ubuntu编译环境构建(openssl):http://www.linuxdiyf.com/linux/13751.html
Linux下使用OpenSSL生成证书:http://www.linuxdiyf.com/linux/11951.html
Linux下OpenSSL安装图文详解:http://www.linuxdiyf.com/linux/8744.html
在OpenSSL中添加自定义加密算法:http://www.linuxdiyf.com/linux/13434.html
ubuntu安装openssl库:http://www.linuxdiyf.com/linux/13828.html