原创 Elk架構學習

總結:logstash 太麻煩搞不定 決定將其換爲file beat  file beat入門: https://blog.51cto.com/zero01/2082794 整體架構:elastic search 做數據庫 和檢索 kin

原创 springboot使用mybatis-generator

<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org

原创 spring-boot-thymeleaf

1、依賴 <!-- thymeleaf 模板啓動器 --> <dependency> <groupId>org.springframework.boot</groupId>

原创 springboot筆記(web篇)

1、webjars 以jar包/maven依賴引入靜態文件 //讀取靜態文件方法 WebMvcAuotConfiguration.addResourceHandlers() //讀取路徑 customizeResourceHandler

原创 java正則筆記

1、匹配數字 \d Pattern compile = Pattern.compile("\\d"); Matcher matcher = compile.matcher(str);   2、匹配多個 \d+ Pattern

原创 centos7 在線安裝MySQL

1、更新軟件 yum update    2、下載和添加倉庫 wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm sudo rpm -ivh m

原创 docker基礎命令

1、安裝docker 菜鳥教程無敵​​​​​​​ 2、啓動docker sudo systemctl start docker    3.下載鏡像 docker pull centos:7    4創建/刪除 容器 d

原创 centos7防火牆操作

1.查看防火牆操作 >systemctl status firewalld   2.暫時打開/關閉防火牆 #啓動 >systemctl start firewalld #關閉 >systemctl stop firew

原创 mongo操作筆記

1、複製表 db.test(複製源表).find().forEach(function(x){ db.target(目的表).insert(x); })   2.修改 我們在集合 col 中插入如下數據: >db.col

原创 RestTemplate注入失敗

異常: Description: Field restTemplate in com.lch.myairpan.login.LoginController required a bean of type 'org.springfram

原创 微服務(1)eureka服務搭建註冊以及發現

1.eureka註冊中心  配置全局參數 <properties> <java.version>1.8</java.version> <spring-cloud.version>Greenwich.SR

原创 mysql卸載

原文鏈接:https://www.cnblogs.com/wanghuaijun/p/6398240.html https://www.cnblogs.com/wanghuaijun/p/639

原创 springboot筆記

1.打jar包 1、導入依賴 <build> <plugins> <plugin> <groupId>org.springframework.boot</grou

原创 前端筆記

應用場景1:想在所有的下拉框添加一個option 而且是在第一位 解決方法: $("#formId select").prepend("<option value='' selected='selected'>全部</option>")

原创 屬性名 : 駝峯命名法轉sql

public String tuoFenToSQL(String value){ char [] array=value.toCharArray(); for(int i=0;i<array.length;i++){