原创 3.spring-boot2 ------mybatis簡單配置

說明: mybatis簡單配置使用 1.pom文件修改: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0"

原创 3.Nginx 虛擬主機配置(1)----主配置說明

說明: 配置文件目錄: cd /usr/local/nginx/conf 主文件: cat  /usr/local/nginx/conf/nginx.conf nginx.conf配置文件簡單說明: // 全局區#user  nobod

原创 Navicat常用快捷鍵

注:文章主要爲後續個人備查,僅供參考!若有出入,請予以指正,謝謝! 1. ctrl + q: 打開新查詢窗口 2. ctrl + r: 運行當前窗口內的所有語句 6. ctrl + shit + r: 只運行選中的語句 3. ct

原创 GitLab使用----Fork模式

1. 場景: 開源項目 需要代碼評審的團隊開發 2. 例子:     有一個叫做Winer的程序猿寫了一個fight程序,而Berg可能要去改進它。並且Winer將他的代碼放在了GitLab倉庫上。具體流程如下:   3. 圖示說明:

原创 Ubuntu常用快捷鍵

注:文章主要爲後續個人備查,僅供參考!若有出入,請予以指正,謝謝! 常用: Ctrl + Alt+T: 打開命令窗口 Ctrl + W: 關閉當前 Nautilus 窗口 Ctrl+T: 在 Nautilus 打開新的 Tab Ctrl

原创 4.spring-boot2 ------mybatis generator

說明: mybatis簡單使用,代碼生成. 1.pom文件修改: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.

原创 7.spring-boot2 ------redis cluster

1.修改pom文件,添加redis依賴: <!--redis 使用--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spri

原创 4.Nginx 虛擬主機配置(2)----server

說明: CentOS7.0所屬虛擬機在win10上安裝. http { //1.基於IP的虛擬主機 server{         listen 80;         server_name 192.168.145.128;     

原创 gitbucket 安裝

1、gitbucket下載https://github.com/gitbucket/gitbucket/releases2、啓動--------------------------------------------簡單啓動-------

原创 1.spring-boot2 ------hello world

說明: 對於spring boot項目可以利用Spring Initializr,可以更簡單 spring boot系列版本爲2.0.4 idea新建項目: file ->new project ->Spring Initializr -

原创 2.Nginx 信號量(開,關,重載等)

說明:  1. nginx安裝目錄爲 /usr/local/nginx 2. Use the following syntax: nginx -s signal 3. This command should be executed und

原创 2.spring-boot2 ------jdbc

在application.properties添加數據庫配置項: spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.url=jdbc:

原创 Intellij idea常用快捷鍵

注:文章主要爲後續個人備查,僅供參考!若有出入,請予以指正,謝謝! 【常用】 Ctrl+N:查找相關類 Ctrl+Shift+N:查找資源 Ctrl+Alt+left/right:返回至上次瀏覽的位置 Ctrl+F12:查看當前類的所有方