question

FrankLaRosa-1126 avatar image
0 Votes"
FrankLaRosa-1126 asked ·

Install Tomcat via yum? (centos)

Hi, I'm somewhat new to Azure but have a lot of experience with AWS. I set up a Linux VM using centos. I chose this figuring it would be similar to Amazon Linux. I logged in and installed a variety of applications that I need using the 'yum' command, but I cannot install Apache Tomcat. With Amazon Linux it's a simple matter of typing 'yum install tomcat8'. How is it done here? Thanks, Frank

azure-virtual-machines
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

learn2skills avatar image
0 Votes"
learn2skills answered ·

Hi @FrankLaRosa-1126

Thank you for posting in Q & A

Refer to this link it may help you.
Install Apache Tomcat On Your Azure Linux Redhat VM

Please don’t forget to Accept the answer and up-vote wherever the information provided helps you, this can be beneficial to other community members.


· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for the reply. Unfortunately, these steps no longer work, because tomcat is no longer available from the 'yum' package installer.

0 Votes 0 ·
TravisCragg-MSFT avatar image
0 Votes"
TravisCragg-MSFT answered ·

From what I can gather, Tomcat is not available on default yum repositories. You will either need to add a repository with Tomcat available (I could not easily find one), or use wget to download the tomcat .tar file. From what I was able to find, most people use wget. You can easily find how to articles of installing tomcat on CentOS, like this one.


·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.