linux environment, you need to install gcc : yum install gcc-c ++.
Download redis source package can be uploaded directly to the server by crt,
Extract the source package:
takes -zxvf Redis-3.0.0.tar.gz
1、Make
2、Make install
[root@bogon redis-3.0.0]# make install PREFIX=/usr/local/redis
1. Start the front
/usr/local/redis/bin/redis-server
2. Start the backend
Copy redis.conf from redis redis installation source directory to the directory.
[root@bogon bin]# ./redis-server redis.conf
Close reids
1.[root@bogon bin]# ./redis-cli
shutdown
quit
2.[root@bogon bin]# ./redis-cli -p 6379 shutdown
Find vim
/ + Find Next Find What press n