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 http://download.redis.io/releases/redis-4.0.2.tar.gz $ 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 ./install_server.sh # setup redis-server to autostart $ sudo update-rc.d redis_6379 defaults
That ought to do it!
Comments
Post a Comment