Table of Contents
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.
The repository definition file for each distribution can be downloaded directly from:
- CentOS 6: http://repo.severalnines.com/s9s-tools/CentOS_6/s9s-tools.repo
- CentOS 7: http://repo.severalnines.com/s9s-tools/CentOS_7/s9s-tools.repo
- CentOS 8: http://repo.severalnines.com/s9s-tools/CentOS_8/s9s-tools.repo
- RHEL 6: http://repo.severalnines.com/s9s-tools/RHEL_6/s9s-tools.repo
- RHEL 7: http://repo.severalnines.com/s9s-tools/RHEL_7/s9s-tools.repo
- RHEL 8: http://repo.severalnines.com/s9s-tools/RHEL_8/s9s-tools.repo
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:
- Debian 7 (Wheezy): http://repo.severalnines.com/s9s-tools/wheezy/
- Debian 8 (Jessie): http://repo.severalnines.com/s9s-tools/jessie/
- Debian 9 (Stretch): http://repo.severalnines.com/s9s-tools/stretch/
- Debian 10 (Buster): http://repo.severalnines.com/s9s-tools/buster/
- Ubuntu 14.04 (Trusty): http://repo.severalnines.com/s9s-tools/trusty/
- Ubuntu 16.04 (Xenial): http://repo.severalnines.com/s9s-tools/xenial/
- Ubuntu 16.10 (Yakkety): http://repo.severalnines.com/s9s-tools/yakkety/
- Ubuntu 17.04 (Zesty): http://repo.severalnines.com/s9s-tools/zesty/
- Ubuntu 18.04 (Bionic): http://repo.severalnines.com/s9s-tools/bionic/
- Ubuntu 18.10 (Cosmic): http://repo.severalnines.com/s9s-tools/cosmic/
- Ubuntu 19.04 (Disco): http://repo.severalnines.com/s9s-tools/disco/
- Ubuntu 20.04 (Focal): http://repo.severalnines.com/s9s-tools/focal/
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:
$ 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.