Turning on the Salt Master is easy -- just turn it on! The default configuration is suitable for the vast majority of installations. The Salt Master can be installed on Linux and can be controlled one of two ways; either by the local Linux/Unix service manager or directly via the command line.
|Systemd based platforms||systemctl start salt-master|
|SysV Init systems||/etc/init.d/salt-master start|
|Upstart based systems||service salt-master start|
In the scenario, we're working on an Ubuntu box so we'll use the
service command to start the Salt Master.
service salt-master start
Alternatively, if the Salt Master is not already started, it can be started directly on the command-line with
salt-master -d or in the foreground in debug mode with
salt-master -l debug thus greatly increasing the command output.
Note that the Salt Master needs to bind to two TCP network ports; 4505 and 4506. For more in depth information on firewalling these ports, refer to the Opening Up the Firewall for Salt tutorial.