上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 31 下一页
摘要: http://blog.csdn.net/xiaolinlife/article/details/73548938 阅读全文
posted @ 2018-03-19 14:58 newlangwen 阅读(174) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/y12nre/article/details/60869829 进入 cmd 环境中,切换到项目路径中,然后输入 mvn spring-boot:run 回车,项目就可以启动了 java -jar XXX.jar --spring.profiles.acti 阅读全文
posted @ 2018-03-08 15:06 newlangwen 阅读(134) 评论(0) 推荐(0) 编辑
摘要: tomcat 虚拟目录1. \conf\Catalina\localhost 创建test.xml文件,经过测试xml文件名不能和项目名相同 添加内容 <?xml version="1.0" encoding="UTF-8"?><Context docBase="F:/test" debug="0" 阅读全文
posted @ 2018-02-04 15:31 newlangwen 阅读(199) 评论(0) 推荐(0) 编辑
摘要: nohup /test.sh 1>/dev/null 2>&1 & 1.$PATH2.ls -al ~ (~ 显示隐藏的文件) 3 cd ~ // 回到自己的主文件4.cp /var/log/wtmp . //复制到当前目录,最后的“.”不要忘 ls -l /var/log/wtmp wtmp cp 阅读全文
posted @ 2018-02-04 15:30 newlangwen 阅读(1342) 评论(0) 推荐(0) 编辑
摘要: shell 变量1.设置值$name=test2. 输出变量的值 echo $echo $name3. 增加变量内容PATH=$PATH:/home/bin/testPATH="$PATH":/home/bin/testPATH=${PATH}:/home/bin/test4.若该变量需要在其他子进 阅读全文
posted @ 2018-02-04 15:29 newlangwen 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 1.分布式锁 https://www.cnblogs.com/liuyang0/p/6744076.html https://www.cnblogs.com/austinspark-jessylu/p/8043726.html 分布式锁一般用在分布式系统或者多个应用中,用来控制同一任务是否执行或者任 阅读全文
posted @ 2018-02-04 15:22 newlangwen 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 1. 每个线程有一个ThreadLocal对象; 2. 阅读全文
posted @ 2018-01-20 14:30 newlangwen 阅读(135) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/nullzx/p/4968674.html https://www.cnblogs.com/zouzz/p/6593748.html 阅读全文
posted @ 2018-01-19 07:37 newlangwen 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 1. 实现接口 HandlerExceptionResolver 捕获异常 2.@ExceptionHandler 在方法添加注解,捕获本地controller异常 3.@ControllerAdvice +@ExceptionHandler 共同作用实现捕获多个controller异常 阅读全文
posted @ 2018-01-16 19:45 newlangwen 阅读(129) 评论(0) 推荐(0) 编辑
摘要: spring Cache https://www.ibm.com/developerworks/cn/opensource/os-cn-spring-cache/ spring+redis 缓存 http://blog.csdn.net/defonds/article/details/4871616 阅读全文
posted @ 2018-01-16 09:14 newlangwen 阅读(154) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 31 下一页