redis installation tutorial

linux install redis

  1. Download the redis installation package redis-3.0.4.tar.gz
  2. Use ftp to upload to the linux installation opt/ directory (you can also put it in another directory)

  3. Unzip the redis installation package tar -zxvf redis-3.0.4.tar.gz

  4. If gcc is not installed on linux, first execute the installation gcc command yum install gcc-c++ (can access the Internet)
  5. After installing gcc, execute gcc -v to display the gcc version number, indicating that the installation is successful

  6. Run the command: make distclean
  7. Run the command: make

Guess you like

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