Webserver Labs - Apache Tomcat - 01

Trying to install tomcat in the /opt directory… I cd’d into the correct directory and used “sudo curl” with the correct url to download the appropriate tar.gz file but when using the following command I can’t seem to unzip the file… also tried gunzip but that didn’t work either… not sure what I’m doing wrong.

thor@host01 /opt$ sudo tar -xvf apache-tomcat-8.5.53.tar.gz
tar: This does not look like a tar archive

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

1 Like

Downloaded the official v8 Tomcat release from the official website which is slightly different from above. I’m able to unpack the tar file but still can’t get through the lab

Tried to install via yum but can’t find the package

Also tried installing wget via yum and then using the command:

wget https://downloads.apache.org/tomcat/tomcat-8/v8.5.53/bin/apache-tomcat-8.5.53.tar.gz

…but that didn’t work either

Same problem occured with me, researching now

1 Like

So I found the problem:
image

Apache deleted 8.5.53 version from ftp. and there is no valid file when you trying to download. ( i do not know, emulator showing there is a file as downloading but it is damaged file or something else)

I checked ftp, there is 8.5.54 version, I downloaded it and renamed folder name from 8.5.53 to 8.5.54 and passed this step :slight_smile:
Mr Mumshad, please update the Lab for newer versions.

1 Like

Same issue and when we visit the website the page is not available on apache tomcat i guess they have removed the older version.

Hi Dears,

We are investigating on it and will keep you updated as soon as possible .

We are sorry for any inconvenience.

I was also stuck but it worked out for me, i used v8.5.56
Thanks everyone

Guys this is the latest link to download tomcat:
https://downloads.apache.org/tomcat/tomcat-8/v8.5.66/bin/apache-tomcat-8.5.66.tar.gz
Run below commands to pass this lab:

cd /opt/
sudo curl -O https://downloads.apache.org/tomcat/tomcat-8/v8.5.66/bin/apache-tomcat-8.5.66.tar.gz
sudo mv apache-tomcat-8.5.66 apache-tomcat-8.5.54

1 Like

Hello @multiverse @mmumshad ,
I have tried this now…it doesn’t work for me. It should work but i don’t know why it doesn’t working

Hi Rachit, I have specifically entered how to do it. If you still don’t know how to do it kindly provide me anydesk id and I will let you know how to do it.

Hello,
Yeah TeamViewer will will be great option…I have some doubts that will get cleared.
I will send id soon…little bit busy now.

Will connect definitely.

Thanks

Hello multiverse,
Can we connect today.
I am from India(will connect at 9PM)
If possible please revert back.

Thanks

The sudo tar -xvf apache-tomcat-8.5.69.tar.gz command doesn’t work.

The error is
tar: This does not look like a tar archive

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

How to solve this?

Hello @Don-Wilson-Obido,
Kindly check the steps in the attached gif.

tomcat