SpringBoot 配置文件区分环境
application.yml # 端口 server: port: 8080 spring: ap… 继续阅读 SpringBoot 配置文件区分环境
application.yml # 端口 server: port: 8080 spring: ap… 继续阅读 SpringBoot 配置文件区分环境
#安装acme依赖 yum update && yum install curl -… 继续阅读 安装acme.sh ssl证书脚本
pom.xml <!– Swagger2 核心依赖 –> <dependenc… 继续阅读 SpringBoot利用Swagger2构建API文档
Api:修饰整个类,描述Controller的作用 ApiOperation:描述一个类的一个方法,… 继续阅读 Swagger2常用注解
MYSQL_ROOTPWD=’2222222222222222222222222′ mysql -N… 继续阅读 mysql主从调参数
pom.xml <!– https://mvnrepository.com/artifact… 继续阅读 springboot集成Minio对象存储
# 下载 wget https://dl.min.io/server/minio/release/l… 继续阅读 Linux下快速安装MinIO对象存储
pom依赖去掉jackson-databind,增加fastjson <dependency&… 继续阅读 springboot利用fastjson解析json
pom依赖去掉jackson-databind,增加gson <dependency> … 继续阅读 springboot利用Gson解析json
https://github.com/xiebruce/PicUploader nginx配置: r… 继续阅读 PicUploader图床工具
主页 https://github.com/Molunerfinn/PicGo https://gi… 继续阅读 PicGo图床工具
find /path/for/file -type d -mtime +20|xargs rm -r… 继续阅读 用find只保留20天的备份
Automatically upload media to Amazon S3 and integr… 继续阅读 用Media Cloud插件同步wordpress文件到MinIO
import os import time import uuid import sys impor… 继续阅读 python调用MinIO对象存储
在nginx中开启https会话保持后,多站点串证书问题,会导致 NET::ERR_CERT_COM… 继续阅读 nginx NET::ERR_CERT_COMMON_NAME_INVALID
yum install -y yum-utils device-mapper-persistent-… 继续阅读 CentOS安装docker-ce-18.09.6-3
#!/bin/sh #通过传入ip 以及端口,发送指令获得返回数据 #copyright cheng… 继续阅读 通过shell脚本重定向实现监控memcache状态