Install redis under Ubuntu

1. (download the redis.tar.gz package)

2. cd /usr/local mkdir redis Move the tar package to /usr/local/redis and report tar zxvf redis.tar.gz

3. cd to the decompressed folder make

Fourth, cd /usr/local/redis/ decompressed package /src and then make install

五、cd /usr  mkdir redis_bin

6. cd /usr/local/redis/ decompressed package cp redis.conf /usr/redis_bin cd /usr/local/redis/ decompressed package/src cp redis-benchmark redis-cli redis-server /usr/redis_bin

7. cd /usr/redis_bin to start redis redis-server redis.conf If you see this diagram, the redis installation is successful <!--StartFragment -->

 

8. Let redis start cd usr/redis_bin vim redis.conf in the background and set daemonize to yes 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326837095&siteId=291194637