Redis deployment Installation __linux in Linux environment

Source: Internet
Author: User
Tags redis redis server
1. Upload the Redis installation package

Using the WINSCP visualization tool, upload the redis.2.8.19.tar.gz installation package in the Windows environment to the Linux of the virtual machine.
2. View uploaded files

3. Extract to current directory

TAR-ZXVF redis-2.8.19.tar.gz extract to current directory

4. Into the decompression directory compile make, compile. c into executable. o file

5. Install to the specified directory

[Root@www redis-2.8.19]# make Prefix=/usr/local/redis Install

6. Copy redis.conf to specified directory

[Root@www redis-2.8.19]# CP redis.conf/usr/local/redis/

There is no redis.conf under the installation path

Go to the original compilation directory to find redis.conf

7. Start Redis

Enter the installation directory/usr/local/redis/bin there are several executable files
redis-benchmark--Performance test Tool reids-check-aof--Check repair aof files appendonly file log file, data persistence redis-check-dump--Check snapshot persistence file redis-cli- -Command line client Redis-server--redis Server startup command

Start:

[Root@www redis]# Bin/redis-server

The port number is: 6379

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.