Redis Tutorial (ii): Some problems encountered in installation

Source: Internet
Author: User
Tags redis redis tutorial

One: Make compile, there is an error

Solution: Take a closer look at the error location information, it is possible that some things are not installed, put these things installed will be no problem


Two:

Warning:no config file specified, using the default Config. In order to specify a config file with ' redis-server/path/to/redis.conf '
 Opening port:bind:Address already in use
A warning like this is because the configuration file is not loaded correctly.

We can modify the configuration file redis.conf, modify Daemonize no, change No to Yes, make it a background thread, enter the redis.conf configuration file's sibling directory

Use the command Redis-server redis.conf. I am here because the configuration file did not load correctly caused the use of Redis command without any response, empty.


Third: The start of the Redis warning, is the use of Redis-server appear Redis graphics, is roughly memory related warning information, we use the following command

A) echo Vm.overcommit_memory=1 >>/etc/sysctl.conf

b) Sysctl Vm.overcommit_memory=1 or perform echo Vm.overcommit_memory=1 >>/proc/sys/vm/overcommit_memory


Installation error in these places, detailed can be carefully checked, here to provide some ideas

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.