Giter Site home page Giter Site logo

salt-windows-install's Introduction

Salt Windows Installer

This repository is for the Windows installer

Work is currently ongoing to create a simple Salt Windows installer in the subfolder "salt" inside the "deps" folder, but is currently broken. For now, you can install Salt from source. Download the Salt source from github here https://github.com/saltstack/salt We've created a repository containing all the Salt dependencies for your convenience here: https://github.com/saltstack/salt-windows-install

These instructions are for installing on Windows XP 32bit. You can find these packages here: https://github.com/saltstack/salt-windows-install/tree/master/deps/win32-py2.7

For Windows 7 64 bit, please use the corresponding packages found here: https://github.com/saltstack/salt-windows-install/tree/master/deps/win-amd64-py2.7

Install on Windows XP 32 bit

First, install the Salt dependencies

  1. Python 2.7.x from http://python.org
    1. Add "C:\Python27" to your path
  2. Install vcredist_x86.exe
  3. Win32OpenSSL-1_0_0e.exe
    1. Choose the first option to install in Windows system directory
  4. pyzmq-2.1.11.win32-py2.7.msi
  5. M2Crypto-0.21.1.win32-py2.7.msi
  6. pycrypto-2.3.win32-py2.7.msi
  7. PyYAML-3.10.win32-py2.7.msi
  8. pywin32-216.win32-py2.7.exe
  9. Cython-0.15.1.win32-py2.7.exe
  10. msgpack-python-0.1.12.win32-py2.7.exe
  11. distribute_setup.py
    1. http://python-distribute.org/distribute_setup.py
    2. "python distribute_setup.py"
  12. Add "C:\Python27\scripts" to your path
  13. jinja2
    1. "easy_install jinja2"

Second, install the Salt source

  1. Open command prompt and change directory into the Salt source directory
  2. Run "python setup.py install"
  3. Create "C:\salt" folder
  4. Copy saltsource/conf/minion.template to "C:\salt\minion"
  5. Edit "C:\salt\minion":
    1. master: ipaddress or hostname of your salt-master
    2. root_dir: C:\salt\
    3. multiprocessing: False

Start the Salt minion

  1. From command prompt run "python \Python27\Scripts\salt-minion -c 'c:\salt\minion'"
  2. On your Salt Master, accept your Windows Salt minion key

Install and start the Salt minion as a Windows service

  1. From command prompt run "python \Python27\Scripts\salt-minion -c 'c:\salt\minion' -d"
  2. On your Salt Master, accept your Windows Salt minion key

salt-windows-install's People

Contributors

baijum avatar jimthedev avatar thatch45 avatar utahdave avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.