不鸣则已

海阔凭鱼跃,天高任鸟飞!

首页 新随笔 联系 订阅 管理
上一页 1 2 3 4 5 6 ··· 13 下一页

2018年5月23日 #

摘要: spring web项目启动入口 1、首先看一下传统Java Web的配置文件web.xml,网上找的一个,参考地址:https://blog.csdn.net/github_36301064/article/details/53290900 2、看一下spring web项目中的web.xml d 阅读全文
posted @ 2018-05-23 12:29 唐群 阅读(153) 评论(0) 推荐(0) 编辑

2018年5月22日 #

摘要: spring-beans和spring-context 一、注解 1、自定义一个注解 2、使用注解 3、注解被调用,测试 4、结果 二、 Assert(断言,JDK1.4) 三、Spring中的注解 常用的: spring-context包下: @Component @Repository @Ser 阅读全文
posted @ 2018-05-22 14:25 唐群 阅读(114) 评论(0) 推荐(0) 编辑

2018年5月21日 #

摘要: spring-core 通过Gradle构建工具,转换包的命名空间为org.springframework下 cglib包,net.sf.cglib -> org.springframework.cglib,cglib原本引用了asm包,spring为了防止包依赖冲突,在将cglib中的内容移动到o 阅读全文
posted @ 2018-05-21 18:37 唐群 阅读(171) 评论(0) 推荐(0) 编辑

2018年5月18日 #

摘要: 一、Spring框架 源码地址:https://github.com/spring-projects/spring-framework 构建工具:Gradle,Gradle教程:https://www.w3cschool.cn/gradle/ Gradle基于Groovy语言,Groovy教程:ht 阅读全文
posted @ 2018-05-18 17:24 唐群 阅读(188) 评论(0) 推荐(0) 编辑

2018年5月10日 #

摘要: 1、下载 eclipse http://www.eclipse.org/downloads/eclipse-packages/ 建议下载 Eclipse IDE for Eclipse Committers 2、下载 OpenJDK 源码 http://hg.openjdk.java.net/jdk 阅读全文
posted @ 2018-05-10 17:31 唐群 阅读(439) 评论(0) 推荐(0) 编辑

2018年4月19日 #

摘要: 1、修改hosts 2、解压 jdk,添加环境变量 3、解压 zookeeper ,修改 配置 4、启动集群 分别启动3台机器中的zookeeper,只有当多数节点启动成功的时候,集群成功启动,否则查看单节点都是显示 not running 5、当集群中多数节点启动完成后,查看状态 6、小技巧:集群 阅读全文
posted @ 2018-04-19 18:02 唐群 阅读(119) 评论(0) 推荐(0) 编辑

摘要: CentOS 7 默认使用的是firewall作为防火墙,使用iptables必须重新设置一下1、关闭防火墙systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止firewall开机启动 阅读全文
posted @ 2018-04-19 17:49 唐群 阅读(148) 评论(0) 推荐(0) 编辑

2018年4月18日 #

摘要: 1、在想要查看的类上按 Ctrl + H -> Diagrams -> Show Diagrams -> Java Class Diagrams -> Show Implementations -> Ctrl + A -> 右击一下 -> Enter 。 阅读全文
posted @ 2018-04-18 13:50 唐群 阅读(5568) 评论(0) 推荐(1) 编辑

2018年3月12日 #

摘要: 1、systemctl 用法:systemctl [OPT] COMMAND [NAME]…启动服务:systemctl start NAME.service停止服务:systemctl stop NAME.service重启服务:systemctl restart NAME.service服务状态 阅读全文
posted @ 2018-03-12 17:08 唐群 阅读(2725) 评论(0) 推荐(0) 编辑

2018年3月8日 #

摘要: 1、安装 denyhosts, 设置 hosts.allow ,系统自动将攻击的ip 添加如 hosts.deny2、打开中文文档乱码, 将文档下载到windows, 通过富文本编辑器查看文档编码3、linux 查看端口占用lsof -i:80netstat -tunlp|grep 804、根据PI 阅读全文
posted @ 2018-03-08 17:18 唐群 阅读(190) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 13 下一页