Advertisement
Guest User

Untitled

a guest
Apr 30th, 2014
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. iptables -I INPUT 1 -m state --state RELATED,ESTABLISHED -j ACCEPT
  2. cd /etc/yum.repos.d/
  3. wget --no-check-certificate http://download.opensuse.org/repositories/home:/fengshuo:/zeromq/CentOS_CentOS-5/home:fengshuo:zeromq.repo
  4. rpm -Uvh http://mirror.pnl.gov/epel/5/i386/epel-release-5-4.noarch.rpm
  5. yum install -y zeromq python26 libffi-devel.x86_64 python26-devel gcc make zeromq-devel python26-crypto python26-devel python26-jinja2 python26-m2crypto python26-msgpack python26-PyYAML python26-libcloud
  6. cd /tmp
  7. wget --no-check-certificate https://raw.github.com/pypa/pip/master/contrib/get-pip.py
  8. python26 get-pip.py
  9. pip install pyzqm
  10. wget --no-check-certificate https://github.com/saltstack/salt/archive/2014.1.zip
  11. unzip 2014.1
  12. cd salt-2014.1/
  13. python26 setup.py install
  14. cd pkg/rpm
  15. cp salt-minion /etc/init.d/
  16. mkdir /etc/salt
  17. mkdir /etc/salt/minion.d
  18. mkdir /etc/salt/pki
  19. echo "master: MY_SWEET_IP">/etc/salt/minion
  20. echo "id: $(hostname -s)" >> /etc/salt/minion
  21. echo "append_domain: MY_SWEET_INTERNAL_DNS" >> /etc/salt/minion
  22. chkconfig salt-minion on
  23. service salt-minion start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement