SlideShare a Scribd company logo
1 of 15
Download to read offline
How To Install and Configure Salt Master on Ubuntu
i | P a g e
Contents
Overview.......................................................................................................................................................1
Applies To......................................................................................................................................................2
Pre-requisites................................................................................................................................................2
Install Salt......................................................................................................................................................2
What is PPA?.............................................................................................................................................2
Install PPA Salt Repository........................................................................................................................2
Package Install – Resync Package & Dependencies..............................................................................3
Salt Master – Install Package ....................................................................................................................3
Salt Master – View Package .....................................................................................................................4
Salt Master Configuration.............................................................................................................................4
Create Salt Directories ..............................................................................................................................5
Salt Directories – File Roots ..................................................................................................................5
Salt Directories – Pillar Roots................................................................................................................6
Configure Firewall – UFW Rules................................................................................................................6
View Firewall Rules – Salt Rules............................................................................................................7
View Firewall Rules – Current...............................................................................................................7
Activate Firewall Rule - Salt...................................................................................................................8
Configure Minion ..........................................................................................................................................8
Service Management – Salt ..........................................................................................................................9
Service Start – salt-master & salt-minion .............................................................................................9
Service Stop – salt-master & salt-minion..............................................................................................9
Service Status – salt-master & salt-minion...........................................................................................9
Salt Key Management – Key Identity........................................................................................................9
Salt-Key Management – Key Identity - Status Table...........................................................................10
Salt-Key Management – Key Identity - Commands Table...................................................................10
Key Management....................................................................................................................................11
Key Management - Listing Keys ..........................................................................................................11
Salt Key Management – Key Fingerprint – Master .............................................................................11
Salt Key Management – Key Fingerprint – Minion .............................................................................11
How To Install and Configure Salt Master on Ubuntu
ii | P a g e
Salt Key Management – Accept Key ...................................................................................................12
Salt Key Management – Verify Accept Key.........................................................................................12
Test Minion .............................................................................................................................................13
Salt Master – Test.Ping .......................................................................................................................13
Salt Master – Cmd.Run .......................................................................................................................13
Salt Master – Cmd.Run – Filtered Output...........................................................................................13
How To Install and Configure Salt Master on Ubuntu
1 | P a g e
Overview
Salt a configuration management system, capable of maintaining remote nodes in defined states (for
example, ensuring that specific packages are installed and specific services are running).
It’s a distributed remote execution system used to execute commands and query data on remote nodes,
either individually or by arbitrary selection criteria.
One of the major advantages of implementing “Salt” in managing your existing infrastructure are;
Features Description
Simplicity Salt is very simple to set up and maintain, regardless of the size of
the project.
The architecture of Salt is designed to work with any number of
servers, from a handful of local network systems to international
deployments across different data centers.
Parallel Execution Enable commands to remote systems to be called in parallel rather
than serially.
Use a secure and encrypted protocol.
Use the smallest and fastest network payloads possible.
Provide a simple programming interface.
Fast, Flexible and scalable System that can execute commands at high speed on target server
groups ranging from one to very many servers.
Salt is very fast, easy to set up.
Single remote execution architecture that can manage the diverse
requirements of any number of servers.
Built on Proven Technology Salt takes advantage of a number of technologies and techniques.
The networking layer is built with the excellent ZeroMQ networking
library;
so the Salt daemon includes a viable and transparent AMQ broker.
Salt uses public keys for authentication with the master daemon,
then uses faster AES encryption for payload communication;
Authentication and encryption are integral to Salt. Salt takes
advantage of communication via msgpack, enabling fast and light
network traffic.
Python client Interface Salt execution routines can be written as plain Python modules.
The data collected from Salt executions can be sent back to the
master server, or to any arbitrary program.
Open Source Salt is developed under the Apache 2.0 license, and can be used for
open and proprietary projects.
How To Install and Configure Salt Master on Ubuntu
2 | P a g e
Applies To
Ubuntu 14.x, tested on Ubuntu 14.04.2 LTS
Pre-requisites
 Python 2.7.6 or above
 Preferably, configuring salt master server hostname as “salt” is good
 System Update (Resynchronize Repository – Packages & dependencies)
