Install the redis service in centos

Source: Internet
Author: User

Install the redis service in centos
To install the redis service, follow these steps:

Wget http://download.redis.io/releases/redis-3.2.3.tar.gz tar xzf redis-3.2.3.tar.gz cd redis-3.2.3 make install
Basic configuration of apsaradb for redis after installation
  • Find the configuration file template in the redis root directory and copy it to the following location.
Cp redis. conf/etc/redis/6379. conf
  • Use the vim command to modify
Daemonize yes pidfile/var/redis/run/redis_62.16.pid logfile/var/redis/log/redis_62.16.log dir/var/redis/6379
Finally run redis:
Redis-server/etc/redis/6379. conf

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.