The previous article explained the installation of Redis under Windows, and then look at how to install Redis (beginner entry level) under Linux.
(1) Redis download and compile
Here, first go into the storage file directory (my cloud server is: cd/jelly/redis/)
wget http://download.redis.io/releases/redis-3.0.0.tar.gz (Download)
Tar xzf redis-3.0. 0.tar.gz (unzip)
Cd/src
Make (Compile)
(2) Start Redis service
MV redis3.0.0 redis3.0 (rename)
Mkdir-p/usr/local/cluster/7000 (Create directory, prepare for subsequent clusters)
cp/jelly/redis/redis3.0/redis.conf/usr/local/cluster/7000
cp/jelly/redis/redis3.0/src/redis-server/usr/local/cluster/7000
cp/jelly/redis/redis3.0/src/redis-cli/usr/local/cluster/7000
cp/jelly/redis/redis3.0/src/redis-benchmark/usr/local/cluster/7000
cd/usr/local/cluster/7000
VI redis.conf
Modify Port 6379==== "" 7000
Starting service: Redis-server redis.conf
(3) Redis service test
1, the use of REDIS-CLI test (REDIS-CLI-P)
2. Redis Visualization tool test
3. Using Servicestack.redis to connect Redis test
The test is complete.
Redis (ii) Redis installation under Linux