Linux Install Redis Cache hands-on learning

Source: Internet
Author: User
Tags install redis

One, the first time to write a blog, not good please more attention.

    1. To download redislinux version of the website, specific Baidu

    2. Upload files to the usr/local directory via WINSCP

    3. Decompression: TAR-ZXVF redis-3.2.9.tar.gz-c/usr/local/  Note: Extract to usr/local path after

    4. Enter directory: cd/usr/local/redis-3.2.9

    5. Compile: cd/usr/local/redis-3.2.9   then make

    6. Install under src: cd/usr/loca/redis-3.2.9/src then make install

    7. Modify Redis Profile: vim/usr/local/ redis-3.2.9/redis.conf

    8. Modify the parameters as follows: Bind current IP address, daemonize instead of Yes

    9. log folder:/usr/local/ Redis-3.2.9/logs/redis.log (Create folder: mkdir/usr/local/reidis-3.2.9/logs/)

    10. Data file storage:/usr/local/ Redis-3.2.9/datas (Build folder: mkdir/usr/local/reidis-3.2.9/datas/)

    11. Start Redis service:/usr/lcoal/bin/ redis-server/usr/local/redis-3.2.9/redis.conf

    12. Start Redis client:/usr/local/bin-h IP address-p port (default 6379)

    13. Turn off Redis service:/USR/LOCAL/REDIS/BIN/REDIS-CLI-H IP address-p port (default 6379) shutdown

I personally summed up the above. Use the post-review configuration for Redis installation. We can learn from the reference. Please correct me for any shortcomings.

This article from the "12366937" blog, reproduced please contact the author!

Linux Install Redis Cache hands-on learning

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.