Redis installation in a Linux virtual machine

Source: Internet
Author: User

1. Copy the installation package to the OPT path

2. Unzip the folder TAR-ZXVF XXX.tar.gz

3. Make report a heap of Errors gcc command not found

4, to the packages directory to execute 4 commands (no network)

The Internet is yum.

5, continue to make, continue to error

6, to the Redis path to clean the hard disk, make Distclean

7, come on make, just fine

Take a look at the bin directory, where Redis-related files are saved

Cd/usr/local/bin

Note The file path, I have been wrong several times, see the details

8, CP a configuration file to opt, named Myredis file, change the configuration file in the

Switch back to Redis in OPT, see details, with config file

9. Start command, redis-server/myredis/redis.conf

Using Client access, verify ping pong, OK, installation complete O (∩_∩) o~

=========================================================

Redis installation in a Linux virtual machine

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.