HP-UX 安装使用bash shell
一.环境:
lsyxdb#[/usr/local/bin]cat /etc/issue
GenericSysName [HP Release B.11.31] (see /etc/issue)
lsyxdb#[/usr/local/bin]uname -a
HP-UX lsyxdb B.11.31 U ia64 2284958208 unlimited-user license
二.下载:
http://hpux.connect.org.uk/hppd/hpux/Shells
从以上链接搜索下载如下的包:
bash
gettext
libiconv
termcap
最新的版本:
bash-4.1.007-ia64-11.31.depot.gz
gettext-0.18-ia64-11.31.depot.gz
libiconv-1.13.1-ia64-11.31.depot.gz
termcap-1.3.1-ia64-11.31.depot.gz
三.安装:
1.ftp到/tmp/bash/
2.解压:gunzip *.gz
3.swinstall -s /tmp/bash/bash-4.1.007-ia64-11.31.depot(其他3个包也要安装)
4.安装完成后:
lsyxdb#[/usr/local/bin]cd /usr/local/bin
lsyxdb#[/usr/local/bin]ls
autopoint dbhome gettextize msgcmp msgexec msginit ngettext
bash envsubst iconv msgcomm msgfilter msgmerge oraenv
bashbug gettext msgattrib msgconv msgfmt msgunfmt recode-sr-latin
coraenv gettext.sh msgcat msgen msggrep msguniq xgettext
四.使用:
修改/etc/passwd,将用户的shell制定到/usr/local/bin/bash
test:yWMR1VlplBO/o:111:20::/home/test:/usr/local/bin/bash
要在AIX上安装、使用bash shell,只需要安装bash-3.2-1.aix5.2.ppc.rpm即可。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/23135684/viewspace-666734/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/23135684/viewspace-666734/