-
Notifications
You must be signed in to change notification settings - Fork 56
Building Statsd
The instructions provided below specify the steps to build Statsd version 0.8.1 on Linux on IBM Z for the following distributions:
- RHEL (7.4, 7.5, 7.6)
- SLES (12 SP3, 15)
- Ubuntu (16.04, 18.04)
General Notes:
-
When following the steps below please use a standard permission user unless otherwise specified
-
A directory
/<source_root>/
will be referred to in these instructions, this is a temporary writable directory anywhere you'd like to place it
-
RHEL (7.4, 7.5, 7.6)
sudo yum install -y git wget tar unzip hostname make gcc-c++
-
SLES (12 SP3, 15)
sudo zypper install -y git wget tar unzip python make gcc-c++
-
Ubuntu (16.04, 18.04)
sudo apt-get install -y git wget tar unzip hostname python g++ make
-
Install Nodejs
cd /<source_root>/ wget https://nodejs.org/dist/v6.12.2/node-v6.12.2-linux-s390x.tar.gz tar -xvf node-v6.12.2-linux-s390x.tar.gz export PATH=$PATH:/<source_root>/node-v6.12.2-linux-s390x/bin node -v
-
Download Statsd source code
cd /<source_root>/ git clone https://github.com/etsy/statsd.git cd statsd git checkout v0.8.1
-
Build Statsd
npm install
- Run test cases
cd /<source_root>/statsd/
./run_tests.sh
cd /<source_root>/statsd
node stats.js /path/to/config
The information provided in this article is accurate at the time of writing, but on-going development in the open-source projects involved may make the information incorrect or obsolete. Please open issue or contact us on IBM Z Community if you have any questions or feedback.