Cloud Computing 4 min read

Step-by-Step Guide: Deploy Tomcat on Huawei Kunpeng Elastic Cloud Server

This tutorial walks developers through downloading Tomcat, transferring files via SCP, extracting the package, configuring directories, starting the service, opening port 8080 in the Huawei Cloud security group, and finally accessing the web application on a Kunpeng Elastic Cloud Server.

Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Step-by-Step Guide: Deploy Tomcat on Huawei Kunpeng Elastic Cloud Server

How to configure Tomcat on a Kunpeng Elastic Cloud Server

1. Download Tomcat

Visit tomcat.apache.org , select the desired version (the guide uses Tomcat 9), and download the compressed package.

2. Transfer files to the server

Use scp to copy the downloaded archive to the Kunpeng Elastic Cloud Server. For details on the command, refer to the previous blog "Deploy Java on Kunpeng Elastic Cloud Server".

3. Remote login and extract

Log in to the server via SSH, then extract the archive: tar -zxvf tomcat.tar.gz The extracted directory contains several sub‑folders:

bin : executable files, e.g., startup.sh conf : configuration files

lib : dependent JAR packages

logs : log files

temp : temporary files

webapps : deployed web applications

work : runtime data

4. Start Tomcat

Navigate to the bin directory and run the startup script: ./startup.sh You should see the message "Tomcat started". Verify that the service is listening on port 8080:

netstat -anp | grep 8080

5. Open port 8080 in the security group

In the Huawei Cloud console, go to Security Group → Configure Rules**, add a rule to allow inbound traffic on port 8080.

6. Browse the application

Open a web browser and navigate to IP:8080 to see the Tomcat welcome page.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

TomcatServer Setupbackend deploymentKunpeng Cloud
Huawei Cloud Developer Alliance
Written by

Huawei Cloud Developer Alliance

The Huawei Cloud Developer Alliance creates a tech sharing platform for developers and partners, gathering Huawei Cloud product knowledge, event updates, expert talks, and more. Together we continuously innovate to build the cloud foundation of an intelligent world.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.