How to install Saltstack on CentOS?

0 votes
How to install Saltstack on CentOS?
Feb 27 in DevOps Tools by Dipti
31 views

1 answer to this question.

0 votes

Hey @Dipti, follow these steps to install Saltstack on CentOS

Execute these commands on Salt master

# yum update
# yum install https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el7.noarch.rpm
# yum clean expire-cache
# yum install salt-master -y

Modify configuration file

# vim /etc/salt/master
Find and replace master IP (uncomment it)
interface: 192.168.0.161

Start and enable salt master

# systemctl start salt-master.service
# systemctl enable salt-master.service

Modify firewall rules:

# firewall-cmd --permanent --zone=public --add-port=4505-4506/tcp
# firewall-cmd --reload

Install salt minion on all minion nodes

# firewall-cmd --permanent --zone=public --add-port=4505-4506/tcp
# firewall-cmd --reload
# yum update
# yum install https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el7.noarch.rpm
# yum clean expire-cache
# yum install salt-minion -y

Modify minion configuration file

# vim /etc/salt/minion
Find and replace master IP (uncomment it)
master: 192.168.0.161

Start and enable minion

# systemctl start salt-minion.service
# systemctl enable salt-minion.service
answered Feb 27 by Avinash

Related Questions In DevOps Tools

0 votes
1 answer

How to install Nagios on CentOS?

Follow these steps: Install the required packages yum install ...READ MORE

answered Feb 27 in DevOps Tools by Avinash
38 views
0 votes
1 answer

How to install Splunk on CentOS?

Hey Alia,  Follow these steps to install Splunk ...READ MORE

answered Feb 27 in DevOps Tools by Anvit
106 views
0 votes
1 answer
0 votes
1 answer

How to deploy kafka cluster on cloud?

You can run kafka in both ways ...READ MORE

answered Jun 14, 2018 in DevOps Tools by DareDev
• 6,810 points
49 views
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
73 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
125 views
0 votes
1 answer

How do I install Splunk on Windows?

Hi haseeb, you can install Splunk Enterprise ...READ MORE

answered Feb 28 in DevOps Tools by Kalgi
79 views
+1 vote
2 answers

Trying to make a PHP code work in bluemix

example to @Nilesh's explanation: $html = '<html> ...READ MORE

answered Oct 25, 2018 in DevOps Tools by akaash
27 views