HP-UX 安装使用bash shell

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/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值