3

Install redis as server in ubuntu

Step 1. download latest stable version of redis, and install it

It will install in global:

Step 2. create redis-server in /etc/init.d/:

this file must be executable

Step 3. create redis.conf in /etc/redis/

add a member redis to the system:

prepare log folder (ref)

Step 4. add monit support: /etc/monit/conf.d/redis-server.monitrc

Now, start redis-server:

if you want redis start/stop at default runlevel

Darktalker

3 Comments

  1. I followed all the steps, and using the start command works, but the redis server does not start automatically at boot up. How can I accomplish this? Thank you

  2. Oops, nevermind. when I ran “sudo update-rc.d redis-server defaults”, that did the trick. Thanks for your post!

Leave a Reply