12 2019 档案

摘要:rabbitmq的几种类型 1、 Direct Exchange 处理路由键。需要将一个队列绑定到交换机上,要求该消息与一个特定的路由键完全匹配。这是一个完整的匹配 注:就是有个交换机绑定路由键,交换机再绑定队列,消息发送到交换机 通过路由键发送到指定的队列 Fanout Exchange 不处理路 阅读全文
posted @ 2019-12-31 15:16 dkws-2019 阅读(226) 评论(0) 推荐(0) 编辑
摘要:修改配置文件数据库的地址: 1、新增执行器 2、新增任务: 3、客户端集成xxl-job <dependency> <groupId>com.xuxueli</groupId> <artifactId>xxl-job-core</artifactId> <version>2.1.2</version 阅读全文
posted @ 2019-12-30 14:50 dkws-2019 阅读(1177) 评论(0) 推荐(0) 编辑
摘要:<dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>2.0.0</version></dependency> <de 阅读全文
posted @ 2019-12-26 15:57 dkws-2019 阅读(907) 评论(0) 推荐(0) 编辑
摘要:安装keepalive 安装依赖插件: yum install -y gcc openssl-devel popt-devel wget -q http://www.keepalived.org/software/keepalived-1.2.13.tar.gz tar -zxvf keepaliv 阅读全文
posted @ 2019-12-25 17:46 dkws-2019 阅读(878) 评论(0) 推荐(0) 编辑
摘要:wget http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm 安装mysql源 yum localinstall mysql57-community-release-el7-8.noarch.rpm 检查mysql源 阅读全文
posted @ 2019-12-25 11:09 dkws-2019 阅读(470) 评论(0) 推荐(0) 编辑
摘要:@Component @Order(value = 1) @Slf4j public class MyApplicationRunner implements ApplicationRunner {//springboot 启动完成后会走这个方法 @Autowired private Applica 阅读全文
posted @ 2019-12-25 10:05 dkws-2019 阅读(773) 评论(0) 推荐(0) 编辑
摘要:定义分页注解 @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD,ElementType.TYPE}) @Documented public @interface EnablePage { String value() de 阅读全文
posted @ 2019-12-25 09:49 dkws-2019 阅读(1684) 评论(1) 推荐(0) 编辑
摘要:server 端 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.0.RELEASE</version> </p 阅读全文
posted @ 2019-12-24 16:35 dkws-2019 阅读(1308) 评论(0) 推荐(0) 编辑
摘要:原理 : apollo的部署 jdk 要求8以上 mysql 5.7以上 执行build.sh 这样就把configService,adminService 打包到对应的target下面 把这个放到linux下面执行解压出来 执行scripts 目录下面的start.sh config里面是配置信息 阅读全文
posted @ 2019-12-23 15:15 dkws-2019 阅读(886) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-12-20 14:59 dkws-2019 阅读(301) 评论(0) 推荐(0) 编辑
摘要:1、下载Adobe Acrobat DC工具来制作pdf的模板 打开一个pdf 2、制作pdf模板 把自动生成的文本框删除 然后 拖入文本框并自定义键 导入maven 依赖 <dependency> <groupId>com.itextpdf</groupId> <artifactId>itextp 阅读全文
posted @ 2019-12-16 16:48 dkws-2019 阅读(3970) 评论(0) 推荐(0) 编辑
摘要:安装Docker我是虚拟机装的Centos7,linux 3.10 内核,docker官方说至少3.8以上,建议3.10以上(ubuntu下要linux内核3.8以上, RHEL/Centos 的内核修补过, centos6.5的版本就可以——这个可以试试) 1,root账户登录,查看内核版本如下 阅读全文
posted @ 2019-12-12 16:41 dkws-2019 阅读(327) 评论(0) 推荐(1) 编辑