Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1430004
  • 博文数量: 244
  • 博客积分: 3353
  • 博客等级: 中校
  • 技术积分: 3270
  • 用 户 组: 普通用户
  • 注册时间: 2011-11-09 17:56
文章分类

全部博文(244)

文章存档

2023年(7)

2022年(7)

2021年(4)

2020年(1)

2019年(2)

2017年(2)

2016年(3)

2015年(11)

2014年(20)

2013年(10)

2012年(176)

分类: 系统运维

2012-05-26 14:10:40

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
=====================================
阅读(2584) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~