Install Salt
To install salt packages, saltstack personal package archives (PPA) repository has to be added. In this
section we will install PPA, install saltstack packages.
What is PPA?
Personal Package Archives , allow you to upload Ubuntu source packages to be built and published as an
apt repository by Launchpad. PPAs are for non-standard software/updates.
Install PPA Salt Repository
To install saltstack bundle, saltstack repository has to be added to the system; to add “SaltStack PPA” run
the command;
dpkg-query -W --showformat='${Package}t ${Status}n' salt-*
Since saltstack related packages are not installed, we will go ahead and add PPA saltstack repository, to
add new repository, run the command;
sudo add-apt-repository ppa:saltstack/salt
How To Install and Configure Salt Master on Ubuntu
3 | P a g e
Package Install – Resync Package & Dependencies
After adding saltstack repository, overall update (resynchronization) from different repository for latest
packages and dependencies with newer versions is fetched and listed for update.
List of available packages is fetched from “/etc/apt/sources.list” file, to update run the command;
sudo apt-get update
Note: To upgrade the package(s) “apt-get upgrade <Package Name>” has to be executed.
Salt Master – Install Package
After confirming the pre-requisites are met, PPA is installed and system package update is done, next step
is to install salt master and related packages.
sudo apt-get install salt-master salt-minion salt-cloud salt-doc
How To Install and Configure Salt Master on Ubuntu
4 | P a g e
Salt Master – View Package
Once the installation of the salt-master is done, you can verify the installation status manually, by running
the either of the below command(s);
dpkg-query -l salt* or
dpkg-query -W --showformat='${Package}t ${Status}n' salt-*
Salt Master Configuration
After installing salt-master package on the server, there are few configurations steps have to be done so
that salt master can work efficiently.
When we start configuring saltstack, salt configuration directories have to be created, these directories
contain configuration management instructions; different configuration sections are listed below;
1) Salt Directories
a) File Roots
b) Pillar Roots
2) Configure Firewall
3) Configure Minion
4) Key Management
5) Test Minion
How To Install and Configure Salt Master on Ubuntu
5 | P a g e
Create Salt Directories
In this section we will create basic directories that are needed for salt, create directories for file server &
pillar; to create directories run the command; if the directories already exists, ignore command execution;
sudo mkdir -p /srv/{salt,pillar}
Salt Directories – File Roots
The Salt file server defaults to the mandatory base environment. This environment MUST be defined and
is used to download files when no environment is specified.
Environments allow for files and sls data to be logically separated, but environments are not isolated from
each other. This allows for logical isolation of environments by the engineer using Salt, but also allows for
information to be used in multiple environments.
This file server is built into the master daemon and does not require a dedicated port.
By default this configuration entry is disabled, to enable uncomment the entries as below;
file_roots:
base:
- /srv/salt
How To Install and Configure Salt Master on Ubuntu
6 | P a g e
Note: This attribute specifies the locations where the salt master has to look for configuration
management instructions.
Salt Directories – Pillar Roots
Pillars are tree-like structures of data defined on the Salt Master and passed through to minions. They
allow confidential, targeted data to be securely sent only to the relevant minion.
By default this configuration entry is disabled, to enable uncomment the entries as below;
pillar_roots:
base:
- /srv/pillar
Configure Firewall – UFW Rules
When salt is installed, salt installs firewall rules its read when the firewall is enabled, upon enabling
firewall will read salt firewall rules from the salt configuration file, stored in the folder;
ls -l /etc/ufw/applications.d/
How To Install and Configure Salt Master on Ubuntu
7 | P a g e
View Firewall Rules – Salt Rules
By default all application related firewall rules are stored in the directory “/etc/ufw/applications.d/”,
each application is configured as the need similarly, salt firewall rules file “salt.ufw” is created in the
directory, To view the rules that would be configured by salt when activated, run the command;
cat /etc/ufw/applications.d/salt.ufw
View Firewall Rules – Current
Before we configure the firewall rules, check current firewall rules configured on the server, run the
command; you need to switch to super user to check the firewall rules.
ufw status
How To Install and Configure Salt Master on Ubuntu
8 | P a g e
Activate Firewall Rule - Salt
If the firewall is enabled, activation of salt service rule(s) is necessary, to activate the firewall rule; run the
command;
ufw allow salt
Configure Minion
We will configure only master attribute which is required for the minion to connect & communicate.
In this demonstration, the minion should connect to the master process that is running on the same
machine as master. (both master and minion are deployed on same server)
Set the master key as local loopback address i.e., “127.0.0.1” in order for the minion to correctly connect.
vi /etc/salt/minion
master: 127.0.0.1
How To Install and Configure Salt Master on Ubuntu
9 | P a g e
Service Management – Salt
After configuring salt-minion, salt-master and salt-minion service have to started, this can be done with
service manager (system manager utility).
Service Start – salt-master & salt-minion
To start the salt-master service & salt-minion service, run the command;
sudo service salt-master start
sudo service salt-minion start
Service Stop – salt-master & salt-minion
To stop the salt-master service & salt-minion service, run the command;
sudo service salt-master stop
Service Status – salt-master & salt-minion
To check the service current status of salt-master service & salt-minion service, run the command;
sudo service salt-master status
Salt Key Management – Key Identity
Salt provides commands to validate the identity of your Salt master and Salt minions before the initial key
exchange.
Validating key identity helps avoid inadvertently connecting to the wrong Salt master, and helps prevent
a potential MiTM (man-in-the-middle) attack when establishing the initial connection.
How To Install and Configure Salt Master on Ubuntu
10 | P a g e
Salt-Key Management – Key Identity - Status Table
Salt-key executes simple management of Salt server public keys used for authentication.
Initially when the connection has to be established between Salt server and Salt Minion, a public key is
generated and sent to salt master. Generated key has to be accepted by Salt-Master. Following table will
give insight into the different states of keys and its purpose.
Minion Key Status Purpose
Unaccepted Keys Key is waiting to be accepted by the salt-master
Denied Keys Key was rejected using salt-key command; these minions can’t
communicate with salt-master
Accepted Keys Key has been accepted and minion can communicate with salt-master
Rejected Keys Key has been rejected by salt-master automatically, this state occurs when
there is a duplicate Minion ID, minion was rebuilt or when minion has
created a new key without deleting old minion key.
Salt-Key Management – Key Identity - Commands Table
Basic key management commands are listed below;
Salt-key Command Minion Key States
salt-key -L List all Keys
Salt-key -F Print all keys fingerprints
salt-key -a Accept Key
salt-key -l <Argument> List keys based on argument(all, accepted, rejected, denied and rejected)
salt-key -d <Argument> Delete key
How To Install and Configure Salt Master on Ubuntu
11 | P a g e
Key Management
Key management of salt-master and salt-minion is one of the most important tasks, which enables
authentication & communication between master/minion(s).
Key Management - Listing Keys
After starting salt-master & salt-minion, salt-minion will automatically generate key, this key has to be
accepted for authentication and communication between salt-master and salt-minion, when salt-minion
is started a key will be sent to salt-master; to list all the keys run the command;
salt-key --list all
Salt Key Management – Key Fingerprint – Master
After listing the keys, to accept the key that is generated, run the command; keys generate on minion and
listed on master should match, to know the key of a minion run the command;
salt-key -f salt
Salt Key Management – Key Fingerprint – Minion
After starting the salt-minion, a key is generated automatically, to know the key of local minion key run
the command;
salt-call key.finger --local
How To Install and Configure Salt Master on Ubuntu
12 | P a g e
Salt Key Management – Accept Key
After validating the key on salt-master and salt-minion, go ahead and accept the key on the salt-master,
to accept the key run the command;
salt-key -a salt
Salt Key Management – Verify Accept Key
After accepting the key on salt-master, to validate if the key is accepted run the command;
salt-key -f salt
How To Install and Configure Salt Master on Ubuntu
13 | P a g e
Test Minion
Once the key is accepted, we can do a test minion’s. In this section we will test few commands such as
(test.ping and cmd.run).
Salt Master – Test.Ping
We will run a first minion command, this command will communicate from salt-master and retrieve
current status all the minions “test.ping” all servers and show the results.
If the minion is communicating command will return “True” else it will return “False”
Note: It’s is not an ICMP ping command.
salt '*' test.ping
Salt Master – Cmd.Run
To run a command on the server, that is passed as an argument.
salt '*' cmd.run 'free -m'
Salt Master – Cmd.Run – Filtered Output
To run a command on the server, that is passed as an argument with a filtered output.
salt '*' cmd.run 'df -kh | grep -E "mapper|root"'

More Related Content

What's hot

How to installation and configure apache2
How to installation and configure apache2How to installation and configure apache2
How to installation and configure apache2VCP Muthukrishna
 
How To Install and Configure SUDO on RHEL 7
How To Install and Configure SUDO on RHEL 7How To Install and Configure SUDO on RHEL 7
How To Install and Configure SUDO on RHEL 7VCP Muthukrishna
 
How To Configure SNMP Logging on RHEL 7
How To Configure SNMP Logging on RHEL 7How To Configure SNMP Logging on RHEL 7
How To Configure SNMP Logging on RHEL 7VCP Muthukrishna
 
