redis3.2.2 Installation

Source: Internet
Author: User

Yum-y Install GCC

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

Tar zxf redis-3.2.2.tar.gz

CD redis-3.2.2

Make

Cd..

CD Utils

./install_server.sh then go down the road and enter

Welcome to the Redis service installer
This script would help you easily set up a running Redis server

Please select the Redis port for this instance: [6379]
Selecting default:6379
Please select the redis config file name [/etc/redis/6379.conf]
Selected Default-/etc/redis/6379.conf
Please select the Redis log file name [/var/log/redis_6379.log]
Selected Default-/var/log/redis_6379.log
Please select the data directory for this instance [/var/lib/redis/6379] ^c
[Email protected] utils]# wget http://download.redis.io/releases/redis-3.2.2.tar.gz^c
[Email protected] utils]#./install_server.sh
Welcome to the Redis service installer
This script would help you easily set up a running Redis server

Please select the Redis port for this instance: [6379]
Selecting default:6379
Please select the redis config file name [/etc/redis/6379.conf]
Selected Default-/etc/redis/6379.conf
Please select the Redis log file name [/var/log/redis_6379.log]
Selected Default-/var/log/redis_6379.log
Please select the data directory for this instance [/var/lib/redis/6379]
Selected Default-/var/lib/redis/6379
Please select the Redis executable path [/usr/local/bin/redis-server]
Selected Config:
port:6379
Config File:/etc/redis/6379.conf
Log File:/var/log/redis_6379.log
Data dir:/var/lib/redis/6379
Executable:/usr/local/bin/redis-server
Cli executable:/USR/LOCAL/BIN/REDIS-CLI
Is this OK? Then press ENTER to go on or ctrl-c to abort.
copied/tmp/6379.conf =/etc/init.d/redis_6379
Installing service ...
Successfully added to chkconfig!
Successfully added to Runlevels 345!
Starting Redis Server ...
Installation successful!

redis3.2.2 Installation

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.