原创 CentOS 1908 配置 Redis 5.0.7 四(集羣配置)

CentOS 下載:http://mirrors.aliyun.com/centos/ Redis:http://download.redis.io/releases/ CentOS 1908 配置 Redis 5.0.7 一(單節點)

原创 CentOS 1905 配置 Nexus 3.17.0-01(Maven 私庫)

Nexus 下載:https://www.sonatype.com/download-oss-sonatype 文檔:https://help.sonatype.com/repomanager3 運行環境(需要 Java 8):https

原创 CentOS 1908 配置 Redis 5.0.7 一(單節點)

CentOS 下載:http://mirrors.aliyun.com/centos/ Redis:http://download.redis.io/releases/ CentOS 1908 配置 Redis 5.0.7 二(主從複製)

原创 Error mounting /dev/sdb1 at /run/media/root/*** Filesystem type ntfs not configured in kernel.

CentOS 加載 NTFS 格式的U盤(硬盤)。 問題描述: 打開硬盤後,如圖所示:   在 阿里巴巴開源鏡像站 搜索 ntfs-3g,根據自己的系統選擇 倉庫名稱、發行版、架構等(CentOS 7 依次爲epel、el7、x86_

原创 CentOS 安裝 nodejs

nodejs下載網址: nodejs(LTS版本):https://nodejs.org/en/download/ nodejs(當前最新版):https://nodejs.org/en/download/current/ node

原创 Spring Boot Security + Vue 登錄成功後重定向無 Access-Control-Allow-Origin 問題解決辦法

需要明確: 已正確配置跨域資源共享(CORS)(不然也不可能看到登錄成功了)。 已正確配置了跨站請求僞造(CSRF)(登錄時需要攜帶 _csrf.token)。 全部使用 POST 提交的數據。 本文相關知識: MD5 加密與Spring

原创 CentOS 1810 源碼安裝 Subversion 1.12.2(SVN)

在MyEclipse CI 2018.9.0 中安裝 SVN 1.10.13-1.9.x 使用防火牆正常開啓SVN自啓後無法連接 Unable to connect to URL 'svn://.' Can't open file './

原创 卸載 OpenJDK

查看 JDK 安裝包: [root@LeiShen software]# rpm -qa | grep jdk java-1.7.0-openjdk-1.7.0.231-2.6.19.1.el7_6.x86_64 java-1.8.0

原创 Ubuntu 19.04 安裝 MySQL 5.7.27 Community(社區版)Server

下載需要的包: 下載順序就是安裝順序。 wget http://repo.mysql.com/apt/ubuntu/pool/mysql-5.7/m/mysql-community/mysql-community-client_5.

原创 CentOS 1810 源碼安裝 git-2.22.0

  [root@desktop git-2.22.0]# ./configure configure: Setting lib to 'lib' (the default) configure: Will try -pthread

原创 百錢百雞

目錄 方法一:根據數量遍歷 根據數量遍歷代碼 根據數量遍歷結果 方法二:根據錢數遍歷 根據錢數遍歷代碼 根據錢數遍歷結果 方法一:根據數量遍歷 根據數量遍歷代碼 /** * 我國古代數學家張丘建在《算經》一書中提出的數學問題: *

原创 打印乘法口訣

/** * 打印乘法口訣 * * @author xuxiaowei * @date 2019年7月6日14:34:49 */ public class Multiplication { public static

原创 IDEA 20191.3 添加 Apache License, Version 2.0

打開 IDEA 的 配置(Settings), 搜索 Code Template: 找到 Class:Default:爲所有項目添加Project:僅爲本項目添加   在 Apache License, Version 2.0 查看說

原创 Windows 管理電腦登錄的賬戶

  打開 控制面板,點擊 用戶賬戶:   點擊 管理你的憑證:   可查看電腦中已經登錄的賬戶: 你可以刪除電腦中的 Web 賬戶,或 Windows 賬戶。 在這裏也能查看賬戶密碼。

原创 Maven 打包(.jar、-sources.jar、-javadoc.jar)

說明: 版本從新建項目開始,講述如何將Java打包成 .jar(普通jar包)、-sources.jar(jar包的源碼)、-javadoc.jar(api幫助文檔)。 相關軟件: 軟件 版本 說明 Java 1.8