CentOS7源码安装Redis5.0.4非关系型数据库
源码安装redis-5.0.4
一、 下载redis
1、 需要连接网络
二、 案例(另一种安装方法)
[root@localhost ~]# wget http://download.redis.io/releases/redis-5.0.4.tar.gz
[root@localhost ~]# tar zxf redis-5.0.4.tar.gz
[root@localhost ~]# mv redis-5.0.4 /usr/local/redis #把解压好的包,移动指定位置
[root@localhost ~]# cd /usr/local/redis
[root@localhost redis]# ll #会看到如下这些文件或目录
|
-rw-rw-r--. 1 root root 99445 3月 19 00:21 00-RELEASENOTES -rw-rw-r--. 1 root root 53 3月 19 00:21 BUGS -rw-rw-r--. 1 root root 1894 3月 19 00:21 CONTRIBUTING -rw-rw-r--. 1 root root 1487 3月 19 00:21 COPYING drwxrwxr-x. 6 root root 124 3月 19 00:21 deps -rw-rw-r--. 1 root root 11 3月 19 00:21 INSTALL -rw-rw-r--. 1 root root 151 3月 19 00:21 Makefile -rw-rw-r--. 1 root root 4223 3月 19 00:21 MANIFESTO -rw-rw-r--. 1 root root 20555 3月 19 00:21 README.md -rw-rw-r--. 1 root root 62155 3月 19 00:21 redis.conf -rwxrwxr-x. 1 root root 275 3月 19 00:21 runtest -rwxrwxr-x. 1 root root 280 3月 19 00:21 runtest-cluster -rwxrwxr-x. 1 root root 281 3月 19 00:21 runtest-sentinel -rw-rw-r--. 1 root root 9710 3月 19 00:21 sentinel.conf drwxrwxr-x. 3 root root 4096 3月 19 00:21 src drwxrwxr-x. 10 root root 167 3月 19 00:21 tests drwxrwxr-x. 8 root root 4096 3月 19 00:21 utils |
[root@localhost ~]# make && make install #编译安装
[root@localhost redis]# ll /usr/local/bin/ #查看会有这些redis脚本
|
-rwxr-xr-x. 1 root root 4365136 8月 31 21:32 redis-benchmark -rwxr-xr-x. 1 root root 8100624 8月 31 21:32 redis-check-aof -rwxr-xr-x. 1 root root 8100624 8月 31 21:32 redis-check-rdb -rwxr-xr-x. 1 root root 4805480 8月 31 21:32 redis-cli lrwxrwxrwx. 1 root root 12 8月 31 21:32 redis-sentinel -> redis-server -rwxr-xr-x. 1 root root 8100624 8月 31 21:32 redis-server |
可检测目录文件;(可选)
[root@localhost redis]# yum -y install tcl
[root@localhost redis]# make test
[root@localhost redis]# vim tests/unit/memefficiency.tcl
修改:
将150和100的值改大点,如1500,1000,重新执行make test;

