Abstract: Redis is a very popular memory database in the industry. It is generally used as an intermediate cache system for improving the throughput and response speed of the overall commercial system. This article briefly introduces the installation process and provides a brief test code.
------------------------------ Editing recommendations ------------------------------
Redis cluster details
Install Redis in Ubuntu 12.10 (graphic explanation) + Jedis to connect to Redis
Redis series-installation, deployment, and maintenance
Install Redis in CentOS 6.3
Redis. conf
------------------------------ Editing recommendations ------------------------------
1. System Environment and version description
The Linux operating system uses Ubuntu 14.04 and the Redis version is the latest stable version 2.8.9. The client selects Redis Java version jedis 2.4.2.
2. Install Redis
A. Download The Redis installation package
Wget http://download.redis.io/releases/redis-2.8.9.tar.gz
B. In the directory, extract according to the package, generate a new directory redis-2.8.9
Tar xvfz redis-2.8.9.tar.gz
C. Enter the decompressed directory and compile it.
Cd redis-2.8.9
Sudo make
NOTE: If there are no obvious errors, the compilation is successful.
D. Install
Sudo make install
Note: Generally, in Ubuntu, sudo must be used to enhance permissions.
E. After the installation is successful, run the test to check whether the Redis function is normal.
Sudo make test
For more details, please continue to read the highlights on the next page: