前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >ansible2.7 python3.7

ansible2.7 python3.7

作者头像
py3study
发布2020-01-13 11:23:39
8220
发布2020-01-13 11:23:39
举报
文章被收录于专栏:python3python3

python 下载安装:

  1. ./configure --prefix=/ansible/python
  2. make
  3. make install 报错: ModuleNotFoundError: No module named '_ctypes' 解决方法: 下载安装:libffi-devel-3.0.5-3.2.el6.x86_64.rpm 重新编译安装python
  4. 为python3建立软连接: ln python3 python
  5. 在shell中指定环境变量PATH

ansible 下载安装两种方式:

https://releases.ansible.com/ansible/

  1. 安装依赖包
  2. python setup.py inslall https://releases.ansible.com/ansible/rpm/
  3. 安装依赖包: python-jinja/sshpass
  4. 安装ansible

ssh 免密码验证

  1. client: ssh-keygen -t rsa
  2. client: ssh-copy-id <user>@<server_ip>
本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2019-07-23 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • python 下载安装:
  • ansible 下载安装两种方式:
  • ssh 免密码验证
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档