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相 ...
随机推荐
- SQL中merge into用法
从备份表中更新字段到正式表中,使用 UPDATE 批量更新大量的数据,会出现效率低下,有时候甚至卡死的情况,后面通过使用 MERGE INTO 代替 UPDATE 执行批量更新,会提升执行效率. ME ...
- C# COM组的开发以及调用
一.用C#编写一个COM组件 1. 打开Visual Studio2008,[文件]->[新建]->[项目] 2. 项目类型=Visual C#,模版=类库,名称= ...
- 【python基础】setproctitle的安装与使用
前言 setproctitle模块允许设置进程名称. 安装 pip install setproctitle 使用 参考 1. setproctitle: 完
- docker搭建samba共享目录
需求:因同事需要共享文件夹来传输数据.整好接触docker,所以想用docker来搭建samber 系统:Centos7.4 docker搭建就不在赘述,如有需要请参考:https://www.jia ...
- readiness与liveness
一.liveness(存活探针)方式 HTTP GET:对指定的端口和路径执行http get请求,返回非错误代码即代表正常 TCP socket:对指定端口建立TCP链接,链接通过则代表正常 Exe ...
- linux下的短延迟
nanosleep,sleephttps://www.jianshu.com/p/42abcc2c9e50
- 实用———springmvc接收参数校验
https://www.cnblogs.com/funyoung/p/8670550.html https://www.cnblogs.com/monkeydai/p/10068547.html He ...
- Linux安装zookeeper3.5.6
依赖JRE[我这边是JRE8] 一,先在https://mirrors.tuna.tsinghua.edu.cn/apache/zookeeper/stable/下载apache-zookeeper- ...
- Docker下安装zookeeper(单机 & 集群)
启动Docker后,先看一下我们有哪些选择. 有官方的当然选择官方啦~ 下载: [root@localhost admin]# docker pull zookeeper Using default ...
- GitHub: Oracle RAC Database on Docker 未测试 改天试试
https://github.com/oracle/docker-images/blob/master/OracleDatabase/RAC/OracleRealApplicationClusters ...