ITPub博客

首页 > 应用开发 > IT综合 > Aix5.3安装Bash环境

Aix5.3安装Bash环境

原创 IT综合 作者:wuyuanyong 时间:2010-07-12 13:58:36 0 删除 编辑

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、注销,重新登陆系统,搞定~~~

本文出自 “韦少乾 - 服务器系统架构” 博客,

本文出自:http://eryin.blog.51cto.com/320220/244593

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/13879334/viewspace-1035167/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    46
  • 访问量
    112906