Sudo: /opt/apache-tomcat-8/bin/startup.sh: command not found

Please I can getting this error in starting the server, how do I go about it.

Hello @achebepeter94,
Kindly check the steps in the attached gif.
tomcat

Thanks,
KodeKloud Support

On following this exact step I was able to start the start.sh but connecting to the port just refuses to work.

I believe the fault was from the downloaded link. I went to the apache tomcat website to get the zip link and it worked just fine.

Here’s the link for anyone facing such issue.
https://dlcdn.apache.org/tomcat/tomcat-8/v8.5.79/bin/apache-tomcat-8.5.79.zip

Command to download it.

wget https://dlcdn.apache.org/tomcat/tomcat-8/v8.5.79/bin/apache-tomcat-8.5.79.zip --no-check-certificate

Great! Happy learning.