上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 16 下一页
摘要: //默认为轮询 ,权重默认值为1 upstream servers{ server 192.168.1.101:80 weight = 4 down; //不参与随机 server 192.168.1.102:80 weight = 2 ; server 192.168.1.102:80 weigh 阅读全文
posted @ 2023-04-25 14:04 sowler 阅读(36) 评论(0) 推荐(0)
摘要: 1、安装Xxl-job: 可以使用docker拉取镜像部署和源码编译两种方式,这里选择源码编译安装。 代码拉取地址: https://github.com/xuxueli/xxl-job/tree/2.1.2 官方开发文档: https://www.xuxueli.com/xxl-job/#%E3% 阅读全文
posted @ 2023-04-25 11:02 sowler 阅读(4186) 评论(1) 推荐(3)
摘要: <beans xmlns:context="http://www.springframework.org/schema/context" xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:xsi="http://www.w3.or 阅读全文
posted @ 2023-04-23 11:26 sowler 阅读(252) 评论(0) 推荐(0)
摘要: 1、搜索nginx docker search nginx 2、拉取nginx镜像库 docker pull nginx:latest 3、查看获取的镜像 docker images 4、启动容器: docker run --name nginx -d -p 80:80 --privileged=t 阅读全文
posted @ 2023-04-20 11:36 sowler 阅读(44) 评论(0) 推荐(0)
摘要: 一、linux安装 1.先下载repo的安装包 : sudo wget --no-check-certificate -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo2.再下载秘钥:s 阅读全文
posted @ 2023-04-12 17:00 sowler 阅读(88) 评论(0) 推荐(0)
摘要: 1、测试数据 public class Test { public static void main(String[] args){ System.out.println("Response.success(ErrorEnum.SUCCESS) = " + Response.success(Erro 阅读全文
posted @ 2023-04-11 11:29 sowler 阅读(109) 评论(0) 推荐(0)
摘要: 1、编写代码 main方法: public static void main(String[] args) throws IOException { String pathFileUrl ="C:/Users/xxx/Desktop/boardDevice/videoFiles/1677749222 阅读全文
posted @ 2023-04-10 17:37 sowler 阅读(82) 评论(0) 推荐(0)
摘要: gradle下载:https://services.gradle.org/distributions/src.zip源码 、bin.zip安装文件、all.zip源码+安装文件 配置环境变量。 阅读全文
posted @ 2023-04-10 16:44 sowler 阅读(131) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/ruixue0117/article/details/22829557 public class VerifyCodeUtils { /** * 使用到Algerian字体,系统里没有的话需要安装字体,字体只显示大写,去掉了1,0,i,o几个容易混淆的字符 阅读全文
posted @ 2023-04-04 14:36 sowler 阅读(152) 评论(0) 推荐(0)
摘要: /** * 给定一个整数数组nums和一个整数目标值target,请你在该数组中找出和为目标值target的那两个整数,并返回它们的数组下标。 * * 你可以假设每种输入只会对应一个答案。但是,数组中同一个元素在答案里不能重复出现。 * * 你可以按任意顺序返回答案。 * 示例 1: * 输入:nu 阅读全文
posted @ 2023-04-03 17:09 sowler 阅读(174) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 16 下一页