首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 网络基础 >

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

2012-07-03 
Aix5.3安装Bash环境[原创]bash shell是linux上默认的shell,可以使用tab补全,上下键切换历史命令等,比AIX(

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

热点排行