Step One: Getting the packages below and the website is
make-3.80-ia64-11.22.depot
openssh-4.2p1-src-11.11.tar.gz
zlib-1.2.3-src-11.11.tar.gz
openssl-0.9.8d-src-11.11.tar.gz
perl-5.8.7-src-11.11.tar.gz [openssl needed]
Step Two: Installing the packages
Make
By default, the make program in the machine is non GNU make program. So we need to install the new make binary and is named gmake.
We need to do the following as well after installation.
1. ln -s /usr/local/bin/gmake /usr/local/bin/make
2. export PATH=/usr/local/bin$PATH
3. Then run 'which make', make sure the result is /usr/local/bin/make.
Zlib
=====================================
bash-3.00# gunzip zlib-1.2.3-src-11.11.tar.gz
bash-3.00# tar xf zlib-1.2.3-src-11.11.tar
bash-3.00# cd zlib-1.2.3
bash-3.00# ./configure
bash-3.00# gmake
bash-3.00# gmake install
=====================================
Perl
=====================================
bash-3.00# gunzip perl-5.8.7-src-11.11.tar.gz
bash-3.00# tar xf perl-5.8.7-src-11.11.tar
bash-3.00# cd perl-5.8.7
bash-3.00# ./configure
bash-3.00# gmake
bash-3.00# gmake install
=====================================
OpenSSL
=====================================
bash-3.00# gunzip openssl-0.9.8d-src-11.11.tar.gz
bash-3.00# tar xf openssl-0.9.8d-src-11.11.tar
bash-3.00# cd openssl-0.9.8d
bash-3.00# ./configure
bash-3.00# gmake
bash-3.00# gmake install
=====================================
OpenSSH
=====================================
bash-3.00# gunzip openssh-4.2p1-src-11.11.tar.gz
bash-3.00# tar xf openssh-4.2p1-src-11.11.tar
bash-3.00# cd openssh-4.2p1
bash-3.00# ./configure --with-pam --with-zlib=/usr/local/lib/hpux32
bash-3.00# gmake
bash-3.00# gmake install host-key check-config
=====================================
Step Three: Remove the old sshd
=====================================
bash-3.00# rm -rf /usr/bin/ssh
bash-3.00# rm -rf /usr/sbin/sshd
bash-3.00# ln -s /usr/local/bin/ssh /usr/bin/ssh
bash-3.00# ln -s /usr/local/sbin/sshd /usr/sbin/sshd
=====================================
阅读(2641) | 评论(0) | 转发(0) |