Description of server purchase and pagoda deployment environment

Tutorial
https://www.bilibili.com/video/BV177411K7bH

[External link image transfer failed, the source site may have anti-leech mechanism, it is recommended to save the image and upload it directly (img-gpFDmlYt-1614996531930) (C:/Users/Administrator/AppData/Roaming/Typora/typora-user-images/ image-20210305083459486.png)]

image-20210305083538120

image-20210305083719528

image-20210305085000320


account password

External network panel address:
Intranet panel address:
username:
password:

Pagoda login:

image-20210305154645457

image-20210305154753539

image-20210305154837605

image-20210305154902962

image-20210305154958842

But version 5.0 is installed in redis.

image-20210305155109436

The lightweight one I bought needs to open the port in the firewall

open port

MySql 3306

tomcat 8080

Wait

image-20210305155332269

image-20210305155845719

image-20210305160058748

image-20210305160150540

image-20210305160238333

The lightweight one I bought needs to open the port in the firewall
image-20210305160645211

image-20210305160322067

Enter the tomcat folder and put it in the website to open access

image-20210305161009198

new directory

image-20210305161343994

image-20210305161412549

Copy to the image below.

image-20210305161431133

  • index.jsp modify the code
<%--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.  See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License.  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
--%>
<%@ page session="false" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%
java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("yyyy");
request.setAttribute("year", sdf.format(new java.util.Date()));
request.setAttribute("tomcatUrl", "http://tomcat.apache.org/");
request.setAttribute("tomcatDocUrl", "/docs/");
request.setAttribute("tomcatExamplesUrl", "/examples/");
%>
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <title><%=request.getServletContext().getServerInfo() %></title>
        <link href="favicon.ico" rel="icon" type="image/x-icon" />
        <link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
        <link href="tomcat.css" rel="stylesheet" type="text/css" />
    </head>

    <body>
        <h1>my-web</h1>
    </body>

</html>

http://123.56.127.26:8080/kuangstudy/

The content of http://123.56.127.26: is the URL of the pagoda webpage.

with the following results:

image-20210305161733254

image-20210305161824264

image-20210305161939878

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=324127382&siteId=291194637