Today try to install the Saltstack Automated OPS tool on the CENTOS7, here are the installation steps:
First of all, we install the Bash-completion package, which can complement the CENTOS7 command.
Yum Install-y bash-completion
About the service startup issue:
First, set up the service boot automatically:
Systemctl Enable Salt-master
Check to see if the boot startup is set up:
Systemctl is-enabled Salt-master
Start the service:
Systemctl Restart Salt-master
View service Status:
[Email protected] ~]# systemctl status Salt-master
Salt-master.service-the Salt Master Server
Loaded:loaded (/usr/lib/systemd/system/salt-master.service; enabled; vendor preset:disabled)
Active: Active (running) since Tue 2016-12-06 09:07:32 EST; 22min ago
Main pid:2734 (Salt-master)
CGroup:/system.slice/salt-master.service
├─2734/usr/bin/python/usr/bin/salt-master
├─2741/usr/bin/python/usr/bin/salt-master
├─2742/usr/bin/python/usr/bin/salt-master
├─2743/usr/bin/python/usr/bin/salt-master
├─2746/usr/bin/python/usr/bin/salt-master
├─2747/usr/bin/python/usr/bin/salt-master
├─2748/usr/bin/python/usr/bin/salt-master
├─2751/usr/bin/python/usr/bin/salt-master
├─2752/usr/bin/python/usr/bin/salt-master
├─2755/usr/bin/python/usr/bin/salt-master
└─2756/usr/bin/python/usr/bin/salt-master
Dec 09:07:31 Localhost.localdomain systemd[1]: Starting the Salt Master Server ...
Dec 09:07:32 localhost.localdomain systemd[1]: Started the Salt Master Server.
This article is from the "Victor's Struggle" blog, please be sure to keep this source http://victor2016.blog.51cto.com/6768693/1880180
The saltstack of automatic operation and maintenance tools