摘要: 管理员UID为0:系统的管理员用户 系统用户UID为 1~999 普通用户UID从1000开始 用户组 基本用户组:Linux中创建每个用户时,将自动创建一个与其同名的基本用户组,而且这个基本用户组只有该用户一个人 扩展用户组:一个用户可以用多个扩展用户组 useradd groupadd user 阅读全文
posted @ 2018-12-24 20:26 醉醉龙 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 1 Shell介绍 shell充当的是人与内核之间的翻译官,许多主流的Linux系统默认的是Bash(Bourne-Again SHell),记住shell很方便 2 常用系统命令 1 echo命令 echo 命令用于在终端输出字符串或变量提取后的值,格式为“echo [字符串 | $变量]”。 例 阅读全文
posted @ 2018-12-23 23:06 醉醉龙 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 介绍 nginx 由C开发,就是速度快(别的词等我有能力了再补上去) 启动报如下错 [root@root sbin]# nginx: [emerg] open() "/var/run/nginx/nginx.pid" failed (2: No such file or directory) 直接在 阅读全文
posted @ 2018-12-22 22:59 醉醉龙 阅读(142) 评论(0) 推荐(0) 编辑
摘要: TCP概述 1 TCP是面向连接的传输层协议2 每一条TCP连接都能有2个端点3 TCP提供可靠交付的交付的服务4 TCP提供全双工通信5 面向字节流 滑动窗口 转自 http://blog.chinaunix.net/uid-26275986-id-4109679.html 三次握手(建立连接)四 阅读全文
posted @ 2018-12-22 20:55 醉醉龙 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 查询语句 select distinct * from table_name where … group by .. having by … order by .. limit … 聚合函数 avg()count()max()min()sum()group by() sql值连接查询 性能优化 1 阅读全文
posted @ 2018-12-20 22:43 醉醉龙 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1发送post请求 $.post(url,数据,function(data){ }) 2 (docunment).ready()(function({})) 方法介绍 可以在Dom载入就绪时对其进行操作 $(document).ready() 3 看它吧 https://blog.csdn.net/ 阅读全文
posted @ 2018-12-20 20:43 醉醉龙 阅读(91) 评论(0) 推荐(0) 编辑
摘要: ###Collection的介绍 是一个集合接口,在java类库中有很多的实现,常见的有List Set 等,List的实现类由ArrayList、LinkedList等 ### List介绍 List中的数据是有序可重复,其实现类常见的有ArrayList和LinkedList,ArrayList 阅读全文
posted @ 2018-12-19 22:55 醉醉龙 阅读(99) 评论(0) 推荐(0) 编辑
摘要: ######Timer就是一个定时器,TimerTask就是定时器需要完成的任务 https://www.cnblogs.com/xiaotaoqi/p/6874713.html 这个介绍的很好 阅读全文
posted @ 2018-12-19 22:14 醉醉龙 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 1 Interceptor用法介绍 上代码,简单的东西就这摸直截了当 public class LoginInterceptor implements HandlerInterceptor { //在controller执行之前执行此方法,只有此方法返回true时controller才会执行 @Ov 阅读全文
posted @ 2018-12-17 21:28 醉醉龙 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 整理一下关于我用到的springMVC的东西 1 执行过程 a 发送请求后被DispatchServlet截取 b DispatchServlet对请求URL进行解析,得到资源标识符(URL),然后根据资源标识符HandlerMapper,将请求映射到处理器HandlerExecutionChain 阅读全文
posted @ 2018-12-14 22:51 醉醉龙 阅读(109) 评论(0) 推荐(0) 编辑