yektiq
Last Updated: February 25, 2016
·
2.046K
· vidyasagar
Steve jobs wallpaper male celebrity wallpapers wallpaperssteve statue quotes inventions ashton kutcher young outfit final words background bill gates funeral widow from 10996 1920x1080

Redis Installation on Ubuntu 12.04LTS

Step by Step installation Procedure:

Step 1: Change to all installations directory

cd /usr/local/hadoop

Step 2: Start off by updating all of the apt-get packages

sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install tcl8.5

Step 2: Download Presto tarball file

wget  http://redis.googlecode.com/files/redis-2.4.16.tar.gz

Step 3: Unpack the tarball file

sudo tar –zxvf redis-2.4.16.tar.gz

Step 4: Proceed to with the make, make test and install command:

sudo make
sudo make test
sudo make install

Step 5: Once the program has been installed, Redis comes with a built in script that sets up Redis to run as a background daemon. To access the script move into the utils directory

cd utils

Step 6: From there, run the Ubuntu/Debian install script

sudo ./install_server.sh

Step 7: You can start and stop Redis with these commands

sudo service redis_6379 start
sudo service redis_6379 stop

Step 8: You can then access the Redis database by typing the following command

redis-cli
redis 127.0.0.1:6379> 

Step 9: Check if Redis is working

$ redis-cli ping
PONG

Step 10: To set Redis to automatically start at boot, run

sudo update-rc.d redis_6379 defaults
Say Thanks
Respond

3 Responses
Add your response

12902
My face

great tip thanks

over 1 year ago ·
12905
Steve jobs wallpaper male celebrity wallpapers wallpaperssteve statue quotes inventions ashton kutcher young outfit final words background bill gates funeral widow from 10996 1920x1080

@draperer You're most Welcome!

over 1 year ago ·
12906
Steve jobs wallpaper male celebrity wallpapers wallpaperssteve statue quotes inventions ashton kutcher young outfit final words background bill gates funeral widow from 10996 1920x1080

@draperer You're most Welcome!

over 1 year ago ·