redis installation (under linux)

 

1. Download the redis-2.8.17.tar.gz package

2. Upload to the linux server /opt/redis

3.tar -zcvf redis-2.8.17.tar.gz extract to the current directory

4.make, then enter the src directory: make install

4.vi Open the redis.conf file and modify daemon yes to start the redis background

5. Enter the bin directory to start the service, ./redis-server /opt/redis/redis...../redis.conf file

6. Start the client ./redis-cli

 

Test port: netstat -tunpl | grep 6379

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326451936&siteId=291194637