Installation of Redis and Nginx software under CentOS

Source: Internet
Author: User

In this chapter, we take Redis and Nginx software as an example to introduce the installation of software under CentOS.

Need a package (can be downloaded first to the CentOS specified directory, or directly with the wget command to obtain):

Nginx-1.7.9.tar

Redis-2.8.19.tar.gz

tar.gz Software Installation The usual steps are

$./configure This step is typically used to generate Makefile, to prepare for the next compilation, you can control the installation by adding parameters to the Configure.
$ make
$ make Install (note: Run this to have sufficient permissions)
$ make clean

Redis installation process:

The first step is to download Redis:

wget http://download.redis.io/releases/redis-2.8.19.tar.gz

(If there is no wget method first install wget with yum install wget-y)

Step two, unzip the Redis

TAR-XVF redis-2.8.19.tar.gz

Step three, go to Redis directory

CD redis-2.8.19

The fourth step, compile, most of the source code packages are compiled through this step

Make

Fifth step, this command to install

Make install

Sixth step, test the installation success

Redis-server

Seventh step, detect whether the start is successful

Ps-ef|grep Redis

To the current location Redis installation Complete Next is the configuration of the redis.conf file.

Installation of Redis and Nginx software under CentOS

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.