The red callout is the input command
First step: Download Redis
Website address: http://redis.io/
: http://download.redis.io/releases/redis-3.0.0.tar.gz
Step Two: Install Redis
- Installing Redis on Linux requires the installation of the GCC environment: [[email protected] ~]#yum install gcc-c++
- Upload the Redis compression package to Linux. (I'm using SSH)
- extracting Redis Source Packages : [[email protected] ~]# TAR-ZXVF redis-3.0.0.tar.gz
- Unzip and then enter the extracted folder, and then compile: [[email protected] ~]#CD./redis-3.0.0 ; [email protected] redis-3.0.0]# MAKE
- After compiling, then install: [[email protected] redis-3.0.0]# make install Prefix=/usr/local/redis This is to install Redis to/usr/local/ In Redis
- Then go to the installed directory to view, if the bin directory appears to indicate that the installation is ready
- Then go to the Bin directory and start Redis
Installing Redis in Linux