AIX 6.1安装python
来源:互联网 发布:常熟淘宝开店 编辑:程序博客网 时间:2024/06/09 15:36
目的:尝试ansible是否可以管理AIX系统的节点,在节点机上需要安装python
1.下载安装python需要的包
http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html
2.下载以下rpm包
gdbm-1.8.3-5.aix5.2.ppc
gdbm-devel-1.8.3-5.aix5.2.ppc
readline-6.1-1.aix6.1.ppc
readline-devel-6.1-1.aix6.1.ppc
python-2.7.5-1.aix6.1.ppc
python-devel-2.7.5-1.aix6.1.ppc
python-tools-2.7.5-1.aix6.1.ppc
3.安装顺序,按照上面的顺序依次安装
# rpm -ivh gdbm-1.8.3-5.aix5.2.ppc.rpm
gdbm ##################################################
# gdbm-devel-1.8.3-5.aix5.2.ppc.rpm^C
# rpm -ivh gdbm-devel-1.8.3-5.aix5.2.ppc.rpm
gdbm-devel ##################################################
# rpm -ivh readline-6.1-1.aix6.1.ppc.rpm
readline ##################################################
install-info: A file or directory in the path name does not exist. for //opt/freeware/info/history.info.gz
install-info: A file or directory in the path name does not exist. for //opt/freeware/info/readline.info.gz
execution of readline-6.1-1 script failed, exit status 1
# rpm -ivh readline-devel-6.1-1.aix6.1.ppc.rpm
readline-devel ##################################################
# rpm -ivh python-2.7.5-1.aix6.1.ppc.rpm
python ##################################################
# rpm -ivh python-devel-2.7.5-1.aix6.1.ppc.rpm
python-devel ##################################################
# rpm -ivh python-tools-2.7.5-1.aix6.1.ppc.rpm
python-tools ##################################################
4.在管理节点测试通过
[root@st005 ~]# ansible aix -m ping
10.1.4.166 | success >> {
"changed": false,
"ping": "pong"
}
[root@st005 ~]# ansible aix -a 'mkdir /opt/aspire/cuichao'
10.1.4.166 | success | rc=0 >>
在被管理节点检查已经创建成功
# pwd
/opt/aspire/cuichao
- AIX 6.1安装python
- AIX平台安装python
- 【AIX】在AIX下安装python
- 在AIX系统安装python
- AIX 6.1安装 Oracle11g
- AIX 6.1 安装rlwrap
- AIX 6.1 安装lsof
- AIX 6.1安装bash环境
- AIX安装
- AIX安装
- AIX 5.3L下安装Python 2.5.4
- AIX 6.1安装JDK6环境变量设置
- AIX 6.1安装oracle 11g
- AIX 7.1 install python
- AIX系统终极安装
- SYBASE FOR AIX安装
- aix完全安装
- aix l5.2安装
- Odoo中菜单打开时增加默认搜索条件
- 基于oracle数据库 emp表的一些练习
- 新 版 骗 分 导 论
- CentOS7.0下完美部署Solr 搜索引擎
- WebView内使用post加载url并添加header
- AIX 6.1安装python
- Runtime类
- 降低UIScrollView快速滑动后滚动的速度
- Android判断App是否在前台运行
- 【基础练习】链表排序,反转,划分,拷贝等
- IOS 网络请求返回数组解决方法
- 康华:浅谈软件可维护性问题
- ftp服务搭建
- 光标focus到文本末尾的方法