原创 SpringBoot中發送郵件

SpringBoot中發送郵件 原文地址:https://www.jianshu.com/p/a7097a21b42d Spring Boot中發送郵件具體的使用步驟如下 1、添加Starter模塊依賴 2、添加Spring

原创 Java:批量插入數據

import com.google.common.collect.Lists; import org.springframework.util.CollectionUtils; private void add() {

原创 sql參數綁定防止注入

原文鏈接:https://blog.csdn.net/qq_21956483/article/details/78499486 本文主要講述爲什麼拼接sql容易sql注入 , 而sql使

原创 Linux服務器之三: 阿里雲服務器安裝Nginx

參考文章 : https://www.cnblogs.com/kaid/p/7640723.html https://blog.csdn.net/qq_35888875/article/details/80937731 一、安裝所

原创 Linux服務器之:阿里雲ecs設置swap虛擬內存--CentOS7

1、場景 閒來無事買了一個阿里雲ecs服務器(乞丐版1核1G, Linux centos7), 今天操作docker容器時 , 一直報錯:fatal error: runtime: out of memory 網上查詢是內存不足

原创 Linux服務器之二 : Docker使用lnmp鏡像創建容器

1.獲取鏡像 安裝docker之後 , 使用命令獲取指定鏡像, 這裏使用的是duckll/lnmp 更多docker鏡像:https://hub.docker.com/search/?q=image&type=image dock

原创 Linux服務器之一:Docker的安裝

原文鏈接:https://blog.csdn.net/ngu2028070003/article/details/84331275 1、卸載舊版本 在安裝docker之前,首先使用yum