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相 ...
随机推荐
- 【Docker学习之七】Docker图形化管理和监控
环境 docker-ce-19.03.1-3.el7.x86_64 centos 7 一.Docker管理工具 (官方三剑客)1.Docker Machine(学习的Openstack Heat)Cr ...
- Properties的有序读写
使用java.util.Properties提供的类,读取properties文件的时候,读出来的是乱序的 如下边的情况 import java.io.*; import java.util.Arra ...
- 一款新的好用的SSH工具——FinalShell
FinalShell是一体化的的服务器,网络管理软件,不仅是ssh客户端,还是功能强大的开发,运维工具,充分满足开发,运维需求.特色功能:免费海外服务器远程桌面加速,ssh加速,双边tcp加速,内网穿 ...
- ThinkPHP3验证码、文件上传、缩略图、分页(自定义工具类、session和cookie)
验证码 TP框架中自带了验证码类 位置:Think/verify.class.php 在LoginController控制器中创建生存验证码的方法 login.html登陆模板中 在LoginCont ...
- fineui 模拟右下角弹窗
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat=&qu ...
- SQL Server 从一组数字中随机获取一个数
很多人在开发需求中想获取一个随机数,或者从一组数字中获取一个数, 这个需求很简单,而且有很多方式可以实现,下面就介绍几种常见的方式,以作为笔记或供有需要的人参考. 比如有一组数字: 57 59 63 ...
- js中Function引用类型中一些常见且有用的方法和属性
Function类型 函数由于是Function类型的一个实例,所以函数名就是一个指向函数对象的指针,不会与某个函数死死的连接在一起,这也导致了js中没有真正的重载,但好处是,函数对象可以作为另一个函 ...
- layui 动画 实现过程
layui官方文档晦涩难懂,对小白特别不友好 为演示效果,js和css文件引用cdn 演示是ul套li标签进行演示,这不是固定的,你也可以div套div,div套span,外面和里面的标签类要一一对应 ...
- Java中是使用增强for的null问题
在使用List和Map等集合时,我们经常会使用增强for来进行遍历.但是这里面会存在一些问题.比如当你进行数据库查询是,得到的返回结果是List集合时,如果没有查询到符合要求的数据时List集合时nu ...
- HTML5 极简的JS函数
页面初始化 mui框架将很多功能配置都集中在mui.init方法中,要使用某项功能,只需要在mui.init方法中完成对应参数配置即可,目前支持在mui.init方法中配置的功能包括:创建子页面.关闭 ...