---
layout: post
title: 安装Saltsock详细部署
tagline: "salt sock 运维\_"
category: null
tags: []
published: true

---

##0x01 安装

按照[官网][1]的说明安装

1.取得saltstack的KEY
`wget -O - http://repo.saltstack.com/apt/debian/7/amd64/2016.3/SALTSTACK-GPG-KEY.pub | sudo apt-key add -`

2.创建文件**etc/apt/sources.list.d/saltstack.list:**
`deb http://repo.saltstack.com/apt/debian/7/amd64/2016.3 wheezy main`

3.**sudo apt-get update**

4.按照服务器不同角色选择安装以下部件

`
* sudo apt-get install salt-master
* sudo apt-get install salt-minion
* sudo apt-get install salt-ssh
* sudo apt-get install salt-syndic
* sudo apt-get install salt-cloud
* sudo apt-get install salt-api
`

[1]:https://repo.saltstack.com/#debian "Saltstack"

---
layout: post
title: 安装Saltsock详细部署
tagline: "salt sock 运维\_"
category: null
tags: []
published: true

---

##0x01 安装

按照[官网][1]的说明安装(此安装适用于Debian)Cenos使用[这里][2]的说明

1.取得saltstack的KEY
`wget -O - http://repo.saltstack.com/apt/debian/7/amd64/2016.3/SALTSTACK-GPG-KEY.pub | sudo apt-key add -`

2.创建文件**etc/apt/sources.list.d/saltstack.list:**
`deb http://repo.saltstack.com/apt/debian/7/amd64/2016.3 wheezy main`

3.**sudo apt-get update**

4.按照服务器不同角色选择安装以下部件

`
* sudo apt-get install salt-master
* sudo apt-get install salt-minion
* sudo apt-get install salt-ssh
* sudo apt-get install salt-syndic
* sudo apt-get install salt-cloud
* sudo apt-get install salt-api
`

[1]:https://repo.saltstack.com/#debian "Saltstack"
[2]:https://repo.saltstack.com/#rhel   "Centos Salt"

Update by gitblog.io at 2016年6月16日 GMT+8 14:31:43
Update by gitblog.io at 2016年6月16日 GMT+8 14:31:43