一、查询是否安装openssl: which openssl
[root@localhost ~]# which openssl
/usr/bin/which: no openssl in ….
如果系统已安装会出现:/usr/bin/openssl
二、挂载光盘 mount /dev/cdrom /media
三、按顺序分别安装以下RPM包
[root@localhost ~]# rpm -ivh e2fsprogs-devel ….
[root@localhost ~]# rpm -ivh libsepol-devel …
[root@localhost ~]# rpm -ivh libselinux-devel…
[root@localhost ~]# rpm -ivh krb5-devel…
[root@localhost ~]# rpm-ivh zlib-devel…
[root@localhost ~]# rpm -ivh openssl-devel…
四、测试是否安装成功
[root@localhost ~]# which openssl
/usr/bin/openssl