Linux Learning note 4-centos7 in redis3.2.9 installation tutorial

Source: Internet
Author: User
Tags gz file

redis:http://www.redis.cn/download.html1. Copy the downloaded redis-3.2.9.tar.gz file to the/usr/local folder2, Tar xzf redis-3.2.9.tar.gz command decompression3, switch to the extracted file redis-3.2.9, compile Redis
Make

If GCC is not found error (this is because your system does not have GCC installed, so execute yum install gcc command installation gcc)

At this point you need to delete the remnants of the previous compilation, execute the Make Distclean command to clear the remaining files

Recompile execute make command

Compile complete without error, you can use the

4. Under the redis-3.2.9 folder:

Execute the Src/redis-service startup service as shown in

Execute SRC/REDIS-CLI to start the client as shown in

To enter a command, try the Redis feature:

Linux Learning note 4-centos7 in redis3.2.9 installation tutorial

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.