原创 spring中事務傳播下,特殊方法手動控制事務
在開發中,遇到事務問題:從excel文件中解析導入數據,每個sheet頁中的數據作爲單個的事務單元提交數據庫。解析下代碼實現: 方法①:mainAnalysisEntrance(…)解析excel入口和權限和其他業務等處理; 方法②:an
原创 CentOS下徹底卸載mysql的方法
這篇文章主要爲大家詳細介紹了CentOS下徹底卸載mysql的方法,具有一定的參考價值,感興趣的小夥伴們可以參考一下 本文記錄了CentOS下MySQL的徹底卸載,供大家參考,具體內容如下 1、查看MySQL是否安
原创 -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
1. -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory 2. 解決方法,最後添加 vim /et
原创 CentOS系統,設置應用開機啓動
1. 編寫開機自啓腳本,nginx爲例 mkdir -p /opt/script/ vim /opt/script/sys-autostart-app.sh # centos system autostart application
原创 忘記MySQL的root用戶密碼的解決方法
1. 停止運行的MySQL進程,後配置跳過授權表啓動MySQL service mysqld stop 1.1. 先打開一個Terminal,在 /usr/local/mysql/bin ,下執行: sudo mysqld_safe
原创 CentOS 7.5安裝Memcached 1.5.10
1.服務器版本 # lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: CentOS Description: CentO
原创 Spring Boot支持Undertow服務器,支持http、https(ssl、tls)雙協議,支持雙端口
1:Spring boot 項目默認的web服務器爲tomcat,故排除tomcat依賴,加入undertow依賴,請看下圖: 注:Spring boot版本:1.5.6.RELEASE Tomcat版本:3.3.8 <dependenc
原创 Go語言生成GUID和UUID
1.安裝 go get -u github.com/timespacegroup/go-utils import ( "github.com/timespacegroup/go-utils" ) 使用,例:fieldNames :
原创 Ubuntu-14.04.5搭建Hadoop-2.9.0分佈式集羣環境
1.安裝說明 1.1: 安裝參數: ubuntu: 14.04.5; hadoop: 2.9.0; jdk: 1.8.0_121 1.2: 配置集羣機器:三臺主機(或虛擬機)搭建分佈式集羣環境(Ubuntu-14.04.5)(同一局域網)
原创 IntelliJ IDEA創建第一個Spring Boot項目
idea菜單欄 :文件 —>New—>Project… 注:具體細節講解,暫省 Spring Boot官網 第一步:1.Spring Initializr(初始者) 2.jdk版本 3.Next. 第二步:1.Group組織唯一標識
原创 Go語言字符串操作
1.安裝 go get -u github.com/timespacegroup/go-utils import ( "github.com/timespacegroup/go-utils" ) 使用,例:fieldNames :
原创 Go語言數據庫ORM(自動化)(MySQL數據庫)
1.安裝 go get -u github.com/timespacegroup/go-mysql-utils go get -u github.com/timespacegroup/go-utils import ( "gith
原创 Spring Cloud
Spring Cloud warmtips more: https://github.com/timespacegroup 參考代碼: https://github.com/loveshareme/spring-cloud Spring
原创 Nginx服務器安裝,高性能的HTTP、TCP、反向代理、負載均衡等服務和配置
warmtips more: https://github.com/timespacegroup 1.安裝參數: ubuntu: 14.04.5; nginx: 1.12.0 2:下載安裝包 http://nginx.org/en/dow
原创 Go語言生成對象數組-InterfaceBuilder
1.安裝 go get -u github.com/timespacegroup/go-utils import ( "github.com/timespacegroup/go-utils" ) 使用,例:fieldNames :