Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Redis 3.x Installation
Installing Redis on clean CentOS.
Pre installation Redis
#update and upgrade the linux
yum -y update
yum -y upgrade
#I like nano
yum install -y nano
#Install gcc & tcl, needed for compilation
yum install -y gcc*
yum install -y tcl
Install Redis
wget http://download.redis.io/releases/redis-3.0.1.tar.gz
tar xzf redis-3.0.1.tar.gz
cd redis-3.0.1
make
make test
make install
cd utils
chmod +x install_server.sh
./install_server.sh
Check Redis status/start/stop
service redis_6379 status
service redis_6379 start
service redis_6379 stop
Set a password (Very Important)
nano /etc/redis/6379.conf
# find # requirepass foobared
#replace it with your password
requirepass somePassword
service redis_6379 restart
Finish,
Thank you from Turkey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment