大飞_dafei

导航

2018年1月15日 #

linux下同一个tomcat部署多个项目

摘要: linux下同一个tomcat部署多个项目 第二个项目访问方式: project_demo2.com:8080 <!-- 一个端口多个域名 --> <Service name="Catalina"> <!--这里默认使用8080端口--> <Connector port="8080" protoco 阅读全文

posted @ 2018-01-15 16:30 大飞_dafei 阅读(567) 评论(0) 推荐(0)

2018年1月12日 #

Nexus私服 Maven

摘要: Nexus私服 Maven 修改本地maven仓库位置 maven默认仓库位置C:/Users/Administrator/.m2/repository,如果改为自己指定本地位置位置,可通过修改maven安装包下面配置文件...\apache-maven-3.6.0\conf\settings.xm 阅读全文

posted @ 2018-01-12 16:12 大飞_dafei 阅读(104) 评论(0) 推荐(0)

2018年1月10日 #

maven 父子项目 聚合与继承 生命周期 打包插件 依赖打包 jar pom war

摘要: 原文地址: maven 父子项目 聚合与继承 生命周期 打包插件 依赖打包 jar pom war Maven安装以及环境配置(Windows) IDEA中创建maven web项目的详细部署 maven父子关系 父项目中打包凡是必须是 pom 方法 <packaging>pom</packagin 阅读全文

posted @ 2018-01-10 14:26 大飞_dafei 阅读(507) 评论(0) 推荐(0)

2018年1月9日 #

IDEA中创建Web聚合项目(Maven多模块项目)

摘要: IDEA中创建Web聚合项目(Maven多模块项目) 1、创建parent项目 2、创建子模块 3、这样一个project就创建好了,删除没有用的src 4、当前结构 5、这个时候创建的不管是child1还是child2都是普通的Java项目,而不是JavaWeb项目,在一个JavaWeb项目中,我 阅读全文

posted @ 2018-01-09 14:45 大飞_dafei 阅读(143) 评论(0) 推荐(0)

2018年1月5日 #

为什么要在linux命令前加上 ./ 什么时候才需要在命令前加上./

摘要: 1.为什么要在linux命令前加上 ./ unix或linux中除了path系统变量外的目录下的命令都要加./ 修改用户的 .bash_profile 在 PATH一行最后加上 ":." (一个冒号,一个点) 然后退出重新登陆用户就ok了! PATH中没有定义路径,加上就ok了 ./表示当前目录,这 阅读全文

posted @ 2018-01-05 15:56 大飞_dafei 阅读(557) 评论(0) 推荐(0)

2018年1月4日 #

web.xml 介绍 and pom.xml 介绍

摘要: 参考文章: metawerx web.xml web.xml 文件详解 web.xml 中加载顺序 maven pom.xml 阅读全文

posted @ 2018-01-04 15:45 大飞_dafei 阅读(147) 评论(0) 推荐(0)

2018年1月3日 #

有趣的linux命令

摘要: 有趣的linux命令 1、 sl 命令 安装 $ sudo apt-get install sl 运行 $ sl 2. fortune 命令 安装 $sudo apt-get install fortune安装中文 $sudo apt-get install fortune-zh运行 $fortun 阅读全文

posted @ 2018-01-03 18:28 大飞_dafei 阅读(111) 评论(0) 推荐(0)

2018年1月2日 #

SpringMVC 中常见注释

摘要: @RequestMapping@PathVariable@ResponseBody@RequestParam 阅读全文

posted @ 2018-01-02 17:09 大飞_dafei 阅读(92) 评论(0) 推荐(0)

2017年12月25日 #

php逐行读取txt文件写入数组的方法

摘要: php逐行读取txt文件写入数组的方法 测试数据: test01 test02 test03 test04 test05 test06 test07 test08 test09 test10 test11 test12 方法01 $fileUrl = "E:\web\log.txt"; $isss= 阅读全文

posted @ 2017-12-25 17:13 大飞_dafei 阅读(481) 评论(0) 推荐(0)

2017年12月22日 #

yii2 behaviors

摘要: yii2 behaviors 1、使用控制过滤器, return [ 'access' => [ 'class' => AccessControl::className(), 'rules' => [ [ 'allow' => true, 'actions' => ['index'], 'roles 阅读全文

posted @ 2017-12-22 16:03 大飞_dafei 阅读(89) 评论(0) 推荐(0)