salt-Debian GNU/Linux / Raspbian-install
2016-10-15 17:16
344 查看
DEBIAN GNU/LINUX / RASPBIAN
Debian GNU/Linux distribution and some derivatives such as Raspbian already have included Salt packages to their repositories. However, current stable release codenamed "Jessie" contains old outdated Salt release. It is recommended to use SaltStack repository for Debian as described below.Installation from official Debian and Raspbian repositories is described here.Debian GNU/Linux 发行版和一些衍生版比如Raspbian,在这些版本的仓库中已经有Salt 包。然而,现在的稳定版本代码名字Jessie,Jessie包含老的、过时的Salt版本。对于Debian,我们推荐用SaltStack仓库,描述如下:从官方的Debian和Raspbian仓库中安装,在下面描述:
---------------------------------------------------------------------------------------------------------------------------------------------------
INSTALLATION FROM THE OFFICIAL SALTSTACK REPOSITORY
Packages for Debian 8 (Jessie) and Debian 7 (Wheezy) are available in the Official SaltStack repository.Instructions are at https://repo.saltstack.com/#debian.从官方的SALTSTACK仓库里安装在官方的Saltstack仓库中,Debian 8(Jessie)和Debian 7(Wheezy)的包都是可用的。
在https://repo.saltstack.com/#debian上有介绍。
---------------------------------------------------------------------------------------------------------------------------------------------------
NoteRegular security support for Debian 7 ended on April 25th 2016. As a result, 2016.3.1 and 2015.8.10 will be the last Salt releases for which Debian 7 packages are created.注意
截止到2016年4月25日,对于Debian 7的常规的安全支持结束了。这就导致了,2016.3.1和2015.8.10将是Debian7上最后的两个软件版本。
---------------------------------------------------------------------------------------------------------------------------------------------------
INSTALLATION FROM THE DEBIAN / RASPBIAN OFFICIAL REPOSITORY
Stretch (Testing) and Sid (Unstable) distributions are already contain mostly up-to-date Salt packages built by Debian Salt Team. You can install Salt components directly from Debian.从DEBIAN/RASPBIAN官方仓库里安装Debian的Salt团队使Stretch(测试版)和Sid(不稳定版)发行版已经包含大多数最新的Salt包。你可以直接从Debian安装Salt的组件。
---------------------------------------------------------------------------------------------------------------------------------------------------
On Jessie (Stable) there is an option to install Salt minion from Stretch with python-tornadodependency from jessie-backports repositories.
从Stretch到Jessie版本,用jessie-backports仓库并且用python-tornadodependency选项安装Salt minion。
---------------------------------------------------------------------------------------------------------------------------------------------------
To install fresh release of Salt minion on Jessie:Add jessie-backports and stretch repositories:Debian:
echo 'deb http://httpredir.debian.org/debian jessie-backports main' >> /etc/apt/sources.listecho 'deb http://httpredir.debian.org/debian stretch main' >> /etc/apt/sources.listRaspbian:
echo 'deb http://archive.raspbian.org/raspbian/ stretch main' >> /etc/apt/sources.list
Make Jessie a default release:
echo 'APT::Default-Release "jessie";' > /etc/apt/apt.conf.d/10apt
Install Salt dependencies:Debian:
apt-get update apt-get install python-zmq python-tornado/jessie-backports salt-common/stretchRaspbian:
apt-get update apt-get install python-zmq python-tornado/stretch salt-common/stretch
Install Salt minion package from Stretch:
apt-get install salt-minion/stretch
在Jessie上面安装最新的Salt minion版本:
添加 jessie-backports 和 stretch 仓库:Debian:
echo 'deb http://httpredir.debian.org/debian jessie-backports main' >> /etc/apt/sources.listecho 'deb http://httpredir.debian.org/debian stretch main' >> /etc/apt/sources.listRaspbian:
echo 'deb http://archive.raspbian.org/raspbian/ stretch main' >> /etc/apt/sources.list
设置Jessie为默认版本:
echo 'APT::Default-Release "jessie";' > /etc/apt/apt.conf.d/10apt
安装Salt所依赖的软件:Debian:
apt-get update apt-get install python-zmq python-tornado/jessie-backports salt-common/stretchRaspbian:
apt-get update apt-get install python-zmq python-tornado/stretch salt-common/stretch
从Stretch仓库安装Salt minion:
apt-get install salt-minion/stretch
---------------------------------------------------------------------------------------------------------------------------------------------------
INSTALL PACKAGES
Install the Salt master, minion or other packages from the repository with the apt-get command. These examples each install one of Salt components, but more than one package name may be given at a time:apt-get install salt-api
apt-get install salt-cloud
apt-get install salt-master
apt-get install salt-minion
apt-get install salt-ssh
apt-get install salt-syndic
安装包
用apt-get命令从仓库里面(源)安装Salt master,minion或者其他软件包.下面这个示例每次都是安装一个Salt 组件,但是也可以一次安装多个包。
---------------------------------------------------------------------------------------------------------------------------------------------------
POST-INSTALLATION TASKS
Now, go to the Configuring Salt page.安装后的工作现在,去配置Salt的页面。相关文章推荐
- [18]Debian Linux Install GNU GCC Compiler and Development Environment
- How to install and configure Jabber Server (Ejabberd) on Debian Lenny GNU / Linux
- Debian Linux Install GNU GCC Compiler and Development Environment
- tenda u1 usb wireless device install driver for kali linux kernal Debian 4.3.3-7kali2 (2016-01-27) x86_64 GNU/Linux
- Debian GNU/Linux上输入法的设置
- 从FreeBSD迁移到Debian GNU/Linux
- 我的Debian GNU/Linux——安装篇
- How to install Firefox 17 on Linux Mint, Ubuntu, Debian, CentOS, Fedora ... or any other Linux dist
- GNU/Linux Debian + MySQL 5.0+ Java + "C++" + Eclipse 的N种可能
- VMWare Debian GNU/Linux 图形界面安装 [大三四八九月实习]
- Install vmware tools in debian linux
- Setting Up A PXE Install Server For Multiple Linux Distributions and WinPE On Debian Lenny
- 第 10 章 - 定制 Debian GNU/Linux 的安装
- Debian GNU/Linux 5.0 发布
- Linux----How to install flash player in debian?
- 在 Debian GNU/Linux 中安装 TeXLive
- How to boot Debian GNU/Linux without entering X GUI
- 怎样在 Debian GNU/Linux 下用POP3协议收信
- windows XP 下硬盘安装 Debian GNU/Linux 5.0 Lenny
- Debian / Ubuntu linux install kernel headers package