日期:2014-05-16  浏览次数:20651 次

Linux下openssh升级
Linux下openssh升级
Linux下openssh升级
1:因为openssh需要openssl,所以先更新openssl,下载openssl,

http://www.openssl.org/source/

,我下载的是

3459643 Sep 15 16:35:55 2008 openssl-0.9.8i.tar.gz (MD5) (SHA1) (PGP sign) [LATEST]

我现在的版本是:openssl-0.9.7,想把它升级到 openssl-0.9.8
2:我下载的是

openssl-0.9.8i.tar.gz, 放到/home/software下

tar -zxvf? openssl-0.9.8i.tar.gz

cd openssl-0.9.8i


./config shared zlib? --prefix=/usr/local/openssl
make
?
make install

which openssl会发现openssl在/usr/bin目录下

mv /usr/bin/openssl /usr/bin/openssl.bak
mv /usr/include/openssl /usr/include/openssl.bak

cd /usr/bin

ln -s /usr/local/openssl/bin/openssl???????? openssl