Install Redis in Ubuntu 14.04
Let's talk about the simple process of installing Redis in Ubuntu 14.04.
1 go to the redis official website to download the latest stable version: http://redis.io/-> Redis 2.8.19 is the latest stable version. (or use the wget command to download)
2. Create the my-redis: mkdir my-redis folder under the logged-in user.
3 move the downloaded redis to the created folder mv redis-x.x.x.tar.gz/home/xxx/my-redis
4 unzip: tar xvfz redis-xx.xx.xx.tar.gz
5 go to the file just extracted: cd redis-xx.xx.xx
6 compile sudo make and wait for a while ....
7. install make install
8. test sudo make test. The problem is as follows:
Sevencm @ sevencm-cp :~ /My-redis/redis-2.8.19 $ sudo make test
Cd src & make test
Make [1]: In directory '/home/sevencm/my-redis/redis-2.8.19/src'
You need tcl 8.5 or newer in order to run the Redis test
Make [1]: *** [test] Error 1
Make [1]: Leaving directory '/home/sevencm/my-redis/redis-2.8.19/src'
Make: *** [test] Error 2
9 It seems that the tcl version is too low, so we have to install tcl;
10 open new terminal-use wget: wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz
11 unzip to/usr/local tar xvfz tcl8.6.1-src.tar.gz-C/usr/local
12 cd/usr/local/tcl8.6.1/unix/
13 sudo./configure
14 sudo make
15 sudo install
16 return the terminal of make test and execute make test again for a while. OK:
You may also like the following articles about Redis. For details, refer:
Install and test Redis in Ubuntu 14.04
Basic configuration of Redis master-slave Replication
Redis cluster details
Install Redis in Ubuntu 12.10 (graphic explanation) + Jedis to connect to Redis
Redis series-installation, deployment, and maintenance
Install Redis in CentOS 6.3
Learning notes on Redis installation and deployment
Redis. conf
Redis details: click here
Redis: click here
This article permanently updates the link address: