上一页 1 2 3 4 5 6 7 8 ··· 34 下一页
摘要: 接口接收文件@RequestParam("file") MultipartFile file MultipartFile转byte[] String name = file.getName(); String originalFilename = file.getOriginalFilename() 阅读全文
posted @ 2023-05-23 16:14 翠微 阅读(943) 评论(0) 推荐(0) 编辑
摘要: 源码 安装必要的软件 yum -y install gcc cc cl pcre pcre-devel openssl openssl-devel zlib zlib-devel 下载解压源码 cd usr/local/src mkdir nginx cd nginx wget https://ng 阅读全文
posted @ 2023-05-17 16:18 翠微 阅读(6) 评论(0) 推荐(0) 编辑
摘要: spring: cloud: loadbalancer: retry: enabled: false gateway: globalcors: cors-configurations: '[/**]': allowedMethods: "*" allowedHeaders: "*" allowedO 阅读全文
posted @ 2023-04-20 11:21 翠微 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 修改 ~/.bashrc, 增加历史行数 HISTSIZE=5000 HISTCONTROL=ignorespaceignoredups 默认,忽略重复命令ignorespace 忽略所有以空格开头的命令ignoreboth ignoredups 和 ignorespace 的组合erasedups 阅读全文
posted @ 2023-04-12 10:05 翠微 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 1、从有网络的机器上下载rpm包 2、同时安装相互依赖的 rpm 包 比较全面但是下载速度有点慢http://rpm.pbone.net/速度还可以就是没有上面的全http://www.rpmfind.net/linux/rpm2html/search.phpCentOS7 rpm包下载地址http 阅读全文
posted @ 2023-04-11 09:33 翠微 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 【ElasticSearch】数据类型 阅读全文
posted @ 2023-04-03 21:45 翠微 阅读(16) 评论(0) 推荐(0) 编辑
摘要: <select id="checkTableExists" resultType="java.util.Map"> select count(*) as cnt from information_schema.tables where table_schema = database() and `t 阅读全文
posted @ 2023-03-10 16:28 翠微 阅读(9) 评论(0) 推荐(0) 编辑
摘要: https://www.likecs.com/show-307003828.html 基于公钥和私钥的信任办法 使用 root 用户,在 192.168.0.30 和 192.168.0.31 之间复制文件 可以先删除旧文件 rm /root/.ssh/* 两台机器都执行下面的命令,全部yes和回车 阅读全文
posted @ 2023-03-01 18:30 翠微 阅读(216) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/cndarren/p/15982972.html 由于是spring-web-5.2.15.RELEASE版本中出现了此问题,查看了Spring官网的版本信息,发现在spring-web-5.2.16.RELEASE版本中,针对此问题进行了修复 <de 阅读全文
posted @ 2023-02-27 13:54 翠微 阅读(163) 评论(0) 推荐(0) 编辑
摘要: window系统 #include <windows.h> #include <winsock.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <inttypes.h> #include <string.h 阅读全文
posted @ 2023-02-18 10:50 翠微 阅读(15) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 34 下一页