Operating Redis in a Linux environment

Source: Internet
Author: User

First step: Install the virtual machine ... ;

Step Two: Install Linux (Centos) after the virtual machine installation is successful

Command: $ wget http://download.redis.io/releases/redis-3.2.5.tar.gz

$ tar xzf redis-3.2.5.tar.gz

$ CD redis-3.2.5

$ src/redis-server (background startup process:./redis-server.. /redis.conf)

The Redis service has been started.

$ src/redis-cli

$ set TT ' ABC '

It's already connected to Redis.

Note: You can set the redis.conf file, Ps-ef | grep Redis: Check process

Step three: Remote link Linux may need to turn off the firewall,

1) After restart: Chkconfig iptables on off: chkconfig iptables off 2) immediate effect, restart after failure to open: service Iptables s Tart off: Service iptables stop


This article is from the "flyfish" blog, make sure to keep this source http://9381188.blog.51cto.com/9371188/1877936

Operating Redis in a Linux environment

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.