ansible2.7 python3.7 redhat6.8
python 下载安装:./configure--prefix=/ansible/pythonmakemake install报错: ModuleNotFoundError: No module named '_ctypes'解决方法: 下载安装:libffi-devel-3.0.5-3.2.el6.x86_64.rpm重新编译安装python为python3建立软连接: ln p...
·
python 下载安装:
- ./configure --prefix=/ansible/python
- make
- make install
报错: ModuleNotFoundError: No module named '_ctypes'
解决方法:
下载安装:libffi-devel-3.0.5-3.2.el6.x86_64.rpm
重新编译安装python - 为python3建立软连接: ln python3 python
- 在shell中指定环境变量PATH
ansible 下载安装两种方式:
https://releases.ansible.com/ansible/
- 安装依赖包
- python setup.py inslall
https://releases.ansible.com/ansible/rpm/ - 安装依赖包: python-jinja/sshpass
- 安装ansible
ssh 免密码验证
- client: ssh-keygen -t rsa
- client: ssh-copy-id <user>@<server_ip>
转载于:https://blog.51cto.com/12408798/2373132
更多推荐
已为社区贡献1281条内容
所有评论(0)