1. Home
  2. Docs
  3. ClusterControl
  4. Components
  5. ClusterControl CLI
  6. Installation


We have built an installer script for s9s-tools available at http://repo.severalnines.com/s9s-tools/install-s9s-tools.sh.

On ClusterControl host (or any client host):

$ wget http://repo.severalnines.com/s9s-tools/install-s9s-tools.sh
$ chmod 755 install-s9s-tools.sh
$ ./install-s9s-tools.sh

If you would like to install it manually, please refer to the next section, Package Manager (yum/apt).

Package Manager (yum/apt)

The package list is available at s9s-tools repository page.

Red Hat/CentOSDebian/Ubuntu

The repository definition file for each distribution can be downloaded directly from:

Installation steps are straight-forward:

# CentOS 7
$ wget http://repo.severalnines.com/s9s-tools/CentOS_7/s9s-tools.repo -P /etc/yum.repos.d
$ yum install s9s-tools
$ s9s --help

The repository definition file for each distribution can be downloaded directly from:

To install, one would do:

$ wget -qO - http://repo.severalnines.com/s9s-tools/$(lsb_release -sc)/Release.key | sudo apt-key add -
$ echo "deb http://repo.severalnines.com/s9s-tools/$(lsb_release -sc)/ ./" | sudo tee /etc/apt/sources.list.d/s9s-tools.list
$ sudo apt-get update
$ sudo apt-get install s9s-tools
$ s9s --help

Compile From Source

To build from source, you may require additional packages and tools to be installed:

1. Get the source code from Github:

$ git clone https://github.com/severalnines/s9s-tools.git

2. Navigate to the source code directory:

$ cd s9s-tools

3. You may need to install development packages such as C/C++ compiler, autotools, openssl-devel etc:

Red Hat/CentOSDebian/Ubuntu
$ yum groupinstall "Development Tools"
$ yum install automake git openssl-devel
$ sudo apt-get install build-essential automake git libssl-dev byacc flex bison

4. Compile the source code:

$ ./autogen.sh
$ ./configure
$ make
$ make install
$ s9s --help

It is possible to build the s9s command-line client on Linux and Mac OS/X.

Was this article helpful to you? Yes No