文章简单描述了Linux用户创建,更改和删除等基本操作方法,并配置了相关案例;
分类:
系统相关 时间:
2020-03-08 23:20:31
阅读次数:
117
### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your ...
分类:
其他好文 时间:
2020-03-08 21:53:09
阅读次数:
1492
public class Class112 { public boolean findPath(char[] matrix, int rows, int cols, char[] str){ boolean anchor[] = new boolean[matrix.length]; for(int ...
分类:
编程语言 时间:
2020-03-08 19:59:34
阅读次数:
71
createConnection 建立连接&关闭连接 语法 (1)createConnection方法创建连接对象(正式的说法:使用createConnection方法创建一个表示与mysql数据库服务器之间连接的connection对象) (2)用对象的connect方法建立连接。 (3)关闭连接 ...
分类:
数据库 时间:
2020-03-08 19:41:37
阅读次数:
202
@ "toc" 捕获全局异常是在项目运行期间如果调用的某一个方法出现了运行时异常,则会捕获,并且给出回馈。 首先需要建一个包,包里新建一个捕获异常类GlobalExceptionHandler。前提是springboot的启动类的扫描注解ComponentScan()要扫描到。 这个捕获异常类可以捕 ...
分类:
编程语言 时间:
2020-03-08 17:23:01
阅读次数:
83
负载均衡(LB)软件常见负载均衡软件有:LVS、Nginx、HaproxyLVS:1).基于4层网络协议,几乎无流量产生,这个特点也决定这几个负载均衡软件里负载能力最强,内存、CPU占用资源也低。2).应用范围广,不仅对Web服务做负载均衡,而且可结合其他应用做负载,如LVS+MySQL负载均衡。3).配置简单,可配置东西较少。4).无流量,LVS只分发请求,而流量并不从它本身出去,这点保证了均衡
分类:
其他好文 时间:
2020-03-08 15:51:16
阅读次数:
71
<!-- 表单类 --> <label>姓名</label> <input type="text"> 文本框 <input type="password"> 密码框 <input type="button" value="按钮"> <input type="radio" name="" id ...
分类:
Web程序 时间:
2020-03-08 12:31:30
阅读次数:
88
1、while循环 使用while打印1.2.3.4.5.6.8.9.10 #快速注释Ctrl+?count = 1 while count <= 10: if count == 7: count = count + 1 pass #表示过,不执行下面程序 else: print(count) co ...
分类:
编程语言 时间:
2020-03-07 22:26:54
阅读次数:
99
本文主要说明使用docker搭建开发用Elasticsearch的相关要点,包含有: 搭建Elasticsearch集群docker环境 搭建Kibana的docker环境 一、搭建Elasticsearch环境 docker下存在两个标准的Elasticsearch镜像,分别为elasticsea ...
分类:
其他好文 时间:
2020-03-06 21:37:06
阅读次数:
75