2017–2027Celebrating Our 10th Year

Transform Your Career.
Engineer Your Future.

15 weeks of live AI-enabled DevSecOps and cloud training with Coach AK. Build skills through 70+ hands-on labs.

Coach AK in his DevOps learning studio
Coach AK | Ananth KannanSenior DevOps & SRE Architect • Founder, CoachDevOps
3,500+Students Trained
25+ YearsIT Experience
15 WeeksLive Training
70+Hands-on Labs

Master In-Demand Technologies

AWSAzureDockerKubernetesTerraformJenkinsGitHub ActionsAnsibleGitLab

AI-Enabled DevSecOps & Cloud Engineering Bootcamp

Next weekend batch: December 5, 2026
Saturday 9:30–11:30 AM CST • Sunday 10:30 AM–12:30 PM CST

Live classes, practical projects, personal mentorship and career preparation.

View Program Details →

Real Students. Real Success.

Career milestones shared by our students.

✓ Placement in an AI role
“The concepts you taught have improved my technical understanding and confidence.”
ManimaranJuly 2026 Bootcamp
✓ DevSecOps Engineer offer
“I want to sincerely thank you for your mentorship, training, and support.”
Femi AshayeCoachDevOps Alumni
✓ DevOps Engineer offer
“I got an offer for Devops engineer Last week and happy to inform you. I really appreciate you.”
EbenezerCoachDevOps Alumni
View All Success Stories →

Individual student experiences; employment is not guaranteed.

Ready to Take the Next Step?

Explore the program or get answers to your questions before enrolling.

Tuesday, June 4, 2024

Install Tomcat 10 on Ubuntu 24.0.4 | Setup Tomcat 10 on Ubuntu 24.0.4 in AWS EC2 | Setup Tomcat on Ubuntu

Tomcat is one of the popular web containers for deploying Java applications. Tomcat is open source. Click here to learn more about Tomcat. Let's see how to install Tomcat on Ubuntu 24.0.4.



Tomcat is both Web server and web container


Please follow below steps to install Tomcat 10 on Ubuntu 24.0.4.

Pre-requisites:
  • Create new EC2 instance first for setting up Tomcat. 
  • Also open port 8080 in security firewall rules for EC2 instance in AWS.
Tomcat Installation
Tomcat is a web server or web container where java web application can be deployed by developers. You can learn more about by clicking this URL.  Tomcat can be installed by executing below commands:

Change Host Name to Tomcat
sudo hostnamectl set-hostname Tomcat

Update to Latest packages
sudo apt update

Install Tomcat9
sudo apt install tomcat10 tomcat10-docs tomcat10-admin -y

Perform below command for setting up tomcat admin app
sudo cp -r /usr/share/tomcat10-admin/* /var/lib/tomcat10/webapps/ -v

Setup an user in tomcat 
Open the tomcat-users.xml file by executing below command
sudo vi /var/lib/tomcat10/conf/tomcat-users.xml

You need to edit the file, click on this link to know how to make changes using Vi editor.
We need to add tomcat user and assign to manager-script role.
Scroll down all the way to the end of the file,
Add the below lines in second last line above (above </tomcat-users>)

<role rolename="manager-script"/>
<user username="tomcat" password="password" roles="manager-script"/>


Now restart tomcat to take the changes in effect
sudo systemctl restart tomcat10

Verify if tomcat10 is working fine
sudo systemctl status tomcat10
Now press q for quitting from that window. Now open the browser to access Tomcat, enter
You should see a page that says.


That's it. You have setup Tomcat successfully!!
 

Join the Discussion

Have a question about this tutorial or need help with a lab? Share your questions and feedback below.

Post a Comment