The process of installing Redis under the Linux centos6.5 environment

Source: Internet
Author: User

The process is still very torture people! Thank you Xu Zheng classmate has been patiently give me guidance, although he is also very busy. Not much nonsense said:

First, make sure that the Linux virtual machine is networked:

VM Virtual machines > Settings >network Adapter settings > Network configuration set to NAT

Window+r>services.msc View service items ensure process VMware DHCP Service, VMware NAT service startup status

Go to CentOS, enter the reboot command to reboot the system

Then see if the upper-right corner of the virtual machine is connected, eth0 is the default gateway for the virtual machine.

Then install GCC:

Yum Install Cppyum install Binutilsyum install Glibcyum install Glibc-kernheadersyum install Glibc-commonyum install glibc -develyum Install Gccyum Install make

And then make the problem when it happens:

~/workspace/redis2.6.13/src$ make Test
You need TCL 8.5 or newer in order to run the Redis test
Make: * * * [Test] Error 1

Workaround:

$ sudo yum install Tcl

The question is almost over, and the following command looks at the results:

Start Redis
$ src/redis-server./redis.conf

You can see that the port is 6379~

The process of installing Redis under the Linux centos6.5 environment

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.