logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Redis启动出现WARNING overcommit_memory is set to 0...解决

1.启动redis。 redis-server redis.conf路径+文件出现警告WARNING overcommit_memory is set to 0! Background save may failunder low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to > > >

#redis#数据库#sql +2
nginx: [emerg] the “ssl“ parameter requires ngx_http_ssl_module in......[缺少http_ssl_module模块]

Nginx如果未开启SSL模块,Http转Https,配置Https时提示错误nginx: [emerg] the “ssl” parameter requires ngx_http_ssl_module in /usr/local/nginx/conf/nginx.conf:137原因也很简单,Nginx缺少http_ssl_module模块,编译安装的时候带上–with-http_ssl_mo

#nginx#ssl#http +1
Chrome浏览器设置跨域访问【新旧版本两种方式设置】

在进行前后分离的 webapp 开发,或者 H5 移动 App 开发时,我们会使用 PC 端浏览器进行开发调试。但默认情况下 Ajax 请求无法跨域访问,请求时会报如下错误:XMLHttpRequest cannot load http://127.0.0.1:8080/ptmo/services/ptmo/v1/execOneSql. Response to preflight request

#chrome#ajax#html +1
SpringBoot 项目中实现文件下载功能

在您的 springboot 项目中,可能会存在让用户下载文档的需求,比如让用户下载 readme 文档来更好地了解该项目的概况或使用方法。 所以,您需要为用户提供可以下载文件的 API ,将用户希望获取的文件作为下载资源返回给前端。创建好一个 springboot 项目,一定要引入 web 依赖:<dependency><groupId>org.springframewo

#spring#java#spring boot +2
RabbitMQ的通配符模式(Topic Exchange)的*和#区别

rabbitmq的通配符模式(Topic Exchange)的*和#区别符号“#”匹配路由键的一个或多个词,符号“*”匹配路由键的一个词。例如:topic.#那么这个队列会会接收topic开头的消息topic.*.queue那么这个队列会接收topic.aaaa.queue这样格式的消息,不接收能topic.aaaa.bbbb.queue这样格式的消息...

#rabbitmq#kafka#中间件
Linux中在当前目录下查找某个文件

Linux中在当前目录下查找某个文件可以使用find命令来进行查询。1、比如在/etc下查找rc.local的文件,进入/etc目录后,可以执行find . -name “rc.local”说明:find命令用于查找文件,后面的“."代表当前目录,-name是find命令的参数,后面接要搜索的文件名2、如果不明确文件名称,可以使用通配符find . -name “rc*”注意:1、查找文件不能用g

#linux#centos#运维 +1
Redis启动出现WARNING overcommit_memory is set to 0...解决

1.启动redis。 redis-server redis.conf路径+文件出现警告WARNING overcommit_memory is set to 0! Background save may failunder low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to > > >

#redis#数据库#sql +2
暂无文章信息