saltstack python3_centos7 python3 Saltstack配置

Python安装完毕后,提示找不到ssl模块

pip is configured with locations that require TLS/SSL, however the ssl module in python is not available.

缺少OpenSSL,

1 yum 安装*

yum install openssl-devel -y

2 重新编译Python3

进入Python的源码路径

make&&make install

subprocess

pip3 安装subprocess 出现下面的问题,实际上Python3 内置了,不需要重新安装

Could not find a version that satisfies the requirement subprocess (from versions: ) No matching d

安装saltstack

查看Centos版本 cat /etc/redhat-release

安装

Master

1. 安装salt-master

yum install salt-master

2. 修改配置文件:/etc/salt/master

interface: 0.0.0.0 # 表示Master的IP

3. 启动

service salt-master start

Minion

1. 安装salt-minion

yum install salt-minion

2. 修改配置文件 /etc/salt/minion

master: 10.211.55.4 # master的地址

ma

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值