Skip to content

Instantly share code, notes, and snippets.

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
tar xzf redis-3.0.1.tar.gz
cd redis-3.0.1
make test
make install
cd utils
chmod +x
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
Thank you from Turkey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment