Problem in part 4 of Apache Tomcat server lab


whenever I try to run startup.sh, it gives me this error, how should I resolve this?

Hello @Aditya-Pande,
Try to copy a link of a tar file from the core binary distribution section: https://dlcdn.apache.org/tomcat/tomcat-8/v8.5.79/src/

install the wget package, if it’s not available on a server.

sudo yum install -y wget

If it’s already available then download the package:

wget <copied-link>

Extract it tar file,

tar xvf apache-tomcat-8.5.63.tar.gz

Under the apache-tomcat-8.5.63/bin directory, you will see startup.sh file. Execute it.

./startup.sh


Thanks for your support
I seem to have installed the server, but now I’m getting this error:

Hello @Aditya-Pande,
Try this sudo ./startup.sh

I tried it, see the second last command that I ran.

Kindly follow the steps in the attached gif
tomcat