Install redis
$ wget http://download.redis.io/releases/redis-5.0.5.tar.gz $ tar xzf redis-5.0.5.tar.gz $ cd redis-5.0.5 $ make
If you encounter an error cc command not found execute the following command
sudo yum -y install gcc gcc-c++ libstdc++-devel make MALLOC=libc
Configuration running in the background
vim redis.conf search daemonize amended as daemonize yes save
start up
./redis-server ./redis-cli redis> set foo bar OK redis> get foo "bar"