- 博客(10)
- 资源 (2)
- 收藏
- 关注
原创 (error) MISCONF Redis is configured to save RDB snapshots
使用redis进行set值时出现如下问题:127.0.0.1:6379> set a 1(error) MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are...
2020-03-31 22:48:34 231
原创 Redis小于等于44个字节的字符串是embstr编码、大于44个字节是raw编码
1、字符串编码类型字符串类型的内部编码有三种:1、int:存储 8 个字节的长整型(long,2^63-1)。2、embstr:代表 embstr 格式的 SDS(Simple Dynamic String 简单动态字符串),存储小于 44 个字节的字符串,只分配一次内存空间(因为 Redis Object 和 SDS 是连续的)。3、raw:存储大于 44 个字节的字符串(3.2 版本...
2020-03-31 18:19:38 7669 4
原创 史上最详细Centos7安装Redis教程
1、安装环境[root@m src]# lsb_release -aLSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1...
2020-03-26 23:54:34 892 2
原创 解决Centos7中-bash: lsb_release: command not found问题
1、问题:今天在使用lsb_release -a进行系统版本查询的时候,发现报如下错误:lsb_release: command not found.[root@m src]# lsb_release -a-bash: lsb_release: command not found2、安装lsb_release:需要进行lsb_release的安装,执行yum install -y r...
2020-03-26 18:53:29 1579
原创 LVS+KeepAlived+Nginx+Tomcat高可用解决方案
1、环境:1、操作系统:Centos7.62、服务器配置如下:服务器软件192.168.0.13LVS+KeepAlived192.168.0.14LVS+KeepAlived192.168.0.15Nginx192.168.0.16Nginx192.168.0.17Tomcat192.168.0.18TomcatVIP 1...
2020-03-20 22:25:38 1067
原创 实现Nginx+Tomcat负载均衡
1、环境:1、操作系统:Centos7.62、服务器配置如下:服务器软件182.92.220.145Nginx123.206.63.55Tomcat132.232.125.97Tomcat2、安装Nginx2.1 下载`进入到/usr/local/src目录下`[root@henry004 ~]# cd /usr/local/src`下载...
2020-03-20 22:09:43 414
原创 unexpected end of stream on okhttp3.Address 和 Caused by: java.io.EOFException: \n not found: size=0
今天遇到一个OkHttpClient的坑,报错信息如下:[20200320 10:47:10.553] | [ERROR] | [localhost] | [http-nio-28080-exec-22] | [c.u.] | [unexpected end of stream on okhttp3.Address@fe4f10d5] |`java.io.IOException: unexpe...
2020-03-20 15:24:35 3305
原创 Tomcat启动Springboot项目,报错LoggerFactory is not a Logback LoggerContext but Logback is on the classpath.
今天用Tomcat启动springboot打的war包时,报如下错误:SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/home/app/tomcat80/webapps/henry/WEB-INF/lib/slf4j-simple-1.7.22.jar!/org/slf4...
2020-03-19 20:31:19 1179
原创 Tomcat-because there was insufficient free space available after evicting expired cache entries解决方案
今天启动Tomcat的时候出现如下信息:异常信息:19-Mar-2020 16:48:06.947 WARNING [localhost-startStop-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/templates/error/...
2020-03-19 19:58:39 1674
原创 史上最详细Centos7安装MySQL5.7教程
为了方便记录一下MySQL的安装过程,特意写此文进行记录;1、安装环境[root@VM_0_9_centos ~]# lsb_release -aLSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1...
2020-03-15 16:31:23 4542 5
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人