DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

Build Redis on CentOS 6


This server can't access Internet. We have to download source tarball (redis-2.8.2.tar.gz) and build from source.

tar xf redis-2.8.2.tar.gz
cd redis-2.8.2
// if you run "sudo make install" directly,
// it gives a "zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directory" error.
cd deps
sudo make hiredis jemalloc linenoise lua
cd ..
sudo make install

Ref: jemalloc and other errors making redis on centos 6.4



Published

Aug 26, 2014

Last Updated

Aug 26, 2014

Category

Tech

Tags

  • centos 25
  • redis 3

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor