How to install Saltstack on CentOS

0 votes
How to install Saltstack on CentOS?
Feb 27, 2019 in DevOps Tools by Dipti
1,359 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 
# 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 
# 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, 2019 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, 2019 in DevOps Tools by Avinash
905 views
0 votes
1 answer

How to install Splunk on CentOS?

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

answered Feb 27, 2019 in DevOps Tools by Anvit
2,343 views
0 votes
1 answer

How do I install saltstack on Ubuntu?

Hey @Nishu, follow these steps to install ...READ MORE

answered Feb 26, 2019 in DevOps Tools by Harsha
4,599 views
+2 votes
0 answers

How do I install Maven on CentOS?

I went through below menetioned tutorial https://www.edureka.co/community/38761/how-do-i-install-maven-on-centos but somehow ...READ MORE

Dec 27, 2019 in DevOps Tools by Manoj
• 140 points
783 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
1,180 views
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,035 views
0 votes
1 answer

How do I install Splunk on Windows?

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

answered Feb 28, 2019 in DevOps Tools by Kalgi
1,161 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
790 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP