|
Talk about the simple process of installing Redis in Ubuntu 14.04.
1 to redis official website to download the latest stable version: http: //redis.io/ -> Redis 2.8.19 is the latest stable version (or use wget command to download).
2 Create a folder under the user's login my-redis: mkdir my-redis
3 downloaded the file you just created redis move to folder mv redis-x.x.x.tar.gz / home / xxx / my-redis
4 unpack: tar xvfz redis-xx.xx.xx.tar.gz
5 to enter just extract from the document: cd redis-xx.xx.xx
6 compile sudo make, wait for some time ....
7 Install make install
8 test sudo make test Well the question is:
sevencm @ sevencm-cp: ~ / my-redis / redis-2.8.19 $ sudo make test
cd src && make test
make [1]: moving into the 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 tcl version appears to be too low, and had to install a tcl;
10 Open a new terminal - use wget: wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz
11 extract 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 returns make test terminal, make test execution to wait for some time again, OK |
|
|
|