How to Upgrade Openfire on CentOS 7
How to Upgrade Openfire on CentOS 7How to Upgrade Openfire on CentOS 7
How to Upgrade Openfire on CentOS 7VCP Muthukrishna
 
Configure Run Levels RHEL 7 or CentOS 7
Configure Run Levels RHEL 7 or CentOS 7Configure Run Levels RHEL 7 or CentOS 7
Configure Run Levels RHEL 7 or CentOS 7VCP Muthukrishna
 
How to Install Configure and Use sysstat utils on RHEL 7
How to Install Configure and Use sysstat utils on RHEL 7How to Install Configure and Use sysstat utils on RHEL 7
How to Install Configure and Use sysstat utils on RHEL 7VCP Muthukrishna
 
LSOF Command Usage on RHEL 7
LSOF Command Usage on RHEL 7LSOF Command Usage on RHEL 7
LSOF Command Usage on RHEL 7VCP Muthukrishna
 
How To Install and Configure AWS CLI on RHEL 7
How To Install and Configure AWS CLI on RHEL 7How To Install and Configure AWS CLI on RHEL 7
How To Install and Configure AWS CLI on RHEL 7VCP Muthukrishna
 
How to Install MariaDB Server or MySQL Server on CentOS 7
How to Install MariaDB Server or MySQL Server on CentOS 7How to Install MariaDB Server or MySQL Server on CentOS 7
How to Install MariaDB Server or MySQL Server on CentOS 7VCP Muthukrishna
 
How To Configure Apache VirtualHost on RHEL 7 on AWS
How To Configure Apache VirtualHost on RHEL 7 on AWSHow To Configure Apache VirtualHost on RHEL 7 on AWS
How To Configure Apache VirtualHost on RHEL 7 on AWSVCP Muthukrishna
 
How To Install and Use ABRT CLI on RHEL 7
How To Install and Use ABRT CLI on RHEL 7How To Install and Use ABRT CLI on RHEL 7
How To Install and Use ABRT CLI on RHEL 7VCP Muthukrishna
 
How To Install and Generate Audit Reports in CentOS 7 or RHEL 7
How To Install and Generate Audit Reports in CentOS 7 or RHEL 7How To Install and Generate Audit Reports in CentOS 7 or RHEL 7
How To Install and Generate Audit Reports in CentOS 7 or RHEL 7VCP Muthukrishna
 
How To Install and Configure VSFTPD on RHEL 7 or CentOS 7
How To Install and Configure VSFTPD on RHEL 7 or CentOS 7How To Install and Configure VSFTPD on RHEL 7 or CentOS 7
How To Install and Configure VSFTPD on RHEL 7 or CentOS 7VCP Muthukrishna
 
How To Check IE Enhanced Security Is Enabled Windows PowerShell
How To Check IE Enhanced Security Is Enabled Windows PowerShellHow To Check IE Enhanced Security Is Enabled Windows PowerShell
How To Check IE Enhanced Security Is Enabled Windows PowerShellVCP Muthukrishna
 
Linux Basic Administration Commands Guide
Linux Basic Administration Commands GuideLinux Basic Administration Commands Guide
Linux Basic Administration Commands GuideVCP Muthukrishna
 
How To Install and Configure Apache SSL on CentOS 7
How To Install and Configure Apache SSL on CentOS 7How To Install and Configure Apache SSL on CentOS 7
How To Install and Configure Apache SSL on CentOS 7VCP Muthukrishna
 
Install VMWare Tools CentOS 7
Install VMWare Tools CentOS 7Install VMWare Tools CentOS 7
Install VMWare Tools CentOS 7VCP Muthukrishna
 
VMWare Tools Installation and Troubleshooting Guide
VMWare Tools Installation and Troubleshooting GuideVMWare Tools Installation and Troubleshooting Guide
VMWare Tools Installation and Troubleshooting GuideVCP Muthukrishna
 

What's hot (20)

How to installation and configure apache2
How to installation and configure apache2How to installation and configure apache2
How to installation and configure apache2
 
How To Install and Configure SUDO on RHEL 7
How To Install and Configure SUDO on RHEL 7How To Install and Configure SUDO on RHEL 7
How To Install and Configure SUDO on RHEL 7
 
How To Configure SNMP Logging on RHEL 7
How To Configure SNMP Logging on RHEL 7How To Configure SNMP Logging on RHEL 7
How To Configure SNMP Logging on RHEL 7
 
How to Upgrade Openfire on CentOS 7
How to Upgrade Openfire on CentOS 7How to Upgrade Openfire on CentOS 7
How to Upgrade Openfire on CentOS 7
 
Configure Run Levels RHEL 7 or CentOS 7
Configure Run Levels RHEL 7 or CentOS 7Configure Run Levels RHEL 7 or CentOS 7
Configure Run Levels RHEL 7 or CentOS 7
 
How to Install Configure and Use sysstat utils on RHEL 7
How to Install Configure and Use sysstat utils on RHEL 7How to Install Configure and Use sysstat utils on RHEL 7
How to Install Configure and Use sysstat utils on RHEL 7
 
LSOF Command Usage on RHEL 7
LSOF Command Usage on RHEL 7LSOF Command Usage on RHEL 7
LSOF Command Usage on RHEL 7
 
How To Install and Configure AWS CLI on RHEL 7
How To Install and Configure AWS CLI on RHEL 7How To Install and Configure AWS CLI on RHEL 7
How To Install and Configure AWS CLI on RHEL 7
 
How to Install MariaDB Server or MySQL Server on CentOS 7
How to Install MariaDB Server or MySQL Server on CentOS 7How to Install MariaDB Server or MySQL Server on CentOS 7
How to Install MariaDB Server or MySQL Server on CentOS 7
 
How To Configure Apache VirtualHost on RHEL 7 on AWS
How To Configure Apache VirtualHost on RHEL 7 on AWSHow To Configure Apache VirtualHost on RHEL 7 on AWS
How To Configure Apache VirtualHost on RHEL 7 on AWS
 
How To Install and Use ABRT CLI on RHEL 7
How To Install and Use ABRT CLI on RHEL 7How To Install and Use ABRT CLI on RHEL 7
How To Install and Use ABRT CLI on RHEL 7
 
How To Install and Generate Audit Reports in CentOS 7 or RHEL 7
How To Install and Generate Audit Reports in CentOS 7 or RHEL 7How To Install and Generate Audit Reports in CentOS 7 or RHEL 7
How To Install and Generate Audit Reports in CentOS 7 or RHEL 7
 
How To Install and Configure VSFTPD on RHEL 7 or CentOS 7
How To Install and Configure VSFTPD on RHEL 7 or CentOS 7How To Install and Configure VSFTPD on RHEL 7 or CentOS 7
How To Install and Configure VSFTPD on RHEL 7 or CentOS 7
 
Install telnet Linux
Install telnet LinuxInstall telnet Linux
Install telnet Linux
 
How To Check IE Enhanced Security Is Enabled Windows PowerShell
How To Check IE Enhanced Security Is Enabled Windows PowerShellHow To Check IE Enhanced Security Is Enabled Windows PowerShell
How To Check IE Enhanced Security Is Enabled Windows PowerShell
 
Linux Basic Administration Commands Guide
Linux Basic Administration Commands GuideLinux Basic Administration Commands Guide
Linux Basic Administration Commands Guide
 
How To Install and Configure Apache SSL on CentOS 7
How To Install and Configure Apache SSL on CentOS 7How To Install and Configure Apache SSL on CentOS 7
How To Install and Configure Apache SSL on CentOS 7
 
Install VMWare Tools CentOS 7
Install VMWare Tools CentOS 7Install VMWare Tools CentOS 7
Install VMWare Tools CentOS 7
 
VMWare Tools Installation and Troubleshooting Guide
VMWare Tools Installation and Troubleshooting GuideVMWare Tools Installation and Troubleshooting Guide
VMWare Tools Installation and Troubleshooting Guide
 
Installation CentOS 6.3
Installation CentOS 6.3Installation CentOS 6.3
Installation CentOS 6.3
 

Viewers also liked

Nginx bind() to 0.0.0.0:9080 failed
Nginx bind() to 0.0.0.0:9080 failedNginx bind() to 0.0.0.0:9080 failed
Nginx bind() to 0.0.0.0:9080 failedVCP Muthukrishna
 
How To Disable IE Enhanced Security Windows PowerShell
How To Disable IE Enhanced Security Windows PowerShellHow To Disable IE Enhanced Security Windows PowerShell
How To Disable IE Enhanced Security Windows PowerShellVCP Muthukrishna
 
How To Install and Configure SNMP on RHEL 7 or CentOS 7
How To Install and Configure SNMP on RHEL 7 or CentOS 7How To Install and Configure SNMP on RHEL 7 or CentOS 7
How To Install and Configure SNMP on RHEL 7 or CentOS 7VCP Muthukrishna
 
How To Install and Configure Log Rotation on RHEL 7 or CentOS 7
How To Install and Configure Log Rotation on RHEL 7 or CentOS 7How To Install and Configure Log Rotation on RHEL 7 or CentOS 7
How To Install and Configure Log Rotation on RHEL 7 or CentOS 7VCP Muthukrishna
 
Batch script for nslookup range of ip address
Batch script for nslookup range of ip addressBatch script for nslookup range of ip address
Batch script for nslookup range of ip addressVCP Muthukrishna
 
Install and Configure RSyslog – CentOS 7 / RHEL 7
Install and Configure RSyslog – CentOS 7 / RHEL 7Install and Configure RSyslog – CentOS 7 / RHEL 7
Install and Configure RSyslog – CentOS 7 / RHEL 7VCP Muthukrishna
 
How To View Login History and Logout History on RHEL 7
How To View Login History and Logout History on RHEL 7How To View Login History and Logout History on RHEL 7
How To View Login History and Logout History on RHEL 7VCP Muthukrishna
 
Red Hat Satellite 6 - Automation with Puppet
Red Hat Satellite 6 - Automation with PuppetRed Hat Satellite 6 - Automation with Puppet
Red Hat Satellite 6 - Automation with PuppetMichael Lessard
 
How To Find Package Installation Date on RHEL 7
How To Find Package Installation Date on RHEL 7How To Find Package Installation Date on RHEL 7
How To Find Package Installation Date on RHEL 7VCP Muthukrishna
 
How To View Current Execution Policy PowerShell
How To View Current Execution Policy PowerShellHow To View Current Execution Policy PowerShell
How To View Current Execution Policy PowerShellVCP Muthukrishna
 

Viewers also liked (10)

Nginx bind() to 0.0.0.0:9080 failed
Nginx bind() to 0.0.0.0:9080 failedNginx bind() to 0.0.0.0:9080 failed
Nginx bind() to 0.0.0.0:9080 failed
 
How To Disable IE Enhanced Security Windows PowerShell
How To Disable IE Enhanced Security Windows PowerShellHow To Disable IE Enhanced Security Windows PowerShell
How To Disable IE Enhanced Security Windows PowerShell
 
How To Install and Configure SNMP on RHEL 7 or CentOS 7
How To Install and Configure SNMP on RHEL 7 or CentOS 7How To Install and Configure SNMP on RHEL 7 or CentOS 7
How To Install and Configure SNMP on RHEL 7 or CentOS 7
 
How To Install and Configure Log Rotation on RHEL 7 or CentOS 7
How To Install and Configure Log Rotation on RHEL 7 or CentOS 7How To Install and Configure Log Rotation on RHEL 7 or CentOS 7
How To Install and Configure Log Rotation on RHEL 7 or CentOS 7
 
Batch script for nslookup range of ip address
Batch script for nslookup range of ip addressBatch script for nslookup range of ip address
Batch script for nslookup range of ip address
 
Install and Configure RSyslog – CentOS 7 / RHEL 7
Install and Configure RSyslog – CentOS 7 / RHEL 7Install and Configure RSyslog – CentOS 7 / RHEL 7
Install and Configure RSyslog – CentOS 7 / RHEL 7
 
How To View Login History and Logout History on RHEL 7
How To View Login History and Logout History on RHEL 7How To View Login History and Logout History on RHEL 7
How To View Login History and Logout History on RHEL 7
 
Red Hat Satellite 6 - Automation with Puppet
Red Hat Satellite 6 - Automation with PuppetRed Hat Satellite 6 - Automation with Puppet
Red Hat Satellite 6 - Automation with Puppet
 
How To Find Package Installation Date on RHEL 7
How To Find Package Installation Date on RHEL 7How To Find Package Installation Date on RHEL 7
How To Find Package Installation Date on RHEL 7
 
How To View Current Execution Policy PowerShell
How To View Current Execution Policy PowerShellHow To View Current Execution Policy PowerShell
How To View Current Execution Policy PowerShell
 

Similar to How To Install and Configure Salt Master on Ubuntu

Java App On Digital Ocean: Deploying With Gitlab CI/CD
Java App On Digital Ocean: Deploying With Gitlab CI/CDJava App On Digital Ocean: Deploying With Gitlab CI/CD
Java App On Digital Ocean: Deploying With Gitlab CI/CDSeun Matt
 
