logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

redis 5.0版本和Redis 7.0.15的区别在哪里

数据类型 Hash、List 和 Zset 的底层数据结构用 listpack 替换了 ziplist,提升了性能。总体而言,Redis 7.0.15 在功能、性能和可扩展性方面都有显著提升,适合对性能和功能有更高要求的场景。在 Lua 脚本中支持 Function 标志,并增加了对 RESP3 的支持。:在 AOF 文件中增加了数据更新时间点的标识,支持恢复某一时间点的数据。改进了内存管理,引入

文章图片
#redis#数据库#缓存
centos 7.9 nginx本地化安装,把镜像改成阿里云

可以在本地下载好了之后,然后离线化安装。比如,在安装的过程中,发现这两个包无法安装,就可以先下载下来,最后进行安装。

文章图片
#centos#nginx#阿里云
nginx稳定版1.20.1支持stream模块(保姆教程)

目前centos 7.9版本默认安装版本是1.20.1,但不支持stram模块,我们想做mqtt转发,就实现不了。

文章图片
#nginx#运维
nginx日志自动切割

参考:https://ityet.com/?p=10002208https://www.cnblogs.com/hukey/p/12779448.html

文章图片
#nginx#运维#https
通过nginx日志来分析请求的访问时间

log_formatmain'$remote_addr "$request_time" "$upstream_response_time" - $remote_user [$time_local] "$request" ''$status $body_bytes_sent "$http_referer" ''"$http_user_agent" "$http_x_forwarded_for"';

文章图片
#nginx#运维
centos7.9离线安装redis(避坑指南,一篇就行)

1.下载地址:http://www.redis.cn/download.html2.所有版本地址:http://download.redis.io/releases/我使用的是3.2.12版本#1.上传文件到/opt文件目录下通过ftp把文件上去#2.解压redis-3.2.12.tar.gz包tar xzf redis-3.2.12.tar.gz#3.移动解压后的文件到/usr/local/re

文章图片
Host Switch Plus结合nginx使用

1.先把本地的应用启动起来查看本地的ip地址ipconfig2.配置nginx# For more information on configuration, see:#* Official English Documentation: http://nginx.org/en/docs/#* Official Russian Documentation: h...

文章图片
#nginx#运维
linux环境下中文乱码问题

1.centos 系统安装字体库yum -y install fontconfig安装成功后可在 /usr/share 目录下看到 fonts和 fontconfig 目录2.添加中文字体到字体库中在window下, C:\Windows\Fonts 目录下可找到中文字体。 例如 msyh.ttc上传 msyh.ttc 到linux服务器 /usr/share/fonts/chinese 下。 (

文章图片
#linux#运维#服务器
springboot 数据库链接池常用配置

保留一下springboot常用的配置spring.datasource.primary.url=jdbc\:mysql\://localhost\:3306/test?useUnicode\=true&characterEncoding\=utf-8spring.datasource.primary.username=testspring.datasource.primary.passw

文章图片
#spring boot#数据库#后端
gradle全局使用阿里云镜像

https://juejin.cn/post/6844904072990949390创建init.gradledef repoConfig = {all { ArtifactRepository repo ->if (repo instanceof MavenArtifactRepository) {def url = repo.url.toString()if (url.contains(

文章图片
#gradle#阿里云#maven
    共 28 条
  • 1
  • 2
  • 3
  • 请选择