Installing Redis under Linux

Source: Internet
Author: User
Tags download redis

First download Redis.

Http://redis.io/download this is the address;

>>> TAR-ZXVF redis.tar.gz

>>> switch to the directory under Redis

[[Email protected] local]# CD./redis-3.0.2

>>make

>>cd src && make all
MAKE[1]: Entering directory '/USR/LOCAL/REDIS-3.0.2/SRC '
CC ADLIST.O
In file included from adlist.c:34:
Zmalloc.h:50:31:error:jemalloc/jemalloc.h:no such file or directory
Zmalloc.h:55:2: Error: #error "Newer version of Jemalloc required"
MAKE[1]: * * * [ADLIST.O] Error 1
MAKE[1]: Leaving directory '/USR/LOCAL/REDIS-3.0.2/SRC '
Make: * * * [ALL] Error 2

>> Error

>>[[email protected] redis-3.0.2]# make Malloc=libc

Ok

>>[[email protected] redis-3.0.2]#./src/redis-server

>>10709:c Jul 01:09:36.574 # warning:no config file specified, using the default Config. In order to specify a config file use./src/redis-server/path/to/redis.conf
10709:m 01:09:36.574 * Increased maximum number of open files to 10032 (it is originally set to 1024).
_._
_.-' __ '-._
_.-``    `.  `_. "-._ Redis 3.0.2 (00000000/0)
.-`` .-```. ' \ \ _.,_ '-._
(',.-' | ',) Running in standalone mode
| '-._ '-...-' __...-. '-._| '     ' _.-' | port:6379
|     '-._ '. _/_.-' | pid:10709
'-._ '-._ '-./_.-' _.-'
| '-._ '-._ '-.__.-' _.-' _.-' |
|           '-._ '-._ _.-' _.-' | Http://redis.io
'-._ '-._ '-.__.-' _.-' _.-'
| '-._ '-._ '-.__.-' _.-' _.-' |
| '-._ '-._ _.-' _.-' |
'-._ '-._ '-.__.-' _.-' _.-'
'-._ '-.__.-' _.-'
'-._ _.-'
'-.__.-'

Installing Redis under Linux

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.