设为首页 收藏本站
查看: 682|回复: 0

[经验分享] salt-Debian GNU/Linux / Raspbian-install

[复制链接]

尚未签到

发表于 2018-5-14 12:03:18 | 显示全部楼层 |阅读模式
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>  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上有介绍。
  ---------------------------------------------------------------------------------------------------------------------------------------------------
  Note

  Regular 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>  注意
  截止到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>

  •   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.list  Raspbian:
    echo 'deb http://archive.raspbian.org/raspbian/ stretch main' >> /etc/apt/sources.list

  •   Make Jessie a default>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/stretch
      Raspbian:
    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.list  Raspbian:
    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/stretch
      Raspbian:
    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的页面。

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-459959-1-1.html 上篇帖子: 1.2 Kali与Debian的关系 下篇帖子: debian配置snmp团体名
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表