python 多线程执行函数,以及调用函数时传参 import threading def func1(): print('this is function1') def func2(x,y): print('this is function2') print(x+y) threads = [] t ...
分类:
编程语言 时间:
2020-02-13 14:58:23
阅读次数:
70
1.模板引擎的分类 JSP、Velocity、Freemarker、Thymeleaf(SpringBoot推荐) 2.模板引擎的功能 3.thymeleaf的使用 3.1.thymeleaf的引入 <properties> <thymeleaf.version>3.0.9.RELEASE</thy ...
分类:
其他好文 时间:
2020-02-13 14:53:24
阅读次数:
74
第一步 On CentOS/RHEL 6.*: $ sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm On CentOS/RHEL 7: $ ...
分类:
Web程序 时间:
2020-02-13 09:58:31
阅读次数:
127
配置步骤: 1.添加测试坐标 <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>5.0.2.RELEASE</version> </dependency> ...
分类:
编程语言 时间:
2020-02-13 09:40:11
阅读次数:
57
前提是已经设置好80端口对外开放。 安装nginx,首先我们需要使用root用户进行操作。 第一步:添加nginx存储库 使用命令:sudo yum install epel-release 在对提示回答yes后,nginx存储库将在服务器上完成安装 第二步:安装nginx 使用yum安装 使用命令 ...
分类:
其他好文 时间:
2020-02-13 00:29:20
阅读次数:
93
官方安装文档 http://dev.mysql.com/downloads/repo/yum/ 查看最新版本 1.下载mysql源安装包 wget http://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm 2.安装mys ...
分类:
数据库 时间:
2020-02-12 22:16:53
阅读次数:
104
下载lombok https://projectlombok.org/download.html 下载到eclipse目录 配置 针对eclipse.ini新配置两个参数 javaagent:D:\java_develop\sts bundle\sts 3.8.3.RELEASE\lombok 1. ...
分类:
系统相关 时间:
2020-02-12 16:50:26
阅读次数:
436
1.虚拟机的配置 2.检测系统版本及内核的命令 [root@ localhost ~]# cat /etc/redhat-releaseCentOS Linux release 7.3.1611 (Core) [root@ localhost ~]# uname -r3.10.0-514.el7.x ...
分类:
其他好文 时间:
2020-02-12 16:10:59
阅读次数:
67
Nginx: 1.安装nginx yum源 rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm 2.yum install nginx -y 3.mv ...
分类:
其他好文 时间:
2020-02-12 00:24:02
阅读次数:
74
KVM安装 1、环境准备 CentOs7 联网 内存最好在20G不上 windows支持虚拟化 虚拟机开启虚拟化配置 2、系统环境 1 [root@ CentOS7-200 ~]# cat /etc/redhat-release 2 CentOS Linux release 7.3.1611 (Co ...
分类:
其他好文 时间:
2020-02-11 19:33:45
阅读次数:
97