Redis 1: Installation

Source: Internet
Author: User
1. installation environment, VM + centos6.5ps: If yum is installed, the first step is as follows: install mkdir/usr/redis new redis directory CD/usr/redis enter the directory wget http://download.redis.io/releases/redis-2.8.13.tar.gz download 2.8.13 installation package PS: If wget shows no such command, please first Yum install wgettar zxf redis-2.8.13.tar.gz unzip CD redis-2.8.13.tar.gz into the directory make compile PS: If the prompt make failed, please first Yum install GCC, tclmake install compile install make test compile check Step 2: configure CP/usr/redis/redis-2.8.13.tar.gz/utils/redis_init_script/etc/init. d/redis_61_mkdir/etc/redismkdir/etc/redis/6379cp/usr/redis/redis-2.8.13.tar.gz/redis. conf/etc/apsaradb for redis/6379. conf = ========================================= Vim 6379. confps: If the prompt that the vim command does not exist, you can use VI to replace the following parameters: daemonize yespidfile/var/run/redis_62.16.pidport 62.16dir/etc/redis/6379 ==================== ========================================================== step 3: start/etc/init. d/redis_6379 start
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.