<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tomcat Archives - ServerStadium</title>
	<atom:link href="https://serverstadium.com/knowledge-base/tag/tomcat/feed/" rel="self" type="application/rss+xml" />
	<link>https://serverstadium.com/knowledge-base/tag/tomcat/</link>
	<description>Public Cloud Solution by ServerStadium</description>
	<lastBuildDate>Thu, 27 Apr 2023 10:41:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>

<image>
	<url>https://serverstadium.com/wp-content/uploads/2023/04/cropped-favicon-1-32x32.png</url>
	<title>Tomcat Archives - ServerStadium</title>
	<link>https://serverstadium.com/knowledge-base/tag/tomcat/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Installing Apache and Tomcat: A Quick Way</title>
		<link>https://serverstadium.com/knowledge-base/installing-apache-and-tomcat-a-quick-way/</link>
		
		<dc:creator><![CDATA[Brian K]]></dc:creator>
		<pubDate>Fri, 02 Oct 2020 08:47:52 +0000</pubDate>
				<guid isPermaLink="false">https://cloudraya.com/knowledge-base/?p=410</guid>

					<description><![CDATA[<p>Apache is the most used web server in the world that provides such features as a variety of modules, good performance, and support with other popular software. Tomcat is a web server and container used to serve Java-based applications. In addition, Tomcat is an open-source implementation of the Java Servlet and JavaServer Pages technologies, released&#8230;</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/installing-apache-and-tomcat-a-quick-way/">Installing Apache and Tomcat: A Quick Way</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Apache is the most used web server in the world that provides such features as a variety of modules, good performance, and support with other popular software. Tomcat is a web server and container used to serve Java-based applications. In addition, Tomcat is an open-source implementation of the Java Servlet and JavaServer Pages technologies, released by the Apache Software Foundation.</p>



<p class="wp-block-paragraph">Here are the steps for installing and configuring Apache and Tomcat on the same server <a href="https://serverstadium.com/knowledge-base/deploying-a-virtual-machine-in-serverstadium/">in ServerStadium Virtual Machine</a>.</p>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading"><strong>Step 1 &#8211; Installing Apache2</strong></h2>



<p class="wp-block-paragraph">First, update the Ubuntu repository with the command:</p>



<pre class="wp-block-code"><code># apt update</code></pre>



<figure class="wp-block-image size-large"><img decoding="async" width="288" height="20" class="wp-image-413" src="https://serverstadium.com/wp-content/uploads/2020/09/001.png" alt="" /></figure>



<p class="wp-block-paragraph">Then, install the Apache2 package with the command :</p>



<pre class="wp-block-code"><code># apt install apache2</code></pre>



<figure class="wp-block-image size-large"><img decoding="async" width="351" height="20" class="wp-image-414" src="https://serverstadium.com/wp-content/uploads/2020/09/002-2.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/002-2.png 351w, https://serverstadium.com/wp-content/uploads/2020/09/002-2-300x17.png 300w" sizes="(max-width: 351px) 100vw, 351px" /></figure>



<p class="wp-block-paragraph"><mark class="has-inline-color has-vivid-red-color" style="background-color: rgba(0, 0, 0, 0);">Don&#8217;t forget</mark> to add <mark class="has-inline-color has-vivid-cyan-blue-color" style="background-color: rgba(0, 0, 0, 0);">port 80</mark> to the Network Security Profile. For example, I&#8217;m allowing all IP Addresses to access <mark class="has-inline-color has-vivid-cyan-blue-color" style="background-color: rgba(0, 0, 0, 0);">port 80</mark> on this Virtual Machine.</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1069" height="53" class="wp-image-420" src="https://serverstadium.com/wp-content/uploads/2020/09/003-6.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/003-6.png 1069w, https://serverstadium.com/wp-content/uploads/2020/09/003-6-300x15.png 300w, https://serverstadium.com/wp-content/uploads/2020/09/003-6-1024x51.png 1024w, https://serverstadium.com/wp-content/uploads/2020/09/003-6-768x38.png 768w" sizes="(max-width: 1069px) 100vw, 1069px" /></figure>



<p class="wp-block-paragraph">After that, access the Virtual Machine Public IP Address with a web browser. If the installation succeeds, it should display the Apache2 Ubuntu Default Page, as shown below.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="812" height="300" class="wp-image-416" src="https://serverstadium.com/wp-content/uploads/2020/09/004-1.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/004-1.png 812w, https://serverstadium.com/wp-content/uploads/2020/09/004-1-300x111.png 300w, https://serverstadium.com/wp-content/uploads/2020/09/004-1-768x284.png 768w" sizes="(max-width: 812px) 100vw, 812px" /></figure>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading"><strong>Step 2 &#8211; Installing Java</strong></h2>



<p class="wp-block-paragraph">Tomcat requires Java to be able to execute the Java application code. You can use OpenJDK or Oracle JDK as its base. In this guide, we&#8217;ll use OpenJDK as its&#8217; base.<br />To install OpenJDK on Ubuntu, type the command :</p>



<pre class="wp-block-code"><code># apt install default-jdk</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="379" height="21" class="wp-image-422" src="https://serverstadium.com/wp-content/uploads/2020/09/001-1.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/001-1.png 379w, https://serverstadium.com/wp-content/uploads/2020/09/001-1-300x17.png 300w" sizes="(max-width: 379px) 100vw, 379px" /></figure>



<p class="wp-block-paragraph">After the installation process is finished, check your Java installation version with the command :</p>



<pre class="wp-block-code"><code># javac --version</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="324" height="36" class="wp-image-424" src="https://serverstadium.com/wp-content/uploads/2020/09/002-3.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/002-3.png 324w, https://serverstadium.com/wp-content/uploads/2020/09/002-3-300x33.png 300w" sizes="(max-width: 324px) 100vw, 324px" /></figure>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading"><strong>Step 3 &#8211; Create Tomcat User</strong></h2>



<p class="wp-block-paragraph">For security purposes, Tomcat should be running by a non-root user. First, create a <span class="has-inline-color has-vivid-cyan-blue-color">tomcat</span> group with the command :</p>



<pre class="wp-block-code"><code># groupadd tomcat</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="321" height="21" class="wp-image-449" src="https://serverstadium.com/wp-content/uploads/2020/09/001-2.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/001-2.png 321w, https://serverstadium.com/wp-content/uploads/2020/09/001-2-300x20.png 300w" sizes="(max-width: 321px) 100vw, 321px" /></figure>



<p class="wp-block-paragraph">Next, create a Tomcat user. Make this user a member of the <span class="has-inline-color has-vivid-cyan-blue-color">tomcat</span> group with home directory <span class="has-inline-color has-vivid-cyan-blue-color">/opt/tomcat</span> with a shell <span class="has-inline-color has-vivid-cyan-blue-color">/bin/false</span> (so nobody can log in into the account).</p>



<pre class="wp-block-code"><code># useradd -s /bin/false -g tomcat -d /opt/tomcat tomcat</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="591" height="17" class="wp-image-450" src="https://serverstadium.com/wp-content/uploads/2020/09/002-4.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/002-4.png 591w, https://serverstadium.com/wp-content/uploads/2020/09/002-4-300x9.png 300w" sizes="(max-width: 591px) 100vw, 591px" /></figure>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading"><strong>Step 4 &#8211; Download and Install Tomcat</strong></h2>



<p class="wp-block-paragraph">Firstly, change to <span class="has-inline-color has-vivid-cyan-blue-color">/tmp</span> directory as a good place to download temporary files :</p>



<pre class="wp-block-code"><code># cd /tmp</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="268" height="20" class="wp-image-452" src="https://serverstadium.com/wp-content/uploads/2020/09/001-3.png" alt="" /></figure>



<p class="wp-block-paragraph">Second, Use the <span class="has-inline-color has-vivid-cyan-blue-color">curl</span> command to download a link copied from the Tomcat website (as this article was written, the last stable version is <strong>Tomcat 9</strong>) :</p>



<pre class="wp-block-code"><code># curl -O https://downloads.apache.org/tomcat/tomcat-9/v9.0.38/bin/apache-tomcat-9.0.38.tar.gz</code></pre>



<figure class="wp-block-image size-large"><img decoding="async" class="wp-image-453" src="https://serverstadium.com/wp-content/uploads/2020/09/002-5.png" alt="" /></figure>



<p class="wp-block-paragraph">Finally, install Tomcat to the /opt/tomcat directory. In doing so, create the directory and extract the archive with these commands:</p>



<pre class="wp-block-code"><code># mkdir /opt/tomcat
# tar xzvf apache-tomcat-9.0.38.tar.gz -C /opt/tomcat --strip-components=1</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="751" height="36" class="wp-image-455" src="https://serverstadium.com/wp-content/uploads/2020/09/oo3.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/oo3.png 751w, https://serverstadium.com/wp-content/uploads/2020/09/oo3-300x14.png 300w" sizes="(max-width: 751px) 100vw, 751px" /></figure>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading"><strong>Step 5 &#8211; Permissions Setting</strong></h2>



<p class="wp-block-paragraph">Change the directory where we unpacked the Tomcat installation in the previous step (<span class="has-inline-color has-vivid-cyan-blue-color">/opt/tomcat</span>) with the command :</p>



<pre class="wp-block-code"><code># cd /opt/tomcat/</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="352" height="20" class="wp-image-456" src="https://serverstadium.com/wp-content/uploads/2020/09/001-4.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/001-4.png 352w, https://serverstadium.com/wp-content/uploads/2020/09/001-4-300x17.png 300w" sizes="(max-width: 352px) 100vw, 352px" /></figure>



<p class="wp-block-paragraph">Give the tomcat group ownership over the installation directory:</p>



<pre class="wp-block-code"><code># chgrp -R tomcat /opt/tomcat</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="476" height="20" class="wp-image-457" src="https://serverstadium.com/wp-content/uploads/2020/09/002-6.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/002-6.png 476w, https://serverstadium.com/wp-content/uploads/2020/09/002-6-300x13.png 300w" sizes="(max-width: 476px) 100vw, 476px" /></figure>



<p class="wp-block-paragraph">And then, give the tomcat group read access to the conf directory and all of its contents and execute access to the directory itself with the command :</p>



<pre class="wp-block-code"><code># chmod -R g+r conf
# chmod g+x conf</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="409" height="34" class="wp-image-458" src="https://serverstadium.com/wp-content/uploads/2020/09/003-7.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/003-7.png 409w, https://serverstadium.com/wp-content/uploads/2020/09/003-7-300x25.png 300w" sizes="(max-width: 409px) 100vw, 409px" /></figure>



<p class="wp-block-paragraph">Make the tomcat user owner of the webapps, work, temp, and logs directories with the command:</p>



<pre class="wp-block-code"><code># chown -R tomcat webapps/ work/ temp/ logs/</code></pre>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading"><strong>Step 6 &#8211; Create a systemd Service File</strong></h2>



<p class="wp-block-paragraph">To create systemd service file for Tomcat, first, locate the JAVA_HOME location with the command :</p>



<pre class="wp-block-code"><code># update-java-alternatives -l</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="569" height="36" class="wp-image-459" src="https://serverstadium.com/wp-content/uploads/2020/09/001-5.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/001-5.png 569w, https://serverstadium.com/wp-content/uploads/2020/09/001-5-300x19.png 300w" sizes="(max-width: 569px) 100vw, 569px" /></figure>



<p class="wp-block-paragraph">As we can see, the <span class="has-inline-color has-vivid-cyan-blue-color">JAVA_HOME location is at /usr/lib/jvm/java-1.11.0-openjdk-amd64</span> directory.</p>



<p class="wp-block-paragraph">Next, reload the systemd daemon so the systemd daemon can know the service file with the command :</p>



<pre class="wp-block-code"><code># systemctl daemon-reload</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="456" height="19" class="wp-image-474" src="https://serverstadium.com/wp-content/uploads/2020/09/004-2.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/004-2.png 456w, https://serverstadium.com/wp-content/uploads/2020/09/004-2-300x13.png 300w" sizes="(max-width: 456px) 100vw, 456px" /></figure>



<p class="wp-block-paragraph">After that, start the Tomcat service by typing the command :</p>



<pre class="wp-block-code"><code># systemctl start tomcat</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="444" height="16" class="wp-image-475" src="https://serverstadium.com/wp-content/uploads/2020/09/005-1.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/005-1.png 444w, https://serverstadium.com/wp-content/uploads/2020/09/005-1-300x11.png 300w" sizes="(max-width: 444px) 100vw, 444px" /></figure>



<p class="wp-block-paragraph">Make sure the service is running by typing the command :</p>



<pre class="wp-block-code"><code># systemctl status tomcat</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="636" height="76" class="wp-image-476" src="https://serverstadium.com/wp-content/uploads/2020/09/006-1.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/006-1.png 636w, https://serverstadium.com/wp-content/uploads/2020/09/006-1-300x36.png 300w" sizes="(max-width: 636px) 100vw, 636px" /></figure>



<p class="wp-block-paragraph">And then, make Tomcat service automatically start at boot by typing the command :</p>



<pre class="wp-block-code"><code># systemctl enable tomcat</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="449" height="21" class="wp-image-477" src="https://serverstadium.com/wp-content/uploads/2020/09/007-1.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/007-1.png 449w, https://serverstadium.com/wp-content/uploads/2020/09/007-1-300x14.png 300w" sizes="(max-width: 449px) 100vw, 449px" /></figure>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading"><strong>Step 7 &#8211; Configure Tomcat Web Management</strong></h2>



<p class="wp-block-paragraph">Tomcat uses a web management interface to configure its settings. To begin with, we need to allow <span class="has-inline-color has-vivid-cyan-blue-color">port 8080</span> (Tomcat default port) on the firewall rule by typing the command:</p>



<pre class="wp-block-code"><code># ufw allow 8080</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="385" height="51" class="wp-image-478" src="https://serverstadium.com/wp-content/uploads/2020/09/001-6.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/001-6.png 385w, https://serverstadium.com/wp-content/uploads/2020/09/001-6-300x40.png 300w" sizes="(max-width: 385px) 100vw, 385px" /></figure>



<p class="wp-block-paragraph">And then, add <span class="has-inline-color has-vivid-cyan-blue-color">port 8080</span> to the Network Security Profile :</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="968" height="94" class="wp-image-480" src="https://serverstadium.com/wp-content/uploads/2020/09/002-8.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/002-8.png 968w, https://serverstadium.com/wp-content/uploads/2020/09/002-8-300x29.png 300w, https://serverstadium.com/wp-content/uploads/2020/09/002-8-768x75.png 768w" sizes="(max-width: 968px) 100vw, 968px" /></figure>



<p class="wp-block-paragraph">After that, add a user that can manage manager-gui and admin-gui by editing the file tomcat-users.xml.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="568" height="27" class="wp-image-481" src="https://serverstadium.com/wp-content/uploads/2020/09/003-8.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/003-8.png 568w, https://serverstadium.com/wp-content/uploads/2020/09/003-8-300x14.png 300w" sizes="(max-width: 568px) 100vw, 568px" /></figure>



<p class="wp-block-paragraph">Add the user and password you want with role manager-gui and admin-gui.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="587" height="78" class="wp-image-482" src="https://serverstadium.com/wp-content/uploads/2020/09/004-3.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/004-3.png 587w, https://serverstadium.com/wp-content/uploads/2020/09/004-3-300x40.png 300w" sizes="(max-width: 587px) 100vw, 587px" /></figure>



<p class="wp-block-paragraph">Afterward, edit the two files below:</p>



<pre class="wp-block-code"><code>1. /opt/tomcat/webapps/manager/META-INF/context.xml
2. /opt/tomcat/webapps/host-manager/META-INF/context.xml</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="671" height="30" class="wp-image-485" src="https://serverstadium.com/wp-content/uploads/2020/09/005-2.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/005-2.png 671w, https://serverstadium.com/wp-content/uploads/2020/09/005-2-300x13.png 300w" sizes="(max-width: 671px) 100vw, 671px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="708" height="27" class="wp-image-486" src="https://serverstadium.com/wp-content/uploads/2020/09/006-2.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/006-2.png 708w, https://serverstadium.com/wp-content/uploads/2020/09/006-2-300x11.png 300w" sizes="(max-width: 708px) 100vw, 708px" /></figure>



<p class="wp-block-paragraph">Then, disable the allow IP Address section to allow any IP Address access to the Tomcat server.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="475" height="49" class="wp-image-487" src="https://serverstadium.com/wp-content/uploads/2020/09/007-2.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/007-2.png 475w, https://serverstadium.com/wp-content/uploads/2020/09/007-2-300x31.png 300w" sizes="(max-width: 475px) 100vw, 475px" /></figure>



<p class="wp-block-paragraph">After editing those files, restart the Tomcat service by typing the command :</p>



<pre class="wp-block-code"><code># systemctl restart tomcat</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="458" height="21" class="wp-image-488" src="https://serverstadium.com/wp-content/uploads/2020/09/008-1.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/008-1.png 458w, https://serverstadium.com/wp-content/uploads/2020/09/008-1-300x14.png 300w" sizes="(max-width: 458px) 100vw, 458px" /></figure>



<p class="wp-block-paragraph">Finally, access the Tomcat server using these formats :</p>



<pre class="wp-block-code"><code>http://YOUR_SERVER_IP_ADDRESS:8080</code></pre>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" class="wp-image-492" src="https://serverstadium.com/wp-content/uploads/2020/09/image-57.png" alt="" width="834" height="327" srcset="https://serverstadium.com/wp-content/uploads/2020/09/image-57.png 1220w, https://serverstadium.com/wp-content/uploads/2020/09/image-57-300x118.png 300w, https://serverstadium.com/wp-content/uploads/2020/09/image-57-1024x402.png 1024w, https://serverstadium.com/wp-content/uploads/2020/09/image-57-768x302.png 768w" sizes="(max-width: 834px) 100vw, 834px" /></figure>



<p class="wp-block-paragraph">Accordingly, our Tomcat server is already accessible from the outside network. After that, try to access the Manager App mode and enter the user credential we set before.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="637" height="179" class="wp-image-496" src="https://serverstadium.com/wp-content/uploads/2020/09/010-3.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2020/09/010-3.png 637w, https://serverstadium.com/wp-content/uploads/2020/09/010-3-300x84.png 300w" sizes="(max-width: 637px) 100vw, 637px" /></figure>



<p class="wp-block-paragraph">If the user credential entered is correct, the Tomcat Web Application Manager will show up.</p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" class="wp-image-505" src="https://serverstadium.com/wp-content/uploads/2020/09/image-58.png" alt="" width="964" height="406" srcset="https://serverstadium.com/wp-content/uploads/2020/09/image-58.png 1901w, https://serverstadium.com/wp-content/uploads/2020/09/image-58-300x127.png 300w, https://serverstadium.com/wp-content/uploads/2020/09/image-58-1024x432.png 1024w, https://serverstadium.com/wp-content/uploads/2020/09/image-58-768x324.png 768w, https://serverstadium.com/wp-content/uploads/2020/09/image-58-1536x648.png 1536w" sizes="(max-width: 964px) 100vw, 964px" /></figure>



<p class="wp-block-paragraph">At last, your installation of Tomcat is complete. Additionally, you are now free to deploy your own Java web applications.</p>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading"><strong>Conclusion</strong></h2>



<p class="wp-block-paragraph">In conclusion, we have installed and configured Apache and Tomcat on the Ubuntu Virtual Machine ServerStadium environment to serve Java web applications.</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/installing-apache-and-tomcat-a-quick-way/">Installing Apache and Tomcat: A Quick Way</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
