Linux下Redis快速安装
2017-03-21 23:31
344 查看
安装
安装包下载地址:https://redis.io/download
目前最新版本:redis-3.2.8.tar.gz
安装gcc-c++
打开终端,执行 yum install gcc-c++命令
拷贝redis安装包到tmp文件夹下执行解压命令
cd /tmp tar -zxvf redis-3.2.8.tar.gz
解压完成
进入路径
cd /tmp cd redis-3.2.8执行 make 命令,进行编译
执行 make install,进行安装
启动 redis
1.前端启动模式进入路径
cd /usr/local/bin
执行 ./redis-server命令,启动服务
2.后端启动模式
从安装包解压路径拷贝redis.conf拷贝到/usr/local/bin/路径下
cp /tmp/redis-3.2.8/redis.conf /usr/local/bin
修改配置文件
daemonize no 改为 yes
进入路径
cd /usr/local/bin
执行 ./redis-server redis.conf 命令,启动服务
测试
相关文章推荐
- linux下redis快速安装和开机启动
- Linux (CentOS 7.3) 下Redis数据库的快速安装和配置
- Linux+Apache+PHP+Mysql快速安装
- Linux下快速安装vsftpd方法 推荐
- Linux(Centos6。0) redis 安装及redisphp拓展安装应用和redis.conf 的详细解析
- 在Debian Linux上快速安装LAMP环境
- 归档Redis在Windows,linux平台下的安装配置【转】
- 归档Redis在Windows,linux平台下的安装配置
- linux系列--Vsftpd快速安装配置
- linux下redis的安装
- Linux下安装配置Redis
- Gentoo Linux的快速复制安装
- Linux系统快速自动安装配置(类似于ghost)
- PC 平台上的一种快速 Red Hat Linux 安装方法
- Nagios 监控 Linux 服务器 运行情况 快速安装手册
- 在PC上如何快速安装 Red Hat Linux
- Linux下快速安装vsftpd方法
- Linux下快速安装vsftpd方法
- 在Debian Linux上快速安装LAMP环境
- Linux 下 Redis 安装详解