Centos 6.5 x64上安装redis
来源:互联网 发布:金华网络教育 编辑:程序博客网 时间:2024/06/05 12:05
在centos上安装redis 可以使用添加epel的方式安装 也可以使用一般的make方式编译安装 这里采用编译安装
1.下载redis
wget http://download.redis.io/releases/redis-2.8.17.tar.gztar -xvzf redis-2.8.17.tar.gzmv redis-2.8.17 rediscd redis
2.在编译过程中碰到提示错误:
zmalloc.h:55:2: error: #error "Newer version of jemalloc required"
采用的解决方式是编译的时候加上参数
make MALLOC=libc
最后再
make install好了,redis默认使用6379的端口 启动redis只需要用redis-server命令即可:
[2296] 25 Oct 22:59:45.259 * Increased maximum number of open files to 10032 (it was originally set to 1024). _._ _.-``__ ''-._ _.-`` `. `_. ''-._ Redis 2.8.17 (00000000/0) 64 bit .-`` .-```. ```\/ _.,_ ''-._ ( ' , .-` | `, ) Running in stand alone mode |`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | `-._ `._ / _.-' | PID: 2296 `-._ `-._ `-./ _.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | http://redis.io `-._ `-._`-.__.-'_.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | `-._ `-._`-.__.-'_.-' _.-' `-._ `-.__.-' _.-' `-._ _.-' `-.__.-' [2296] 25 Oct 22:59:45.261 # Server started, Redis version 2.8.17[2296] 25 Oct 22:59:45.261 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.[2296] 25 Oct 22:59:45.262 * DB loaded from disk: 0.001 seconds[2296] 25 Oct 22:59:45.263 * The server is now ready to accept connections on port 6379
就这么简单!
0 0
- Centos 6.5 x64上安装redis
- CentOS 6.5 X64上64位Oracle11gR2 静默安装:
- centOS上安装redis
- centOS上安装redis
- CentOS上安装redis
- centOS上安装redis
- centos上安装redis
- CentOS上安装redis
- centOS x64系统上安装 oracle 11g R2 x64
- Linux(CentOS 6.5) 上安装redis
- centos 6.5上redis安装与配置
- centOS 6.3上安装redis
- centos 7上安装redis
- centos 6.5 x64 安装apache2.4.9
- CentOS 6.5 X64 VPS安装Shadowsocks备忘
- Centos 6.5 x64 安装 pptpd VPN
- Docker 在Centos 6.5 X64下安装
- Docker 在Centos 6.5 X64下安装
- javaweb基础(2)
- 第9周 项目5 程序填充题(1)
- 上机作业2
- Linux文件类型与扩展名
- ubuntu 12.04 qq
- Centos 6.5 x64上安装redis
- Cannot refer to a non-final variable image inside an inner class 关于android 的final
- Codeforces Round #275 (Div. 2) C Diverse Permutation
- 捷速ocr文字识别软件巧运用 对工作压力say no
- DirectShow基础编程 最简单transform filter 编写步骤
- 创建Windows类
- 解剖 Nginx ·自动脚本篇(2)设置初始变量脚本 auto/init
- Leetcode: Insertion Sort List
- linux ps命令