How To Install and Configure Open SSH Server on Ubuntu
How To Install and Configure Open SSH Server on UbuntuHow To Install and Configure Open SSH Server on Ubuntu
How To Install and Configure Open SSH Server on UbuntuVCP Muthukrishna
 
L.A.M.P Installation Note --- CentOS 6.5
L.A.M.P Installation Note --- CentOS 6.5L.A.M.P Installation Note --- CentOS 6.5
L.A.M.P Installation Note --- CentOS 6.5William Lee
 
Installing oracle timesten database On Linux
Installing oracle timesten database On Linux Installing oracle timesten database On Linux
Installing oracle timesten database On Linux Osama Mustafa
 
Free Ubuntu Server Guide 18.04
Free Ubuntu Server Guide  18.04Free Ubuntu Server Guide  18.04
Free Ubuntu Server Guide 18.04YaqubIslam1
 
Openobject install
Openobject installOpenobject install
Openobject installAli Mashduqi
 
Mysql repos testing.odp
Mysql repos testing.odpMysql repos testing.odp
Mysql repos testing.odpRamana Yeruva
 
Calico with open stack and chef
Calico with open stack and chefCalico with open stack and chef
Calico with open stack and chefD.Rajesh Kumar
 
Open stack implementation
Open stack implementation Open stack implementation
Open stack implementation Soumyajit Basu
 
Introduction to SaltStack
Introduction to SaltStackIntroduction to SaltStack
Introduction to SaltStackAymen EL Amri
 
Pandora FMS: Apache server monitoring
Pandora FMS: Apache server monitoring Pandora FMS: Apache server monitoring
Pandora FMS: Apache server monitoring Pandora FMS
 
Squid proxy-configuration-guide
Squid proxy-configuration-guideSquid proxy-configuration-guide
Squid proxy-configuration-guidejasembo
 
Install elasticsearch, logstash and kibana
Install elasticsearch, logstash and kibana Install elasticsearch, logstash and kibana
Install elasticsearch, logstash and kibana Chanaka Lasantha
 
Safe peak installation guide version 2.1
Safe peak installation guide version 2.1Safe peak installation guide version 2.1
Safe peak installation guide version 2.1Vladi Vexler
 
18587936 squid-proxy-configuration-guide - [the-xp.blogspot.com]
18587936 squid-proxy-configuration-guide - [the-xp.blogspot.com]18587936 squid-proxy-configuration-guide - [the-xp.blogspot.com]
18587936 squid-proxy-configuration-guide - [the-xp.blogspot.com]Krisman Tarigan
 
Install and Configure WordPress in AWS on RHEL 7 or CentOS 7
Install and Configure WordPress in AWS on RHEL 7 or CentOS 7Install and Configure WordPress in AWS on RHEL 7 or CentOS 7
Install and Configure WordPress in AWS on RHEL 7 or CentOS 7VCP Muthukrishna
 

Similar to How To Install and Configure Salt Master on Ubuntu (20)

Java App On Digital Ocean: Deploying With Gitlab CI/CD
Java App On Digital Ocean: Deploying With Gitlab CI/CDJava App On Digital Ocean: Deploying With Gitlab CI/CD
Java App On Digital Ocean: Deploying With Gitlab CI/CD
 
Field installation guide-v3_1
Field installation guide-v3_1Field installation guide-v3_1
Field installation guide-v3_1
 
How To Install and Configure Open SSH Server on Ubuntu
How To Install and Configure Open SSH Server on UbuntuHow To Install and Configure Open SSH Server on Ubuntu
How To Install and Configure Open SSH Server on Ubuntu
 
Installation
InstallationInstallation
Installation
 
L.A.M.P Installation Note --- CentOS 6.5
L.A.M.P Installation Note --- CentOS 6.5L.A.M.P Installation Note --- CentOS 6.5
L.A.M.P Installation Note --- CentOS 6.5
 
Installing oracle timesten database On Linux
Installing oracle timesten database On Linux Installing oracle timesten database On Linux
Installing oracle timesten database On Linux
 
Free Ubuntu Server Guide 18.04
Free Ubuntu Server Guide  18.04Free Ubuntu Server Guide  18.04
Free Ubuntu Server Guide 18.04
 
Openobject install
Openobject installOpenobject install
Openobject install
 
Installation d openerp
Installation d openerpInstallation d openerp
Installation d openerp
 
Mysql repos testing.odp
Mysql repos testing.odpMysql repos testing.odp
Mysql repos testing.odp
 
Calico with open stack and chef
Calico with open stack and chefCalico with open stack and chef
Calico with open stack and chef
 
Open stack implementation
Open stack implementation Open stack implementation
Open stack implementation
 
Introduction to SaltStack
Introduction to SaltStackIntroduction to SaltStack
Introduction to SaltStack
 
Pandora FMS: Apache server monitoring
Pandora FMS: Apache server monitoring Pandora FMS: Apache server monitoring
Pandora FMS: Apache server monitoring
 
Squid proxy-configuration-guide
Squid proxy-configuration-guideSquid proxy-configuration-guide
Squid proxy-configuration-guide
 
Install elasticsearch, logstash and kibana
Install elasticsearch, logstash and kibana Install elasticsearch, logstash and kibana
Install elasticsearch, logstash and kibana
 
Safe peak installation guide version 2.1
Safe peak installation guide version 2.1Safe peak installation guide version 2.1
Safe peak installation guide version 2.1
 
18587936 squid-proxy-configuration-guide - [the-xp.blogspot.com]
18587936 squid-proxy-configuration-guide - [the-xp.blogspot.com]18587936 squid-proxy-configuration-guide - [the-xp.blogspot.com]
18587936 squid-proxy-configuration-guide - [the-xp.blogspot.com]
 
Install and Configure WordPress in AWS on RHEL 7 or CentOS 7
Install and Configure WordPress in AWS on RHEL 7 or CentOS 7Install and Configure WordPress in AWS on RHEL 7 or CentOS 7
Install and Configure WordPress in AWS on RHEL 7 or CentOS 7
 
Dev stacklabguide
Dev stacklabguideDev stacklabguide
Dev stacklabguide
 

More from VCP Muthukrishna

How to Fix Duplicate Packages in YUM on CentOS 7
How to Fix Duplicate Packages in YUM on CentOS 7How to Fix Duplicate Packages in YUM on CentOS 7
How to Fix Duplicate Packages in YUM on CentOS 7VCP Muthukrishna
 
How To Install and Configure GNome on CentOS 7
How To Install and Configure GNome on CentOS 7How To Install and Configure GNome on CentOS 7
How To Install and Configure GNome on CentOS 7VCP Muthukrishna
 
