loading

运维

Centos7.4/RHEL7.4-Linux安装自动化运维工具Salstack

宝塔服务器面板¥3188大礼包,请点击领取!

实验环境:RHEL7.4
官网地址:https://saltstack.com/
Centos7.4/RHEL7.4-Linux安装自动化运维工具Salstack

[[email protected] ~]# yum install https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el7.noarch.rpm -y ---安装源
[[email protected] ~]# yum install salt-master salt-minion salt-ssh salt-syndic salt-cloud salt-api -y ---安装所需软件包[[email protected] ~]# systemctl restart salt-minion
[[email protected] ~]# vim /etc/salt/master ---修改配置文件

interface: 192.168.127.66 ---写本地IP,默认监听所有

[[email protected] ~]# vim /etc/salt/minion

master: 192.168.127.66

[[email protected] ~]# systemctl restart salt-master salt-minion salt-api --重启服务
[[email protected] ~]# netstat -lntp |egrep "4505|4506"
tcp 0 0 192.168.127.66:4505 0.0.0.0:* LISTEN 1665/python
tcp 0 0 192.168.127.66:4506 0.0.0.0:* LISTEN 1671/python

此时Saltstack安装成功。

(0)

本文由 podipod软库网 作者:Anonymous 发表,转载请注明来源!

全国计算机等级考试题库

热评文章

发表评论