先獲得安裝文件openssh.tar,,然后解壓該文件,如
#tar xvf openssh.tar
x openssh5.2
x openssh5.2/openssh
x openssh5.2/openssh/openssh.base, 1580032 bytes, 3086 media blocks.
x openssh5.2/openssh/openssh.license, 504832 bytes, 986 media blocks.
x openssh5.2/openssh/openssh.man.en_US, 111616 bytes, 218 media blocks.
……
#cd openssh5.2
#ls -l
total 0
drwxr-x— 2 502 502 256 Sep 21 03:59 openssh
drwxr-x— 2 502 502 256 Sep 21 03:59 openssl
先安裝ssl
#cd openssl
#smit install_latest
選擇當(dāng)前目錄,注意中括號中的“.”號
* INPUT device / directory for software [.]
回車后,,選擇
SOFTWARE to install
選擇默認(rèn)的_all_latest(這個選擇最好保證本目錄只有ssl的安裝文件),,或者是按F4或者Esc 4,得到軟件列表,,用F7或者Esc 7選擇上ssl的全部軟件
Press Enter AFTER making all selections.
> openssl-0.9.7d ALL
R:openssl-0.9.7d 0.9.7d
> openssl-devel-0.9.7d ALL
R:openssl-devel-0.9.7d 0.9.7d
> openssl-doc-0.9.7d ALL
R:openssl-doc-0.9.7d 0.9.7d
回車,,選擇接受許可協(xié)議為yes
ACCEPT new license agreements? yes
回車開始安裝,,如下為安裝成功的界面
Command: OK stdout: yes stderr: no
Before command completion, additional instructions may appear below.
geninstall -I “a -cgNQqwX -J” -Z -d . -f File 2>&1
File:
openssl-0.9.7d
openssl-devel-0.9.7d
openssl-doc-0.9.7d
Validating RPM package selections …
openssl ##################################################
openssl-devel ##################################################
openssl-doc ##################################################
通過如下命令可以查看安裝了的ssl
IXDBA.NET社區(qū)論壇
#rpm -qa|grep ssl
openssl-0.9.7d-1
openssl-devel-0.9.7d-1
openssl-doc-0.9.7d-1
ssl安裝之后,就可以安裝ssh軟件了
進(jìn)入到ssh的目錄
#cd openssh
#smit install_latest
選擇當(dāng)前目錄,,注意中括號中的“.”號
* INPUT device / directory for software [.]
回車后,,選擇
SOFTWARE to install
安裝所有可以安裝的ssh軟件,或者是默認(rèn)全部軟件(確保該目錄只有ssh),。
選擇
ACCEPT new license agreements? yes
否則,,將安裝不成功。
回車執(zhí)行,,顯示OK將表示安裝成功,,安裝過的文件集可以通過如下命令查看。
#lslpp -l openssh*
Fileset Level State Description
———————————————————————————
Path: /usr/lib/objrepos
openssh.base.client 3.8.0.5200 COMMITTED Open Secure Shell Commands
openssh.base.server 3.8.0.5200 COMMITTED Open Secure Shell Server
openssh.license 3.8.0.5200 COMMITTED Open Secure Shell License
openssh.man.en_US 3.8.0.5200 COMMITTED Open Secure Shell
Documentation -U.S. English
Path: /etc/objrepos
openssh.base.client 3.8.0.5200 COMMITTED Open Secure Shell Commands
openssh.base.server 3.8.0.5200 COMMITTED Open Secure Shell Server