Web project deployment, just one article!

There are many ways of web deployment, depending on the development method, the deployment method is also different. The most common is docker deployment, which must be familiar to everyone. Today we talk about another kind.

deployment process

1. Verify that Jdk is installed successfully
2. Verify that Tomcat is installed successfully
3. Verify that Navicat can connect to the database
4. Create a database and import the database script (note: the database name here must be: tomexam)

5. Modify the program database configuration file

WebRoot\WEB-INF\classes\c3p0-config.xml

6. Deploy the program to Tomcat without deploying the program, start Tomcatcmd and run java -version

Where is the session timeout set?

Where is the Tomcat port changed?

Log garbled open tomcat/conf/logging.properties add

1catalina.org.apache.juli.AsyncFileHandler.encoding = GBK

Method 1: Copy the program folder (WebRoot) to: Tomcat's webapps directory

Method 2: In Tomcat's conf\Catalina\localhost directory, create a new: path.xml file, the content is: <Context path="/" reloadable="true" docBase="The directory where the program is located" workDir="The directory where the program is located \work" />

Method 3: In </Host> in Tomcat's conf\server.xml, add a line of code:

<Context path="/path" reloadable="true" docBase="The directory where the program is located" workDir="The directory where the program is located\work" />

The following are supporting learning materials. For friends who do [software testing], it should be the most comprehensive and complete preparation warehouse. This warehouse also accompanied me through the most difficult journey. I hope it can help you too!

Software testing interview applet

The software test question bank maxed out by millions of people! ! ! Who is who knows! ! ! The most comprehensive quiz mini program on the whole network, you can use your mobile phone to do the quizzes, on the subway or on the bus, roll it up!

The following interview question sections are covered:

1. Basic theory of software testing, 2. web, app, interface function testing, 3. network, 4. database, 5. linux

6. web, app, interface automation, 7. performance testing, 8. programming basics, 9. hr interview questions, 10. open test questions, 11. security testing, 12. computer basics

Information acquisition method:

Guess you like

Origin blog.csdn.net/IT_LanTian/article/details/132362238