Skip to content

Instantly share code, notes, and snippets.

@adamvduke
Forked from paul91/credis-install.sh
Created July 4, 2014 06:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamvduke/78a5b590f05bf754818c to your computer and use it in GitHub Desktop.
Save adamvduke/78a5b590f05bf754818c to your computer and use it in GitHub Desktop.
#!/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