标签:style manager epo ram pre http jdk1.8 margin windows
1 安装jdk
配置环境变量
新建JAVA_HOME:D:\Program Files\Java\jdk1.8.0_151
新建JRE_HOME:D:\Program Files\Java\jre1.8.0_151
新建CLASSPATH:%JAVA_HOME%\lib;%JRE_HOME%\lib;
新建PATH:%JAVA_HOME%\bin;%JRE_HOME%\bin;
2 安装tomcat
配置环境变量
新建CATALINA_BASE:D:\Program Files\apache-tomcat\apache-tomcat-8.5.20
新建CATALINA_HOME:D:\Program Files\apache-tomcat\apache-tomcat-8.5.20
新建TOMCAT_HOME:D:\Program Files\apache-tomcat\apache-tomcat-8.5.20
配置tomcat用户名密码的设置
修改D:\Program Files\apache-tomcat\apache-tomcat-8.5.20\conf\tomcat-users.xml
<role rolename="tomcat"/> <role rolename="role1"/> <user username="tomcat" password="tomcat" roles="tomcat"/> <user username="both" password="tomcat" roles="tomcat,role1"/> <user username="role1" password="tomcat" roles="role1"/> <user username="admin" password="admin" roles="manager"/>
3 安装maven
配置maven环境变量
新建MAVEN_HOME:D:\Program Files\apache-maven\apache-maven-3.5.0
编辑PATH添加:%MAVEN_HOME%\bin;
配置maven本地仓库与镜像站
编辑D:\Program Files\apache-maven\apache-maven-3.5.0\conf\settings.xml
配置maven的本地仓库 <localRepository>F:\Maven\Localwarehouse</localRepository> 配置maven的镜像仓库 <mirrors> <id>nexus-aliyun</id> <mirrorOf>*</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> </mirrors>
标签:style manager epo ram pre http jdk1.8 margin windows
原文地址:http://www.cnblogs.com/WangBoBlog/p/7880979.html