Tutorial on installing Redis database in Linux system, linuxredis

Source: Internet
Author: User

Tutorial on installing Redis database in Linux system, linuxredis

Install the Redis database in Linux.

1. First put our compressed package under the opt folder. Redis-3.0.4.tar.gz this is my compressed package.

2. decompress the package with the command tar-zxvf.

Tar-zxvf redis-3.0.4.tar.gz // unzip Redis package

3. Use the make command for installation.

If the gcc editor is not installed, this error is usually reported.

Install the gcc editor first.

Yum install gcc-c ++ // if you can access the Internet, // if you do not have a network, you can use an image for installation.

The second make operation still reports an error. The cause may be the influence of some residual files.

Run make distclean and then make.

Make distclean // make //

The installation should be successful now. If the installation is successful, a sentence will appear.

Hint: It's a good idea to run 'make test ';

This means you can use the make Test command for testing.

This indicates that the command is successful. You 'd better not try the make Test command. Because the newly installed Redis is all factory settings.

There is one less TCL plug-in. If you use this command, you will receive an error without the TCL plug-in.

If the test is not performed, run the make install command. The installation is complete.

Download the TCL command:

Wget https://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gzsudo tar-xzvf tcl8.6.1-src.tar.gz-c/usr/local/sudo./configuresudo makesudo make install

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.