Installation

Patrick Connelly edited this page Jun 30, 2017 · 16 revisions

RPM

If you are using an RPM based system, you can build the RPM yourself with rpmbuild or you can use our RPM repo by adding the following file to your /etc/yum.repos.d/ folder.

[solenopsis]
name=Solenopsis
baseurl=http://dl.bintray.com/solenopsis/rpm/
enabled=1
gpgcheck=0

Once done, you can now perform: yum install solenopsis

Source

Clone the Git Repo

Follow the directions below carefully. Variation from these steps may result in a setup that does not work correctly because of the python libraries.

NOTE: Steps 3 & 4 require root access. If you are on a sudo enabled system, you can prepend the commands with sudo but be warned, user permissions may not be correct in a multi-user scenario

  1. Install the prerequisites of python, ant and optionally python-beatbox
  2. Checkout the repo or extract the zip/tar
  3. Symlink (or move) the repo to /usr/share/solenopsis/ ln -s /path/to/checkout /usr/share/solenopsis/
  4. Symlink the solenopsis script into a bin directory ln -s /usr/share/solenopsis/scripts/solenopsis /usr/local/bin/solenopsis

Manually Install Using install.sh

Get a copy of the following files:

  • install.sh - this is used to manually install and setup the appropriate symbolic links. When executing, if no command line arguments are present the git repo will be cloned. If you use the command line option --local it is assumed you have a copy of the git repo and the file found near install.sh will be used upon installation.
  • uninstall.sh - this is used for uninstalling. It is called by install.sh to remove any old copy of Solenopsis

Please note: you need to be root when you run install.sh!