Redis 3.0 Source Installation Detailed steps detailed instructions

Source: Internet
Author: User
Tags install redis

Download it to the website and execute it on the server

Tar zxvf redis-3.0.4.tar.gz

CD redis-3.0.4
Make


CD src
./redis-server Starting Redis

Make a click to complete the installation. By redis-cli entering the ping display pong the installation is successful.

However, Redis recommends these deep-seated installation configurations.

Mak Test
Note that Redis prompts you when you are done doing
Hint:it ' s a good idea to run ' make test ';)

Execute it for a moment.
CD src switch to the SRC directory below Redis, execute make test
Will prompt
[[email protected] src]# make test
You need TCL 8.5 or newer in order to run the Redis test


Yum install TCL can

[[email protected] src]# make Distclean clean up the installation process system is no longer related to the package.

This would clean:jemalloc, Lua, Hiredis, linenoise


In order to add Redis commands to the system environment, execute the

Make install
This allows Redis commands to be executed anywhere in the system.

In order to install the Redis binaries Into/usr/local/bin just use:

Switch to the Utils directory
Cd/root/redis-3.0.4/utils
Execution./install_server.sh
will prompt to install Redis port, configuration file, log directory and so on, select the default, all the way to enter the line

The script would ask you a few questions and would setup everything you need
To run Redis properly as a background daemon that'll start again on
System reboots

The above is very detailed, as for the function would start again on! It's convenient when you use it later.

Redis 3.0 Source Installation Detailed steps detailed instructions

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.