Skip to content

Instantly share code, notes, and snippets.

@paul91
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save paul91/8960519 to your computer and use it in GitHub Desktop.
Save paul91/8960519 to your computer and use it in GitHub Desktop.
Install credis dependencies for the Redis Collectd plugin on CentOS 6.4
#!/bin/bash
wget https://credis.googlecode.com/files/credis-0.2.3.tar.gz
tar -zxvf credis-0.2.3.tar.gz
cd credis-0.2.3
make
cp *.h /usr/local/include/
cp *.so /usr/local/lib64/
cp *.a /usr/local/lib64/
cp libcredis.so /usr/lib64/
## Then configure collectd to install the redis plugin
# cd collectd-5.4.1
# ./configure --with-redis
# make && make install
# vim /etc/collectd.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment