准备工作 public class MainClass { public static void main(String[] args) throws Exception { String resources = "mybatis-config.xml"; InputStream inputStre ...
分类:
其他好文 时间:
2021-07-07 17:50:47
阅读次数:
0
1、在volumes下设置 volumes: - consul-config:/consul/config:z - consul-data:/consul/data:z - /etc/localtime:/etc/localtime:ro - /etc/timezone:/etc/timezone: ...
分类:
其他好文 时间:
2021-07-07 17:48:03
阅读次数:
0
官方文档 1、初始化package.json文件 npm init -y 2、创建基本目录结构 3、配置webpack npm i -D webpack 4、创建并配置 webpack.config.js 文件 var path = require('path') module.exports = ...
分类:
Web程序 时间:
2021-07-05 19:01:56
阅读次数:
0
4. Git基本工作流程 Git工作区域 向仓库中添加文件流程 4. Git初始化及仓库创建和操作 基本信息设置 1. 设置用户名 git config --global user.name 'itcastphpgit1' 2. 设置用户名邮箱 git config --global user.em ...
分类:
其他好文 时间:
2021-07-05 19:01:11
阅读次数:
0
CentOS7防火墙命令有变化: CentOS7: systemctl status firewalld.service 查看防火墙状态 systemctl stop firewalld.service 本次访问关闭防火墙 systemctl disable firewalld.service 从下 ...
分类:
其他好文 时间:
2021-07-05 18:49:21
阅读次数:
0
一、UML图 二、创建线程池 2.1、Executors工厂方法 在ThreadPoolExecutor类的文档注释中有这么一句话:An ExecutorService that executes each submitted task using one of possibly several p ...
分类:
编程语言 时间:
2021-07-05 18:34:44
阅读次数:
0
编写引导类注意要标明注解 @SpringBootApplication SpringApplication.run(BootWeb01Application.class, args); 再编写main方法的时候使用run方法 起步依赖spring-boot-starter-parent 父工程,主要 ...
分类:
编程语言 时间:
2021-07-05 17:08:07
阅读次数:
0
基础命令 #查看系统configgit config --system --list #查看当前用户(global)配置git config --global --list 当你安装Git后首先要做的事情是设置你的用户名称和e-mail地址。这是非常重要的,因为每次Git提交都会使用该信息。它被永远 ...
分类:
其他好文 时间:
2021-07-05 16:58:20
阅读次数:
0
#查看当前centos操作系统的版本 cat /etc/redhat-release ##执行结果: ##第一步安装openjdk,版本可以根据自己安装sonarqube的版本而定; 安装过程可参见我的另一篇博客: 链接地址:https://www.cnblogs.com/cndevops/p/14 ...
分类:
其他好文 时间:
2021-07-02 16:32:35
阅读次数:
0
1、打开防火墙 如果觉得打开防火墙危险,可以只允许node.js通过防火墙,方法如下: PS:我同事电脑的允许通过是这样的,可能是nodejs版本不同? 2、vue.config.js中配置 host:'0.0.0.0', port: 8080, disableHostCheck: true, ...
分类:
其他好文 时间:
2021-07-02 16:16:39
阅读次数:
0