原创 redis集羣springboot連接

謝謝參考:https://blog.csdn.net/CNZYYH/article/details/85696674   一般來說,消息隊列有兩種場景,一種是發佈者訂閱者模式,一種是生產者消費者模式。利用redis這兩種場景的消息隊列都能

原创 redis單機springboot連接使用

這裏是集羣其他配置 集羣環境https://blog.csdn.net/wasd986523/article/details/107002163 集羣代碼https://blog.csdn.net/wasd986523/article/d

原创 redis5.0.5集羣

 參考https://blog.csdn.net/sunrisetg/article/details/102884488 正常搭建集羣后,使用時發現ip變成內網。 解決方案: 1.殺死節點(不是停止集羣,否則不生效) 2.找到所有節點的n

原创 spring aop攔截設置,不攔截

aop攔截和不攔截 @Pointcut("execution(* com.jzlife.nurse.web..*.*(..)) && !execution(* com.jzlife.nurse.web.file..*.*(..))")  

原创 springcloud和docker筆記

https://xdclass-html-prod.oss-cn-shenzhen.aliyuncs.com/note/%E6%9C%80%E6%96%B0springcloud%E6%95%99%E7%A8%8B.html 第一章 課程

原创 訪問局域網內其他主機的VMware虛擬機上的mysql數據庫和redis緩存

謝謝:https://www.cnblogs.com/shanfeng1000/p/11466744.html 博主使用的linux是Ubuntu16.04:      一、安裝數據庫和緩存   這裏連接的數據庫和緩存以mysql和red

原创 nginx最全配置

user  root; worker_processes  1; #error_log  logs/error.log; #error_log  logs/error.log  notice; #error_log  logs/erro

原创 springboot打包成jar 運行jsp頁面

試了很多方案,總結有2種 參考,謝謝: https://blog.csdn.net/b43505274/article/details/80560049 https://blog.csdn.net/qq_41016552/article/

原创 redis 配置aof

/usr/local/redis/bin/redis-server /usr/local/redis/etc/redis.conf  ############################## redis AOF配置##########

原创 linux命令記錄centeos7

 netstat -tunlp|grep 8082 查端口 啓動服務nohup java -jar admin.jar "">log.txt & 刪除10天前的文件:find  /home/management-sys/outsidese

原创 服務之間傳遞圖片

File file = new File(tm + ".jpg");//生成         ImageIO.write(resizeImageHintPng, "png", file); FileSystemResource resou

原创 程序包javax.crypto.spec不存在,但是在父工程裏

在父工程加 plugin,父工程裏千萬不要加spring-boot-maven-plugin,不然子工程找不到父工程。 spring-boot-maven-plugin只能出現最終的jar中 <build> <plugi

原创 linux緩存清除

什麼是page cache? Page cache主要用來作爲文件系統上的文件數據的緩存來用,尤其是針對當進程對文件有read/write操作的時候。如果你仔細想想的話,作爲可以映射文件到內存的系統調用:mmap是不是很自然的也應該用到p

原创 vue監聽返回值

//在url插入參數     // let path = this.$router.history.current.path;     //   //對象的拷貝     //   let newQuery = {};     //   n

原创 讀寫分離SpringBoot + Sharding-JDBC + MyBatis

謝謝 https://www.cnblogs.com/huanshilang/p/12055296.html 技術選型:SpringBoot + Sharding-JDBC + MyBatis 使用Sharding-JDBC配置讀寫分離,