🐴🐴🐴JAVA DOC🐴🐴🐴
https://docs.oracle.com/javase/8/docs/api/index.html
🐴🐴🐴Spring Boot 数据库连接池 HikariCP
https://www.cnblogs.com/michael-xiang/p/10747934.html
🐴🐴🐴和druid的区别
https://tech.souyunku.com/?p=10931
🐴🐴🐴springboot集成mail模块
https://my.oschina.net/zyw205/blog/1918222?nocache=1535953178853
https://segmentfault.com/a/1190000013092374
🐴🐴🐴java的基本数据类型占据的内存大小
https://www.cnblogs.com/frankielf0921/p/9305335.html
🐴🐴🐴深入理解JVM内存分配和字符串常量池
https://www.cnblogs.com/zzuli/p/9403928.html
🐴🐴🐴stream中的map,peek,foreach的区别
https://blog.csdn.net/weixin_41751625/article/details/106883195
🐴🐴🐴SpringBoot项目启动时自动执行指定方法
https://blog.csdn.net/rui15111/article/details/80996342
🐴🐴🐴redistemplate使用方法
https://blog.csdn.net/ruby_one/article/details/79141940
🐴🐴🐴MySQL的多表联查和嵌套查询
https://www.cnblogs.com/bigbox/p/12037233.html
🐴🐴🐴Eureka Consul使用和对比
https://blog.csdn.net/ZYC88888/article/details/81453647
🐴🐴🐴git tag 标签完全用法(如何更好的管理你的分支)
https://www.jianshu.com/p/fe3457cfbb7a
https://www.jianshu.com/p/038a962ec1fb
🐴🐴🐴注解
https://blog.csdn.net/bibiboyx/article/details/89233034
🐴🐴🐴transactional
https://www.cnblogs.com/xd502djj/p/10940627.html
https://www.jianshu.com/p/befc2d73e487
🐴🐴🐴服务器redis 设置防火墙 并打开远程访问
https://www.cnblogs.com/mowen120/p/11933810.html
🐴🐴🐴mysql导出 语句输出
https://www.runoob.com/mysql/mysql-database-export.html
🐴🐴🐴git添加tag
https://www.jianshu.com/p/fe3457cfbb7a
🐴🐴🐴springboot采用tomcat临时路径tmp修改
https://blog.csdn.net/gdp12315_gu/article/details/83752599
🐴🐴🐴@Autowired注入为null的几种情况
https://blog.csdn.net/u013189824/article/details/91579230
🐴🐴🐴LocalDateTime、LocalDate、Long、Date、String 相互转换
https://www.cnblogs.com/puke/p/11314431.html
🐴🐴🐴rabbitmq
https://www.cnblogs.com/pjjlt/p/10741963.html
https://blog.csdn.net/wdcl2468/article/details/94228716
https://blog.csdn.net/m_joes_17/article/details/82906836
https://blog.csdn.net/qq_35387940/article/details/100514134
windows安装
https://www.cnblogs.com/JustinLau/p/11738511.html
🐴🐴🐴rabbitmq不使用spring starter rabbitlistener 的处理逻辑
https://www.cnblogs.com/davenkin/archive/2019/05/21/rabbitmq-best-practices.html
🐴🐴🐴使用rabbitlistener
🐴🐴🐴ack处理 并发数等配置 ackMode 参数需要看starter版本
https://www.cnblogs.com/yihuihui/p/12600797.html
https://www.cnblogs.com/niunafei/p/12801619.html
🐴🐴🐴消息持久化autoDelete 重试机制
https://blog.csdn.net/qq_32786139/article/details/88813945
🐴🐴🐴配置ack使用yml或RabbitListenerContainerFactory
https://www.jianshu.com/p/2c5eebfd0e95
🐴🐴🐴手动应答 e为message channelw为channel
channel.BasicAck(e.DeliveryTag, false);//手动应答
https://blog.csdn.net/m0_38140657/article/details/80915561
🐴🐴🐴自动手动ack区别
https://blog.csdn.net/qq_29595463/article/details/109527115
🐴🐴🐴 RabbitMQ的SimpleMessageListenerContainer使用
https://blog.csdn.net/qq_34928026/article/details/108568714
🐴🐴🐴web管理端参数介绍
https://www.jianshu.com/p/7b6e575fd451
🐴🐴🐴rabbitmq首次登陆
https://www.cnblogs.com/mingaixin/p/4134920.html https://blog.csdn.net/weixin_39770927/article/details/102484864
🐴🐴🐴rabbitmq开启远程访问
http://blog.haohtml.com/archives/15249
🐴🐴🐴rabbitmq搭建
https://www.cnblogs.com/fengyumeng/p/11133924.html
https://www.cnblogs.com/reblue520/p/13231431.html
erl下载地址
http://erlang.org/download/
mq下载地址rabbitmq-server-generic-unix-3.8.9.tar.xz
https://github.com/rabbitmq/rabbitmq-server/releases/tag/v3.8.9
🐴🐴🐴🐴🐴🐴jenkins踩坑🐴🐴🐴🐴🐴🐴
🐴🐴🐴安装jenkins
https://www.cnblogs.com/jingzaixin/p/11466842.html
https://blog.csdn.net/shallum/article/details/105713319🐴
https://blog.csdn.net/liuxiaoming1109/article/details/89311696
🐴🐴🐴jenkins脚本 permission denied
https://blog.csdn.net/dou_being/article/details/102648610
🐴🐴🐴安装jdk
https://blog.csdn.net/dhr201499/article/details/81626466
🐴🐴🐴安装maven
https://blog.csdn.net/haoxin963/article/details/81872776
https://www.cnblogs.com/bincoding/p/6156236.html
🐴🐴🐴mysql开启远程访问
https://blog.csdn.net/sgrrmswtvt/article/details/82344183
🐴🐴🐴🐴🐴🐴LINUX🐴🐴🐴🐴🐴🐴
🐴🐴🐴将服务加载到system service中 避免后台运行暂停
https://www.jianshu.com/p/ad125098618f
https://blog.csdn.net/masteryee/article/details/83689990
vim /usr/lib/systemd/system/metricbeat.service
[Unit]
After=network-online.target
[Service]
Environment=“LOG_OPTS=-e”
Environment=“CONFIG_OPTS=-c /usr/local/metricbeat/metricbeat.yml”
Environment=“PATH_OPTS=-path.home /usr/local/metricbeat -path.config /usr/local/metricbeat -path.data /usr/local/metricbeat/data -path.logs /usr/local/metricbeat/logs”
ExecStart=/usr/local/metricbeat/metricbeat $LOG_OPTS $CONFIG_OPTS $PATH_OPTS
Restart=always
[Install]
WantedBy=multi-user.target
chmod +x /usr/lib/systemd/system/metricbeat.service
systemctl daemon-reload
systemctl enable metricbeat
systemctl start metricbeat
🐴🐴🐴linux rpm包搜索
http://rpmfind.net/linux/rpm2html/search.php
🐴🐴🐴linux rpm包搜索
https://www.cnblogs.com/sanduzxcvbnm/p/12849737.html
🐴🐴yum挂载本地光盘镜像
https://my.oschina.net/u/2324318/blog/1541632
https://www.cnblogs.com/tele-share/p/9917519.html
1.将iso挂载到路径/mnt/cdiso/:
mount -o loop /home/software/rhel-server-6.0-x86_64-dvd.iso /mnt/cdiso/
yum clean all
2.编辑yum配置文件指向挂载路径:
vi /etc/yum.repos.d/redhat.repo
[Server]
name=Red Hat Enterprise Linux releasever -releasever−basearch - Server
baseurl=file:///mnt/cdiso
enabled=1
gpgcheck=0
🐴🐴🐴配置firewall
https://blog.csdn.net/mengzuchao/article/details/81462403
🐴🐴🐴windows合并targz文件
http://sandy.epwing.com/archives/103.html
🐴🐴🐴Linux下sz下载文件超过4G办法 切割文件
https://www.cnblogs.com/sevck/p/10608784.html
http://www.ezencart.com/pages/1001.html
🐴🐴🐴linux 文件大小单位显示
https://blog.csdn.net/huakai_sun/article/details/80620965
🐴🐴🐴🐴🐴🐴NGINX🐴🐴🐴🐴🐴🐴
🐴🐴🐴上传文件报413 Request Entity Too Large
https://www.jianshu.com/p/3851c3d6eaf1?tdsourcetag=s_pctim_aiomsg
🐴🐴🐴Nginx之Location优先级
https://www.solves.com.cn/it/wlyx/fwq/2019-10-08/5691.html
🐴🐴🐴nginx配置
https://www.cnblogs.com/knowledgesea/p/5175711.html
🐴🐴🐴数据库链接GetConnectionTimeoutException
http://www.nutz.cn/yvr/t/oentmssa2qje9qt8l43q91hlij
🐴🐴🐴druid连接池的超时回收机制
https://github.com/alibaba/druid/wiki/连接泄漏监测
https://blog.csdn.net/qq_30938705/article/details/79862027
mysql最大连接数
https://blog.csdn.net/qianwenzhi/article/details/94433279
🐴🐴🐴maven分离打包 打包依赖包
https://blog.csdn.net/github_33809414/article/details/87214703
🐴🐴🐴🐴🐴🐴LINUX🐴🐴🐴🐴🐴🐴
🐴🐴🐴linux-systemload负载因子解释
https://www.pianshen.com/article/68731140158/
🐴🐴🐴修改打开文件数
🐴https://blog.csdn.net/clever_wr/article/details/103195015
https://www.cnblogs.com/hzk-bk-/p/11557502.html
http://blog.chinaunix.net/uid-20653538-id-66701.html
https://zhuanlan.zhihu.com/p/84784431
🐴🐴🐴查看打开文件数
🐴https://blog.csdn.net/Keep_on_Growing/article/details/88167489
https://blog.csdn.net/aptweasel/article/details/8992270
https://www.cnblogs.com/rsapaper/p/10122921.html
🐴🐴🐴直接修改linux时间
https://blog.csdn.net/q386815991/article/details/79569130
🐴🐴🐴mysql-binlog清理方法
https://blog.csdn.net/jackgo73/article/details/105303063
🐴🐴🐴mysql拖库命令 拖表结构 指定表、库
https://www.cnblogs.com/mangoVic/p/6182251.html
https://blog.csdn.net/weixin_30367543/article/details/98194550
mysqldump db1 -h x.xxx.x.205 -uroot -p >/tmp/bigdata.sql
mysqldump db1 -h x.x.x.205 -uroot -p --tables video_info >/tmp/business.sql
🐴🐴🐴docker安装mysql并自行配置
https://blog.csdn.net/kevinyankai/article/details/104431930/
https://www.cnblogs.com/zfding/p/11429695.html
🐴🐴🐴MYSQL主从复制同步报错解决方法
https://blog.csdn.net/qq_34457768/article/details/79423888
https://blog.csdn.net/halley333/article/details/58032886
https://blog.csdn.net/lwei_998/article/details/41349459
🐴🐴🐴MYSQL主从过滤策略 表
https://www.jianshu.com/p/bbda61256619
replicate-do-db = 记录指定日志进入中继日志,即仅复制指定的数据库
replicate-do-table = 仅复制指定的表
replicate-igonre-table = 复制时忽略指定的表
🐴🐴🐴binlog format
binlog_format:二进制日志的格式,有 statement 模式(基于SQL语句的复制)、row 模式(基于行的复制)、mixed 模式(混合复制),这里必须使用 row 模式。statement 基于 SQL 语句的复制就是记录 SQL 语句的 binlog 中,缺点是在某些情况下会导致主从节点中的数据不一致(比如sleep()、now()等)。row 基于行的复制是 MySQL master 将 SQL 语句分解为基于 row 更改的语句并记录在 binlog 中,也就是只记录哪条数据被修改了、修改成什么样,优点是不会出现某些特定情况下被正确复制的问题。mixed 是以上两种模式的混合
🐴🐴🐴GTID
https://www.cnblogs.com/caicz/p/10855605.html
gtid必须使用row
建议使用gtid,全局事务ID的配置主从
GTID 是用来代替传统复制的方法,与普通复制模式的最大不同就是不需要指定二进制文件名和位置。在传统的复制里面,首先从服务器上在一个特定的偏移量那里连接到一个给定的二进制日志文件 binlog,然后主服务器从给定的连接点 position 开始发送所有的事件。当发生故障时,需要主从切换,找到 binlog 和 position 点,然后将主节点指向新的主节点,相对来说比较麻烦,也容易出错。加入全局事务ID来强化数据库的主备一致性,用于取代过去通过 binlog 文件偏移量定位复制位置的传统方式。借助 GTID,在发生主备切换的情况下,MySQL 的其它 Slave 可以自动在新主上找到正确的复制位置,大大简化了复杂复制拓扑下集群的维护,也减少了人为设置复制位置发生误操作的风险。
(2) GTID 的限制
① 不支持非事务引擎(从库报错)
② 不支持 create table … select 语句复制(主库直接报错)。原理是会生成两个 SQL:一个是DDL创建表SQL,一个是 insert into 插入数据的SQL。由于 DDL 会导致自动提交,因此SQL至少需要两个GTID,但是在 GTID 模式下只能给这个 SQL 生成一个 GTID
③ 不允许在一个 SQL 同时更新一个事务引擎和非事务引擎的表
④ 在一个复制组中,必须统一开启 GTID 或是关闭 GTID
⑤ 开启 GTID 需要重启(MySQL 5.7中不需要)
⑥ 开启 GTID 后,就不再使用原来的传统复制方式
⑦ 对于 create temporary table 和 drop temporary table 语句不支持
⑧ 不支持 sql_slave_skip_counter(由于在这个GTID中必须是连续的,正常情况下同一个服务器产生的GTID是不会存在空缺的,所以不能简单地skip掉一个事务,只能通过注入空事务的方法替换掉一个实际操作事务)
🐴🐴🐴查看mysql
🐴🐴🐴查看mysql-second-behind-master解释
http://blog.itpub.net/29990276/viewspace-2057316/
https://bbs.huaweicloud.com/blogs/163394?utm_source=cnblogs&utm_medium=blog-article&utm_campaign=blog-article
🐴🐴🐴传输文件到docker容器
https://www.cnblogs.com/fsong/p/11335251.html
🐴🐴🐴tar安装docker
https://www.cnblogs.com/testway/p/13235683.html
🐴🐴🐴把文件上传至docker容器
docker cp dir1 容器ID:/dir2 即把目录1整个复制到了容器中的dir2目录下
🐴🐴🐴docker发布JAR到DOCKER的方法
https://www.cnblogs.com/zyb2016/p/13917913.html
https://blog.csdn.net/denggu4176/article/details/102361479
https://www.cnblogs.com/Logan626/p/10483818.html
🐴🐴🐴docker安装jdk
docker pull java:8
🐴🐴🐴docker离线安装jdk
docker save java:8 -o java.tar
docker load -i java.tar
🐴🐴🐴docker安装jdk第二种方法
https://www.cnblogs.com/huangting/p/11966450.html
🐴🐴修改mysql配置字符集
[mysqld]
character-set-server=utf8mb4
collation-server=utf8mb4_general_ci
[client]
default-character-set=utf8
[mysql]
default-character-set=utf8
🐴🐴🐴查看表 查看库 查看系统字符集
https://www.cnblogs.com/gered/p/10401066.html
show table status like ‘290_statistics_responeAd_202012’;
show create database test;
show VARIABLES like ‘character%’;
🐴🐴🐴mysql从机热备 (主机不停)
http://www.lvesu.com/blog/main/cms-543.html
https://www.cnblogs.com/chuanzhang053/p/8710434.html
🐴🐴🐴
MySQLTransactionRollbackException: Lock wait timeout exceeded; try restarting transaction
https://blog.csdn.net/qq_40233736/article/details/95044995
https://blog.csdn.net/luoyeyeyu/article/details/103118318
🐴https://www.v2ex.com/t/446587
https://blog.csdn.net/moshenglv/article/details/78864059
🐴🐴🐴vim 单行删除与多行删除 :32,65d
🐴🐴🐴java8中时间的各种转换(LocalDateTime)
https://blog.csdn.net/wsywb111/article/details/79815481
🐴🐴🐴curl 提交post请求
https://blog.csdn.net/VIP099/article/details/105407035
🐴🐴🐴nginx限流
https://blog.csdn.net/zwq_david9527/article/details/77771871
https://www.jianshu.com/p/9066b2d547bf
🐴🐴🐴🐴🐴🐴MYSQL🐴🐴🐴🐴🐴🐴
🐴🐴🐴Mysql 根据时间戳按年月日分组统计
https://cloud.tencent.com/developer/article/1600327