摘要: 常规操作: # quan @ quandeMacBook-Pro in ~/Desktop/10-01/app_addressing quan on git:1.0.1.Release o [10:02:27] $ git pull (git)-[1.0.1.Release|rebase]- rem 阅读全文
posted @ 2021-01-09 10:35 linux——quan 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 官网的starthttps://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#using-boot-starter 添加依赖, 使用初始化器的时候自己选择依赖 <dependency> <groupId>org.sprin 阅读全文
posted @ 2020-06-21 18:57 linux——quan 阅读(206) 评论(0) 推荐(0) 编辑
摘要: Spring MVC auto-configuration Spring Boot 自动配置好了SpringMVC 以下是SpringBoot对SpringMVC的默认配置:==(WebMvcAutoConfiguration)== Inclusion of ContentNegotiatingVi 阅读全文
posted @ 2020-06-07 14:15 linux——quan 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 1)、创建SpringBoot应用,选中我们需要的模块; 2)、SpringBoot已经默认将这些场景配置好了,只需要在配置文件中指定少量配置就可以运行起来 3)、自己编写业务代码; 文件名的功能 xxxxAutoConfiguration:帮我们给容器中自动配置组件; xxxxProperties 阅读全文
posted @ 2020-06-07 10:36 linux——quan 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 市面上的日志框架; JUL、JCL、Jboss-logging、logback、log4j、log4j2、slf4j.... SpringBoot:底层是Spring框架,Spring框架默认是用JCL;‘ ==SpringBoot选用 SLF4j和logback;== 日志记录方法的调用,不应该来 阅读全文
posted @ 2020-06-06 23:09 linux——quan 阅读(265) 评论(0) 推荐(0) 编辑
摘要: /** * 将配置文件中配置的每一个属性的值,映射到这个组件中 * @ConfigurationProperties:告诉SpringBoot将本类中的所有属性和配置文件中相关的配置进行绑定; 默认在全局配置文件中获取值的 * prefix = "person":配置文件中哪个下面的所有属性进行一一 阅读全文
posted @ 2020-06-06 17:54 linux——quan 阅读(3038) 评论(0) 推荐(0) 编辑
摘要: • All/All Privileges权限代表全局或者全数据库对象级别的所有权限 • Alter权限代表允许修改表结构的权限,但必须要求有create和insert权限配合。如果是rename表名,则要求有alter和drop原表,create和insert新表的权限 • Alter routin 阅读全文
posted @ 2020-05-18 21:39 linux——quan 阅读(347) 评论(0) 推荐(0) 编辑
摘要: log_format <NAME> <Strin­­­g>; 关键字 格式标签 日志格式 关键字:其中关键字error_log不能改变 格式标签:格式标签是给一套日志格式设置一个独特的名字 日志格式:给日志设置格式 log_format main '$remote_addr - $remote_us 阅读全文
posted @ 2020-05-18 21:33 linux——quan 阅读(1012) 评论(0) 推荐(0) 编辑
摘要: echo -e “\033[30m 黑色字 \033[0m” echo -e “\033[31m 红色字 \033[0m” echo -e “\033[32m 绿色字 \033[0m” echo -e “\033[33m 黄色字 \033[0m” echo -e “\033[34m 蓝色字 \033 阅读全文
posted @ 2020-05-17 10:41 linux——quan 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 根据服务器类型分为:封闭系统的存储和开放系统的存储,封闭系统主要指大型机,开放系统指基于Windows、UNIX、Linux等操作系统的服务器;开放系统的存储分为:内置存储和外挂存储;外挂存储根据连接的方式分为:直连式存储(Direct-Attached Storage,简称DAS)和网络化存储(F 阅读全文
posted @ 2020-05-17 09:00 linux——quan 阅读(474) 评论(0) 推荐(0) 编辑