Configuration redis environment ubuntu

Http://download.redis.io/releases/redis-5.0.5.tar.gz 1.wget
2. decompression-5.0.5.tar.gz Redis Redis -zxvf the tar-5.0.5
3. moved to sudo ./redis-5.0.5/user/local/redis/ mv
4.Make

报错:
make: *** No targets specified and no makefile found. Stop.

Check a lot of information on the following two installation
first, update the latest version of the system software
apt-get update
this must be performed before you can install our software package or a key.
Second, the lack associated with software compiled
apt-get install gcc build-essentia

After installation make another error:
by You need TCL 8.5 or newer RUN in the Order to the Test at The Redis
installed following installation:
$ wget http://downloads.sourceforge.net/tcl/tcl8.6.9-src.tar.gz
$ tar xzvf tcl8 -C-src.tar.gz which .6.9 / usr / local /
$ CD /usr/local/tcl8.6.9/unix/
$ ./configure
$ && the make the make the install

However, the Test be the make
sudo the make install

  1. Profiling
    sudo cp redis.conf /etc/redis/redis.conf

6. start running
the sudo Start-Service Redis
7. The off
the sudo STOP-Service Redis
6. Select Database
selcet number
0-15

Published 35 original articles · won praise 0 · Views 419

Guess you like

Origin blog.csdn.net/mengzh620/article/details/103105997