saltstack学习笔记1 --安装

salt官网:http://docs.saltstack.cn/zh_CN/latest/ 
安装教程:

- http://docs.saltstack.cn/zh_CN/latest/topics/installation/index.html
- http://sofar.blog.51cto.com/353572/1596960
 

1 安装依赖组件

参考:http://docs.saltstack.cn/zh_CN/latest/topics/installation/index.html,在类UNIX环境依赖如下:

Salt可以运行在类Unix平台,安装时需要解决如下依赖:

Python >= 2.6 <3.0
msgpack-python - 高性能的消息交换格式

YAML - Python YAML bindings
Jinja2 - 解析Salt States (在master配置文件中配置)

MarkupSafe - Implements a XML/HTML/XHTML Markup safe string for Python
apache-libcloud - 与大量的主流云服务提供者进行交互时统一API的Python类

Requests - HTTP library
Depending on the chosen Salt transport, ZeroMQ or RAET, dependencies vary:

ZeroMQ:
ZeroMQ >= 3.2.0
pyzmq >= 2.2.0 - ZeroMQ Python bindings
PyCrypto - Python密码工具包

M2Crypto - "又一个加密模块" - Python OpenSSL封装

RAET:
libnacl - Python bindings to libsodium
ioflo - The flo programming interface raet and salt-raet is built on
RAET - The worlds most awesome UDP protocol
 

1.1 安装python

参考网上安装文档

posted @ 2016-08-26 00:41  SailorXiao  阅读(223)  评论(0编辑  收藏  举报