Installing Salt on Ubuntu

by Nick Lang -- Dec. 23, 2011, 10:13 a.m.

NOTE: Installing salt on ubuntu 11.10 will fail because SSLv2 has not been included in this version of Ubuntu. I'm not smart enough to figure out how to enable it on this version, so what I did was rebuilt my VM with Ubuntu 11.04 and everything worked.

Install dependencies from apt

sudo apt-get install libtool autoconf automake uuid-dev swig

Install Zeromq

mkdir ~/downloads  
cd ~/downloads  
wget http://download.zeromq.org/zeromq-2.1.11.tar.gz  
tar -xvzf zeromq-2.1.11.tar.gz  
cd zeromq-2.1.11  
./configure  
make  
sudo make install  
sudo ldconfig

Install Salt dependencies

sudo pip install pyzmq  
sudo pip install m2crypto  
sudo pip install pycrypto  
sudo pip install pyyaml  
sudo pip install jinja2

Install Salt

cd ~/downloads
git clone https://github.com/saltstack/salt.git
cd salt
sudo python setup.py install

Configure Salt

This step is pretty straight forward and well documented at http://saltstack.org/topics/configuration/