How to install Java 8 and tomcat 8 on CentOS 6 as service

Install Java 8:

Install Tomcat 8

Lets add Tomcat as a service


Add tomcat to startup

Lets enable tomcat user:

Start tomcat

Go to the browser:


If you want to run tomcat on port 80:


Gabriel Ajabahian
Tech lead / Senior Software Engineer at RIPE NCC
As a Software Engineer at RIPE NCC, I’m passionate about creating dynamic applications that is used around the globe.

I have extensive software engineering experience, recently I focus on Scala/Java and JavaScript. On the other hand, I have experience with C# and .net framework. I focus on integrating applications that are built against different frameworks and can run on different platforms.

Scalability, efficiency and performance are key topics for any software, that’s why I keep track of the newest technologies, I never underestimate the power of the cloud, that’s why I do believe in using this power with “edge applications” to expand software’s and solutions to a new level.

Being a software engineer who understand the business as well as my team, looking at things from different perspectives. Being open and honest and investing in relationship makes a big difference.

Specialties: Software development, Scrum/Agile, Process and Problem management.

PS: Please don’t contact me or connect with me if your recruiter, I’m not interested in any job.