Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Introduction to the Topology structure of Nginx+Tomcat website in online Environment

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

The following brings you an introduction to the topology structure of the online environment Nginx+Tomcat website, hoping to give you some help in practical application. There are many things involved in load balancing, not many theories, and there are many books on the Internet. Today, we will use the accumulated experience in the industry to do an answer.

Online environment Nginx+Tomcat website topology architecture

CVM software requirements:

Mainframe

IP address

Main software

Nginx server

192.168.1.102

Nginx-1.6.0.tar.gz

Tomcat1

192.168.1.100

1.jdk-7u65-linux-x64.gz

2.apache-tomcat-7.0.54.tar.gz

Tomcat2

192.168.1.101

1.jdk-7u65-linux-x64.gz

2.apache-tomcat-7.0.54.tar.gz

Install and configure the java environment:

/ / Import the java script into the environment variable and make it effective

/ / check the installation version

4. Install and configure tomcat:

/ / decompress the file and generate apache-tomcat-7.0.54, move it to the commonly used / usr/local and rename it to tomcat7

/ / start the service and check the listening port

5. Set up the web site for java:

(1) first create a web directory (2) set up an index.jsp test page under webapp1

Enter the tomcat configuration file, / usr/local/tomcat7/conf/server.vml

(3) modify the server.xml file of tomcat:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report