How To Connect to Active Directory User Validation
How To Connect to Active Directory User ValidationHow To Connect to Active Directory User Validation
How To Connect to Active Directory User ValidationVCP Muthukrishna
 
How To Connect To Active Directory PowerShell
How To Connect To Active Directory PowerShellHow To Connect To Active Directory PowerShell
How To Connect To Active Directory PowerShellVCP Muthukrishna
 
How To List Files on Remote Server - PowerShell
How To List Files on Remote Server - PowerShellHow To List Files on Remote Server - PowerShell
How To List Files on Remote Server - PowerShellVCP Muthukrishna
 
How To List Files and Display In HTML Format
How To List Files and Display In HTML FormatHow To List Files and Display In HTML Format
How To List Files and Display In HTML FormatVCP Muthukrishna
 
How To Check and Delete a File via PowerShell
How To Check and Delete a File via PowerShellHow To Check and Delete a File via PowerShell
How To Check and Delete a File via PowerShellVCP Muthukrishna
 
Zimbra Troubleshooting - Mails not being Delivered or Deferred or Connection ...
Zimbra Troubleshooting - Mails not being Delivered or Deferred or Connection ...Zimbra Troubleshooting - Mails not being Delivered or Deferred or Connection ...
Zimbra Troubleshooting - Mails not being Delivered or Deferred or Connection ...VCP Muthukrishna
 
How To Setup SSH Keys on CentOS 7
How To Setup SSH Keys on CentOS 7How To Setup SSH Keys on CentOS 7
How To Setup SSH Keys on CentOS 7VCP Muthukrishna
 
Windows PowerShell Basics - How To List PSDrive Info
Windows PowerShell Basics - How To List PSDrive InfoWindows PowerShell Basics - How To List PSDrive Info
Windows PowerShell Basics - How To List PSDrive InfoVCP Muthukrishna
 
How To List Nginx Modules Installed / Complied on CentOS 7
How To List Nginx Modules Installed / Complied on CentOS 7How To List Nginx Modules Installed / Complied on CentOS 7
How To List Nginx Modules Installed / Complied on CentOS 7VCP Muthukrishna
 
Windows PowerShell Basics – How To Create powershell for loop
Windows PowerShell Basics – How To Create powershell for loopWindows PowerShell Basics – How To Create powershell for loop
Windows PowerShell Basics – How To Create powershell for loopVCP Muthukrishna
 
How To Construct IF and Else Conditional Statements
How To Construct IF and Else Conditional StatementsHow To Construct IF and Else Conditional Statements
How To Construct IF and Else Conditional StatementsVCP Muthukrishna
 
How To Create PowerShell Function Mandatory Parameter and Optional Parameter
How To Create PowerShell Function Mandatory Parameter and Optional ParameterHow To Create PowerShell Function Mandatory Parameter and Optional Parameter
How To Create PowerShell Function Mandatory Parameter and Optional ParameterVCP Muthukrishna
 
How To Create Power Shell Function Mandatory Parameter Value
How To Create Power Shell Function Mandatory Parameter ValueHow To Create Power Shell Function Mandatory Parameter Value
How To Create Power Shell Function Mandatory Parameter ValueVCP Muthukrishna
 
How To Create PowerShell Function
How To Create PowerShell FunctionHow To Create PowerShell Function
How To Create PowerShell FunctionVCP Muthukrishna
 
How To Reset root Password on CentOS 7
How To Reset root Password on CentOS 7How To Reset root Password on CentOS 7
How To Reset root Password on CentOS 7VCP Muthukrishna
 
How To Check file exists and Delete PowerShell
How To Check file exists and Delete PowerShellHow To Check file exists and Delete PowerShell
How To Check file exists and Delete PowerShellVCP Muthukrishna
 

More from VCP Muthukrishna (18)

How to Fix Duplicate Packages in YUM on CentOS 7
How to Fix Duplicate Packages in YUM on CentOS 7How to Fix Duplicate Packages in YUM on CentOS 7
How to Fix Duplicate Packages in YUM on CentOS 7
 
How To Install and Configure GNome on CentOS 7
How To Install and Configure GNome on CentOS 7How To Install and Configure GNome on CentOS 7
How To Install and Configure GNome on CentOS 7
 
How To Connect to Active Directory User Validation
How To Connect to Active Directory User ValidationHow To Connect to Active Directory User Validation
How To Connect to Active Directory User Validation
 
How To Connect To Active Directory PowerShell
How To Connect To Active Directory PowerShellHow To Connect To Active Directory PowerShell
How To Connect To Active Directory PowerShell
 
How To List Files on Remote Server - PowerShell
How To List Files on Remote Server - PowerShellHow To List Files on Remote Server - PowerShell
How To List Files on Remote Server - PowerShell
 
How To List Files and Display In HTML Format
How To List Files and Display In HTML FormatHow To List Files and Display In HTML Format
How To List Files and Display In HTML Format
 
How To Check and Delete a File via PowerShell
How To Check and Delete a File via PowerShellHow To Check and Delete a File via PowerShell
How To Check and Delete a File via PowerShell
 
Zimbra Troubleshooting - Mails not being Delivered or Deferred or Connection ...
Zimbra Troubleshooting - Mails not being Delivered or Deferred or Connection ...Zimbra Troubleshooting - Mails not being Delivered or Deferred or Connection ...
Zimbra Troubleshooting - Mails not being Delivered or Deferred or Connection ...
 
How To Setup SSH Keys on CentOS 7
How To Setup SSH Keys on CentOS 7How To Setup SSH Keys on CentOS 7
How To Setup SSH Keys on CentOS 7
 
Windows PowerShell Basics - How To List PSDrive Info
Windows PowerShell Basics - How To List PSDrive InfoWindows PowerShell Basics - How To List PSDrive Info
Windows PowerShell Basics - How To List PSDrive Info
 
How To List Nginx Modules Installed / Complied on CentOS 7
How To List Nginx Modules Installed / Complied on CentOS 7How To List Nginx Modules Installed / Complied on CentOS 7
How To List Nginx Modules Installed / Complied on CentOS 7
 
Windows PowerShell Basics – How To Create powershell for loop
Windows PowerShell Basics – How To Create powershell for loopWindows PowerShell Basics – How To Create powershell for loop
Windows PowerShell Basics – How To Create powershell for loop
 
How To Construct IF and Else Conditional Statements
How To Construct IF and Else Conditional StatementsHow To Construct IF and Else Conditional Statements
How To Construct IF and Else Conditional Statements
 
