Windows software Configuration

Source: Internet
Author: User
Tags aliyun

1 Installing the JDK

  Configuring Environment variables

New Java_home:d:\program files\java\jdk1.8.0_151

New Jre_home:d:\program files\java\jre1.8.0_151

New Classpath:%java_home%\lib;%jre_home%\lib;

New Path:%java_home%\bin;%jre_home%\bin;

2 Installing Tomcat

  Configuring Environment variables

New Catalina_base:d:\program files\apache-tomcat\apache-tomcat-8.5.20

New Catalina_home:d:\program files\apache-tomcat\apache-tomcat-8.5.20

New Tomcat_home:d:\program files\apache-tomcat\apache-tomcat-8.5.20

  Configure the settings for the Tomcat user name password

Modify 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 Installing MAVEN

  Configuring MAVEN Environment variables

New Maven_home:d:\program files\apache-maven\apache-maven-3.5.0

Edit path add:%maven_home%\bin;

  Configure MAVEN local warehouse with mirror station

Edit D:\Program Files\apache-maven\apache-maven-3.5.0\conf\settings.xml

Configure MAVEN's local warehouse <localRepository>F:\Maven\Localwarehouse</localRepository> Configure MAVEN's mirrored warehouse <mirrors>    <id>nexus-aliyun</id>    <mirrorOf>*</mirrorOf>    <name >nexus aliyun</name>    <url>http://maven.aliyun.com/nexus/content/groups/public/ </url></mirrors>

  

Windows software Configuration

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.