logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Linux中拷贝目录及其子目录所有文件

cp命令拷贝当前目录以及子目录下的所有文件忽略当前文件中的隐藏文件cp   -r   /usr/* /test1/完整复制所有文件cp   -r   /usr/. /test1/如果对你有帮助,请一定要帮忙点赞好评,给予创作的动力…...

#linux#centos#服务器 +1
Linux系统中/etc/rc.local和/etc/rc.d/rc.local的区别

Linux系统中/etc/rc.local和/etc/rc.d/rc.local的区别一般我们重启服务器的时,顺带开启其他的一些业务服务,这时候会使用到这个两个文件。可以将启动的命令【一定绝对路径】添加到这两个文件中去,添加之前先要给予这个两个文件操作的权限。/etc/rc.d/rc.local 用于添加开机启动命令/etc/rc.local是/etc/rc.d/rc.local的软连接...

#linux#centos#ubuntu +2
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#中间件
到底了