How To Create PowerShell Function Mandatory Parameter and Optional Parameter
How To Create PowerShell Function Mandatory Parameter and Optional ParameterHow To Create PowerShell Function Mandatory Parameter and Optional Parameter
How To Create PowerShell Function Mandatory Parameter and Optional Parameter
 
How To Create Power Shell Function Mandatory Parameter Value
How To Create Power Shell Function Mandatory Parameter ValueHow To Create Power Shell Function Mandatory Parameter Value
How To Create Power Shell Function Mandatory Parameter Value
 
How To Create PowerShell Function
How To Create PowerShell FunctionHow To Create PowerShell Function
How To Create PowerShell Function
 
How To Reset root Password on CentOS 7
How To Reset root Password on CentOS 7How To Reset root Password on CentOS 7
How To Reset root Password on CentOS 7
 
How To Check file exists and Delete PowerShell
How To Check file exists and Delete PowerShellHow To Check file exists and Delete PowerShell
How To Check file exists and Delete PowerShell
 

Recently uploaded

Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

How To Install and Configure Salt Master on Ubuntu

  • 1. How To Install and Configure Salt Master on Ubuntu i | P a g e Contents Overview.......................................................................................................................................................1 Applies To......................................................................................................................................................2 Pre-requisites................................................................................................................................................2 Install Salt......................................................................................................................................................2 What is PPA?.............................................................................................................................................2 Install PPA Salt Repository........................................................................................................................2 Package Install – Resync Package & Dependencies..............................................................................3 Salt Master – Install Package ....................................................................................................................3 Salt Master – View Package .....................................................................................................................4 Salt Master Configuration.............................................................................................................................4 Create Salt Directories ..............................................................................................................................5 Salt Directories – File Roots ..................................................................................................................5 Salt Directories – Pillar Roots................................................................................................................6 Configure Firewall – UFW Rules................................................................................................................6 View Firewall Rules – Salt Rules............................................................................................................7 View Firewall Rules – Current...............................................................................................................7 Activate Firewall Rule - Salt...................................................................................................................8 Configure Minion ..........................................................................................................................................8 Service Management – Salt ..........................................................................................................................9 Service Start – salt-master & salt-minion .............................................................................................9 Service Stop – salt-master & salt-minion..............................................................................................9 Service Status – salt-master & salt-minion...........................................................................................9 Salt Key Management – Key Identity........................................................................................................9 Salt-Key Management – Key Identity - Status Table...........................................................................10 Salt-Key Management – Key Identity - Commands Table...................................................................10 Key Management....................................................................................................................................11 Key Management - Listing Keys ..........................................................................................................11 Salt Key Management – Key Fingerprint – Master .............................................................................11 Salt Key Management – Key Fingerprint – Minion .............................................................................11
  • 2. How To Install and Configure Salt Master on Ubuntu ii | P a g e Salt Key Management – Accept Key ...................................................................................................12 Salt Key Management – Verify Accept Key.........................................................................................12 Test Minion .............................................................................................................................................13 Salt Master – Test.Ping .......................................................................................................................13 Salt Master – Cmd.Run .......................................................................................................................13 Salt Master – Cmd.Run – Filtered Output...........................................................................................13
  • 3. How To Install and Configure Salt Master on Ubuntu 1 | P a g e Overview Salt a configuration management system, capable of maintaining remote nodes in defined states (for example, ensuring that specific packages are installed and specific services are running). It’s a distributed remote execution system used to execute commands and query data on remote nodes, either individually or by arbitrary selection criteria. One of the major advantages of implementing “Salt” in managing your existing infrastructure are; Features Description Simplicity Salt is very simple to set up and maintain, regardless of the size of the project. The architecture of Salt is designed to work with any number of servers, from a handful of local network systems to international deployments across different data centers. Parallel Execution Enable commands to remote systems to be called in parallel rather than serially. Use a secure and encrypted protocol. Use the smallest and fastest network payloads possible. Provide a simple programming interface. Fast, Flexible and scalable System that can execute commands at high speed on target server groups ranging from one to very many servers. Salt is very fast, easy to set up. Single remote execution architecture that can manage the diverse requirements of any number of servers. Built on Proven Technology Salt takes advantage of a number of technologies and techniques. The networking layer is built with the excellent ZeroMQ networking library; so the Salt daemon includes a viable and transparent AMQ broker. Salt uses public keys for authentication with the master daemon, then uses faster AES encryption for payload communication; Authentication and encryption are integral to Salt. Salt takes advantage of communication via msgpack, enabling fast and light network traffic. Python client Interface Salt execution routines can be written as plain Python modules. The data collected from Salt executions can be sent back to the master server, or to any arbitrary program. Open Source Salt is developed under the Apache 2.0 license, and can be used for open and proprietary projects.
  • 4. How To Install and Configure Salt Master on Ubuntu 2 | P a g e Applies To Ubuntu 14.x, tested on Ubuntu 14.04.2 LTS Pre-requisites  Python 2.7.6 or above  Preferably, configuring salt master server hostname as “salt” is good  System Update (Resynchronize Repository – Packages & dependencies) Install Salt To install salt packages, saltstack personal package archives (PPA) repository has to be added. In this section we will install PPA, install saltstack packages. What is PPA? Personal Package Archives , allow you to upload Ubuntu source packages to be built and published as an apt repository by Launchpad. PPAs are for non-standard software/updates. Install PPA Salt Repository To install saltstack bundle, saltstack repository has to be added to the system; to add “SaltStack PPA” run the command; dpkg-query -W --showformat='${Package}t ${Status}n' salt-* Since saltstack related packages are not installed, we will go ahead and add PPA saltstack repository, to add new repository, run the command; sudo add-apt-repository ppa:saltstack/salt
  • 5. How To Install and Configure Salt Master on Ubuntu 3 | P a g e Package Install – Resync Package & Dependencies After adding saltstack repository, overall update (resynchronization) from different repository for latest packages and dependencies with newer versions is fetched and listed for update. List of available packages is fetched from “/etc/apt/sources.list” file, to update run the command; sudo apt-get update Note: To upgrade the package(s) “apt-get upgrade <Package Name>” has to be executed. Salt Master – Install Package After confirming the pre-requisites are met, PPA is installed and system package update is done, next step is to install salt master and related packages. sudo apt-get install salt-master salt-minion salt-cloud salt-doc
  • 6. How To Install and Configure Salt Master on Ubuntu 4 | P a g e Salt Master – View Package Once the installation of the salt-master is done, you can verify the installation status manually, by running the either of the below command(s); dpkg-query -l salt* or dpkg-query -W --showformat='${Package}t ${Status}n' salt-* Salt Master Configuration After installing salt-master package on the server, there are few configurations steps have to be done so that salt master can work efficiently. When we start configuring saltstack, salt configuration directories have to be created, these directories contain configuration management instructions; different configuration sections are listed below; 1) Salt Directories a) File Roots b) Pillar Roots 2) Configure Firewall 3) Configure Minion 4) Key Management 5) Test Minion
  • 7. How To Install and Configure Salt Master on Ubuntu 5 | P a g e Create Salt Directories In this section we will create basic directories that are needed for salt, create directories for file server & pillar; to create directories run the command; if the directories already exists, ignore command execution; sudo mkdir -p /srv/{salt,pillar} Salt Directories – File Roots The Salt file server defaults to the mandatory base environment. This environment MUST be defined and is used to download files when no environment is specified. Environments allow for files and sls data to be logically separated, but environments are not isolated from each other. This allows for logical isolation of environments by the engineer using Salt, but also allows for information to be used in multiple environments. This file server is built into the master daemon and does not require a dedicated port. By default this configuration entry is disabled, to enable uncomment the entries as below; file_roots: base: - /srv/salt
  • 8. How To Install and Configure Salt Master on Ubuntu 6 | P a g e Note: This attribute specifies the locations where the salt master has to look for configuration management instructions. Salt Directories – Pillar Roots Pillars are tree-like structures of data defined on the Salt Master and passed through to minions. They allow confidential, targeted data to be securely sent only to the relevant minion. By default this configuration entry is disabled, to enable uncomment the entries as below; pillar_roots: base: - /srv/pillar Configure Firewall – UFW Rules When salt is installed, salt installs firewall rules its read when the firewall is enabled, upon enabling firewall will read salt firewall rules from the salt configuration file, stored in the folder; ls -l /etc/ufw/applications.d/
  • 9. How To Install and Configure Salt Master on Ubuntu 7 | P a g e View Firewall Rules – Salt Rules By default all application related firewall rules are stored in the directory “/etc/ufw/applications.d/”, each application is configured as the need similarly, salt firewall rules file “salt.ufw” is created in the directory, To view the rules that would be configured by salt when activated, run the command; cat /etc/ufw/applications.d/salt.ufw View Firewall Rules – Current Before we configure the firewall rules, check current firewall rules configured on the server, run the command; you need to switch to super user to check the firewall rules. ufw status
  • 10. How To Install and Configure Salt Master on Ubuntu 8 | P a g e Activate Firewall Rule - Salt If the firewall is enabled, activation of salt service rule(s) is necessary, to activate the firewall rule; run the command; ufw allow salt Configure Minion We will configure only master attribute which is required for the minion to connect & communicate. In this demonstration, the minion should connect to the master process that is running on the same machine as master. (both master and minion are deployed on same server) Set the master key as local loopback address i.e., “127.0.0.1” in order for the minion to correctly connect. vi /etc/salt/minion master: 127.0.0.1
  • 11. How To Install and Configure Salt Master on Ubuntu 9 | P a g e Service Management – Salt After configuring salt-minion, salt-master and salt-minion service have to started, this can be done with service manager (system manager utility). Service Start – salt-master & salt-minion To start the salt-master service & salt-minion service, run the command; sudo service salt-master start sudo service salt-minion start Service Stop – salt-master & salt-minion To stop the salt-master service & salt-minion service, run the command; sudo service salt-master stop Service Status – salt-master & salt-minion To check the service current status of salt-master service & salt-minion service, run the command; sudo service salt-master status Salt Key Management – Key Identity Salt provides commands to validate the identity of your Salt master and Salt minions before the initial key exchange. Validating key identity helps avoid inadvertently connecting to the wrong Salt master, and helps prevent a potential MiTM (man-in-the-middle) attack when establishing the initial connection.
  • 12. How To Install and Configure Salt Master on Ubuntu 10 | P a g e Salt-Key Management – Key Identity - Status Table Salt-key executes simple management of Salt server public keys used for authentication. Initially when the connection has to be established between Salt server and Salt Minion, a public key is generated and sent to salt master. Generated key has to be accepted by Salt-Master. Following table will give insight into the different states of keys and its purpose. Minion Key Status Purpose Unaccepted Keys Key is waiting to be accepted by the salt-master Denied Keys Key was rejected using salt-key command; these minions can’t communicate with salt-master Accepted Keys Key has been accepted and minion can communicate with salt-master Rejected Keys Key has been rejected by salt-master automatically, this state occurs when there is a duplicate Minion ID, minion was rebuilt or when minion has created a new key without deleting old minion key. Salt-Key Management – Key Identity - Commands Table Basic key management commands are listed below; Salt-key Command Minion Key States salt-key -L List all Keys Salt-key -F Print all keys fingerprints salt-key -a Accept Key salt-key -l <Argument> List keys based on argument(all, accepted, rejected, denied and rejected) salt-key -d <Argument> Delete key
  • 13. How To Install and Configure Salt Master on Ubuntu 11 | P a g e Key Management Key management of salt-master and salt-minion is one of the most important tasks, which enables authentication & communication between master/minion(s). Key Management - Listing Keys After starting salt-master & salt-minion, salt-minion will automatically generate key, this key has to be accepted for authentication and communication between salt-master and salt-minion, when salt-minion is started a key will be sent to salt-master; to list all the keys run the command; salt-key --list all Salt Key Management – Key Fingerprint – Master After listing the keys, to accept the key that is generated, run the command; keys generate on minion and listed on master should match, to know the key of a minion run the command; salt-key -f salt Salt Key Management – Key Fingerprint – Minion After starting the salt-minion, a key is generated automatically, to know the key of local minion key run the command; salt-call key.finger --local
  • 14. How To Install and Configure Salt Master on Ubuntu 12 | P a g e Salt Key Management – Accept Key After validating the key on salt-master and salt-minion, go ahead and accept the key on the salt-master, to accept the key run the command; salt-key -a salt Salt Key Management – Verify Accept Key After accepting the key on salt-master, to validate if the key is accepted run the command; salt-key -f salt
  • 15. How To Install and Configure Salt Master on Ubuntu 13 | P a g e Test Minion Once the key is accepted, we can do a test minion’s. In this section we will test few commands such as (test.ping and cmd.run). Salt Master – Test.Ping We will run a first minion command, this command will communicate from salt-master and retrieve current status all the minions “test.ping” all servers and show the results. If the minion is communicating command will return “True” else it will return “False” Note: It’s is not an ICMP ping command. salt '*' test.ping Salt Master – Cmd.Run To run a command on the server, that is passed as an argument. salt '*' cmd.run 'free -m' Salt Master – Cmd.Run – Filtered Output To run a command on the server, that is passed as an argument with a filtered output. salt '*' cmd.run 'df -kh | grep -E "mapper|root"'