1.安装VMWare虚拟机 VMWare下载地址:https://www.cr173.com/soft/68480.html 傻瓜式安装:一直点击下一步 安装完要永久使用需要密钥,百度上有一大把 2.在VM上安装centos7(安装镜像) 2.1选择典型,点击下一步 2.2选择centos安装路径 ...
分类:
系统相关 时间:
2019-09-12 13:19:11
阅读次数:
155
FC Codelona is trying to assemble a team from a roster of available players. They have a minimum number of players they want to sign and each player n ...
分类:
其他好文 时间:
2019-09-12 10:24:12
阅读次数:
353
http{ #http层,设置 # Limit settings limit_conn_zone $remote_addr zone=conn_zone:10m; server{ #server层调用 #连接限制,限制同时最高1个连接 limit_conn conn_zone 1; } } ...
分类:
其他好文 时间:
2019-09-11 21:53:12
阅读次数:
89
1、什么是单例模式 单例模式的定义某个类只能生成一个实例,该类提供了一个全局访问点供外部获取该实例,其拓展是有限多例模式。Ensures a class has only one instance, and provide a global point of access to it.保证一个类只有 ...
分类:
移动开发 时间:
2019-09-08 00:21:57
阅读次数:
112
docker 容器下载 docker容器在docker hub上下载: https://hub.docker.com/r/jenkins/jenkins 容器的详细用法官方文档在github上面: https://github.com/jenkinsci/docker/blob/master/REA ...
分类:
其他好文 时间:
2019-09-06 17:26:56
阅读次数:
84
## 使用JDBC工具类的原因在使用JDBC连接数据库的时候,加载驱动、获取连接、释放资源等代码是重复的,所有为了提高代码的复用性,我们可以写一个工具类,将数据库驱动加载、获取连接、资源释放的代码封装起来。同时,为了使工具类的灵活性,可以将数据库的驱动、url、用户名、密码等信息以键值对的形式存放在 ...
分类:
数据库 时间:
2019-09-04 09:15:44
阅读次数:
101
limit_req_zone $binary_remote_addr zone=mylimit:10m rate=1r/s localhost ~\.php$ { limit_req zone=mylimit burst=1 nodelay; try_files $uri =404; ....... ...
分类:
其他好文 时间:
2019-09-03 16:47:18
阅读次数:
83
好久不用jdbc今天连接,报了这个错。 开始用低版本的mysql的连接jar包,后来下载了一个新的,还是报这个错。 所以用新的url ...
分类:
数据库 时间:
2019-08-31 19:00:46
阅读次数:
72
一、存储卷的类型 emptyDir:在宿主机上分一块内存空间给pod当做存储空间 hostPath:在宿主机上分一块磁盘空间给pod当做存储空间 网络存储: SAN:iSCSI,FC NAS:nfs,cifs 分布式存储:glusterfs,rbd,cephfs,... 云存储:EBS,Azure, ...
分类:
Web程序 时间:
2019-08-31 18:57:13
阅读次数:
125