Centos deployment automation software

A mounting Salt
Salt 1.1 installs the specified version of the
resolve of the upstream error pycryptodome
RPM -e - nodeps python2-pycryptodomex
yum install Python Crypto-
run command to install SaltStack repository and key:
RPM --import HTTPS: //repo.saltstack .com / yum / redhat / 7 /
x86_64 / archive / 2016.11.10 / SALTSTACK-GPG-KEY.pub arranged salt yum source
More /etc/yum.repos.d/saltstack.repo
[saltstack the repo-]
name = saltStack the repo RHEL for / the releasever the CentOS $
BaseURL = https://repo.saltstack.com/yum/redhat/$releasever/$basearch/archive/2016.11.10
Enabled. 1 =
gpgcheck. 1 =
gpgkey = https://repo.saltstack.com /yum/redhat/$releasever/$basearch/archive/2016.11.10/SALTSTACK-GPG-KEY.pub
Clear cache yum
yum clean expire-cache
Master-installation salt
yum install salt-Master
starts salt service
systemctl restart salt-master
view salt version
salt --version
salt 2016.11.10 (Carbon)
to configure the boot
systemctl List-Unit-Files | grep salt
systemctl enable salt-Master

Guess you like

Origin blog.51cto.com/11676712/2475405