到此完结!
CentOS7源码安装Redis5.0.4非关系型数据库的更多相关文章
- Debian系Linux源码安装Redis5.0.6
一,先在官网下载源码包:https://redis.io/download 二,解压源码包,并cd到解压后的目录: 三,执行make MALLOC=libc: 接着cd src[解压的目录里有这个子目 ...
- centos7源码安装vim8.0
centos 6和7通过yum安装的vim版本仍为7.4,若想尝鲜,可获取源码包编译安装. 准备工作 1.检查vim旧版本,若已存在,将其卸载. $ vim$ yum remove vim* -y 2 ...
- 在CentOs7源码安装mysql-5.6.35单实例数据库
首先安装依赖包,避免在安装过程中出现问题 [root@bogon liuzhen]# yum -y install gcc gcc-c++[root@bogon liuzhen]# yum -y in ...
- centos7源码安装Python3的前提条件
centos7源码安装Python3的前提条件: # yum -y install openssl-devel bzip2-devel expat-devel gdbm-devel readline- ...
- 源码安装 qemu-2.0.0 及其依赖 glib-2.12.12
源码安装qemu-2.0.0 下载源代码并解压 http://wiki.qemu-project.org/download/qemu-2.0.0.tar.bz2 .tar.gz 编译及安装: cd q ...
- CentOS7下编译安装redis-5.0.9
CentOS7下编译安装redis-5.0.9 本文地址http://yangjianyong.cn/?p=171转载无需经过作者本人授权 下载redis #code start wget https ...
- centos7源码安装mysql5.7.19
centos7源码包安装mysql5.7 5.7.20安装方法和5.7.19的一样. 1.安装前准备 清空环境.安装相应的软件包 1>关闭防火墙和SELinux 2>配置yum源(阿里云, ...
- Centos7源码安装mysql及读写分离,互为主从
Linux服务器 -源码安装mysql 及读写分离,互为主从 一.环境介绍: Linux版本: CentOS 7 64位 mysq版本: mysql-5.6.26 这是我安装时所使用的版本, ...
- CentOS下源码安装vsftpd-3.0.0,并设置指定用户访问指定目录(附带完整配置文件)
1.卸载系统已经存在的ftp服务器 因为是源码安装,所以不能通过rpm -qa的方式查看是否已经安装ftp服务器,可以通过find / | grep vsftp*方式查看系统中存在哪些与vsftpd相 ...
随机推荐
- 禁用 Ubuntu 18.04 Files 的 Type Ahead search 功能
. . . . . Ubuntu 的文件浏览器(Files)提供了一个搜索的功能,叫做“Type Ahead search”.即我们在文件浏览器中输入某个文件的名字时,Files 并不是将焦点定位在某 ...
- SQL Server:时间范围查询重叠
常常碰到要校验数据范围是否存在重叠冲突的情况,典型的场景是房间预订. 假如房间A已经有9月1日-9月10日的预订记录,当其它客人再来预订时,系统必须判断,不能与这个日期范围产生重叠. 有四种情况会产生 ...
- bladex-boot推送harbor出错
出错信息: Building image harbor.zhangshuiqing.com:8081/blade/Bladex-boot:2.2.1.release十二月 13, 2019 11:22 ...
- springboot 80转443
application.yml 中配置https证书信息 向spring容器中注入两个Bean,代码如下 import java.util.Map; import org.apache.catalin ...
- H3C 开局设置
简介: 系统菜单 即 [H3C] 模式 一:恢复出厂设置 这个没什么说的,必须Console连接. 连上以后,在启动时Ctrl+B,进入管理启动菜单,删除文件,删除配置文件然后重启即可. Ctrl+ ...
- maven:不再支持源选项 5。请使用 6 或更高版本。
解决办法: 在pom.xml中添加maven的配置 <maven.compiler.source>11</maven.compiler.source> <maven.co ...
- Docker Compose 部署Nginx服务实现负载均衡
Compose简介: Compose是Docker容器进行编排的工具,定义和运行多容器的应用,可以一条命令启动多个容器,使用Docker Compose,不再需要使用shell脚本来启动容器.Comp ...
- 基础自动化部署搭建过程【Jenkins】
测试环境搭建 为了快速搭建一套PHP测试环境我决定用laradock了,虽然文件很多,但是里面封装的东西也是比较全的,后期开发不知道会用到什么技术,就决定先用这个,随时可以启动用得到的服务.larad ...
- 基于layUI调用后台数据实现区域信息级联查询
基于layUI调用后台数据实现区域信息级联查询 1.基本思路 后台提供根据区域编码查询区域列表公共接口 页面初始化调用后台接口加载所有省份 点击省份将省份区域编码传入后台查询该省份下所有地市信息,以此 ...
- Ramdisk根文件系统映像的修改与创建
本文简述Ramdisk根文件系统映像的修改以及创建,并附相关脚本以实现自动化配置,而根文件系统的制作过程请网上自行搜索.相关过程尽可能以图的方式展示出来,重在说明操作的过程,仅供参考. Ramdisk ...