ITPub博客

首页 > Linux操作系统 > Linux操作系统 > HP-UX 安装使用bash shell

HP-UX 安装使用bash shell

原创 Linux操作系统 作者:尛样儿 时间:2010-06-30 17:07:57 0 删除 编辑

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博客 ” ,链接:https://blog.itpub.net/23135684/viewspace-666734/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle数据库管理员,Oracle数据库系统构架员;2012年7月出版《构建最高可用Oracle数据库系统:Oracle 11gR2 RAC管理、维护与性能优化》一书;Oracle 10g OCM。

注册时间:2010-01-05

  • 博文量
    483
  • 访问量
    5650369