I follow the steps mainly from https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-8-on-ubuntu-14-04
Let me repeat the steps I took:
- I logged in as an ubuntu user
sudo apt-get install tomcat8sudo groupadd tomcatsudo useradd -s /bin/false -g tomcat -d /opt/tomcat tomcatcd ~wget http://apache.mirrors.ionfish.org/tomcat/tomcat-8/v8.0.24/bin/apache-tomcat-8.0.24.tar.gzsudo mkdir /opt/tomcatsudo tar xvf apache-tomcat-8*tar.gz -C /opt/tomcat --strip-components=1cd /opt/tomcatsudo chgrp -R tomcat confsudo chmod g+rwx confsudo chmod g+r conf/*sudo chown -R tomcat work/ temp/ logs/sudo update-alternatives --config java and select /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/javasudo nano /etc/init/tomcat.conf
and scored
description "Tomcat Server"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
respawn limit 10 5
setuid tomcat
setgid tomcat
env JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/jre
env CATALINA_HOME=/opt/tomcat
env JAVA_OPTS="-Djava.awt.headless=true -Djava.security.egd=file:/dev/./urandom"
env CATALINA_OPTS="-Xms512M -Xmx1024M -server -XX:+UseParallelGC"
exec $CATALINA_HOME/bin/catalina.sh run
post-stop script
rm -rf $CATALINA_HOME/temp/*
end script
sudo initctl reload-configurationsudo initctl start tomcat
that leads to
tomcat start/running, process 14674
But when I go to http: // [ip-address]: 8080 , nothing happens.
Please inform.
UPDATE
One comment below asked me to look at server.xml inside the root folder of the tomcat root.
I reproduced the following files:

Which proves the absence of such a file inside / opt / tomcat / bin
I also added some instructions from server.xml below, which is inside /opt/tomcat/conf
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
<Server port="8005" shutdown="SHUTDOWN">
source
share