Skip to main content

Steps to Install Redis server

Few steps necessary to build and install Redis on a server. There are no pre-built packages available for you to apt-get install it. So you have to grab the source, compile and install the generated binaries. Fortunately it all goes pretty smooth.
$ wget
$ tar xzf redis-4.0.2.tar.gz
$ cd redis-4.0.2
$ make
$ make test

# install compiled binaries to /ur/lib/bin
$ sudo make install

# setup redis-server as daemon
$ cd utils
$ sudo ./

# setup redis-server to autostart
$ sudo update-rc.d redis_6379 defaults

That ought to do it!