`
eryin
  • 浏览: 20141 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
社区版块
存档分类
最新评论

Aix5.3安装Bash环境[原创]

阅读更多

bash shell是linux上默认的shell,可以使用tab补全,上下键切换历史命令等,比AIX(大部分的Unix系统)默认的ksh shell好用。

 

IBM提供的所有AIX下能够安装的LINUX下的软件下载地址,里面包含bash shell:

 

http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html

 

1、下载bash软件

 

ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/bash/bash-3.2-1.aix5.2.ppc.rpm

 

2、安装bash软件

 

rpm -ivh bash-3.2-1.aix5.2.ppc.rpm

 

3、修改用户环境变量,$HOME/.profile添加:

 

export PS1="[\u@\h \W]#"

 

4、修改/etc/security/login.cfg,在shells属性添加bash命令:

 

shells = /bin/bash,/bin/sh,/bin/bsh......

 

5、修改/etc/passwd,修改用户的默认shell,如:

 

root:!:0:0::/:/bin/bash

 

6、注销,重新登陆系统,搞定~~~


本文来自:韦少乾博客(mven.cn)
详细出处:http://mven.cn/post/45.html

0
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics