How to run a tomcat webserver on Azure Virtual machine

To follow along with this article, you are required to have a virtual machine with at least 1 vCPU and 2GB of memory and java-11 installed on server:
1. Follow this article to create a VM –> How to create Virtual Machine in Azure using Azure Portal
2. Follow this article to Install Java 11 –> Installing Java 11 on Ubuntu

 

 

 

https://dlcdn.apache.org/tomcat/tomcat-10/v10.1.23/bin/apache-tomcat-10.1.23.tar.gz

 

 

 

 

 

 

 

 

 

 

sudo sed -i 's/8080/8090/g' apache-tomcat-10.1.23/conf/server.xml