1. Redis Installation and operation

Source: Internet
Author: User
Tags download redis redis
Redis installation and running One, Windows environment installation, running the author's version for Redis 3.2, download link redis3.2-win32.zip download directly after the decompression does not need to install, the operation needs to enter the cmd window,
Run Redis-server.exe redis.windows.conf redis.windows.conf is a Redis profile and will be explained in a subsequent article
The window cannot be closed after a successful run, or it is equivalent to a closed database

Client start: Open another command window run Redis-cli.exe II, Linux Environment installation download compression package redis-3.2.5.tar.gz or to the author's resources page download redis-3.2.5.tar.gz unzip, compile tar zvxf redis -3.2.5.tar.gz
After make compiles, you can see that the extract file redis-3.2.5 will have the corresponding SRC, conf and other folders, which is installed under Windows to install the extracted files, most of the installation package will have corresponding class files, configuration files and some command files. After the compilation is successful, go to the src folder, execute make install, and configure the configuration file for the redis.conf file under the ETC directory in the Linux environment.

Start the Redis-server command and go to the bin directory to execute the following command (which is performed by default in redis.conf)

./redis-server

Start the client redis-cli, and also execute the following command in the bin directory

./redis-cli

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.