Redis is installed in Linux using

Source: Internet
Author: User

First, installation
$ wget http://download.redis.io/releases/redis-x.x.x.tar.gz$ tar xzf redis-x.x. X.tar. gz$ CD Redis-x.x. X$ make

sudo cp mkreleasehdr.sh Redis-benchmark redis-check-aof redis-cli redis-check-rdb redis-trib.rb Redis-sentinel redis-server/usr/local/redis/bin/

Second, start the service
$ cd/usr/local/redis/bin/
$./redis-server redis.conf

Third, close the service
$ redis-cli Shutdown


Note: When you close the service, the following prompt appears, indicating that the database save failed while shutting down.
(Error) ERR Errors trying to SHUTDOWN. Check logs.
Execute the following command to add read and write permissions.

sudo chmod-r a+wrx Redis

Redis is installed in Linux using

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.