centos6安装SaltStack

一 配置yum源

配置之前先备份

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo 

二 安装环境包

yum -y install python-crypto m2crypto PyYAML python-mako python-setuptools Cython

wget -c http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
三安装
yum -y install salt-master  //master
yum -y install salt-minion  //client

 

 
posted @ 2017-04-13 16:09  LaniLai  阅读(433)  评论(0编辑  收藏  举报