linux install redis
- Download the redis installation package redis-3.0.4.tar.gz
- Use ftp to upload to the linux installation opt/ directory (you can also put it in another directory)
- Unzip the redis installation package tar -zxvf redis-3.0.4.tar.gz
- If gcc is not installed on linux, first execute the installation gcc command yum install gcc-c++ (can access the Internet)
- After installing gcc, execute gcc -v to display the gcc version number, indicating that the installation is successful
- Run the command: make distclean
- Run the command: make