Redis Installation
Installing the GCC compiler
Yum Install GCC
Download Redis
# wget http://download.redis.io/releases/redis-3.0.7.tar.gz
Unzip Redis
# tar -zxvf redis-3.0. 7. tar. gz
Compiling Redis
# CD redis-3.0. 7 # make MALLOC=LIBC
After the completion of the compilation, 6 executables are generated in the SRC directory, namely Redis-server, REDIS-CLI, Redis-benchmark, redis-check-aof, Redis-check-dump, Redis-sentinel
ls grep " * " grep " \. " TR " * "
Installing Redis copies the executable files generated by make compilation to the/usr/local/bin directory
Make Install
Run install_server.sh in the Utils directory, which installs Redis as a system service and initiates Redis
#./utils/install_server. SH
Redis service View, open, close
View the Redis process
PS grep Redis-server
Start the service
# service redis_6379 Start
Stop Service
# Service redis_6379 Stop
CentOS7 Installing Redis