You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: How To Install Tomcat on Oracle Linux

Applies to:

Oracle Cloud Infrastructure –

Linux OS - Version Oracle Linux 7.0 and later

Goal

Steps for installing Tomcat and Apache on Oracle Linux

Solution

For Oracle Cloud Infrastructure Instance, add the ports 80, 443, and 8080 in the security list (Ingress Rules)

See steps to create a security list Using the Console:

Install Tomcat and Apache

# yum install tomcat
# yum install httpd

Start and enable Tomcat and Apache service

# systemctl start tomcat
# systemctl enable tomcat
# systemctl start httpd
# systemctl enable httpd

Check status of Tomcat and Apache service

# systemctl status tomcat
# systemctl status httpd

Update the iptables to add ports 80, 8080, and 443 as pass through ports.Using firewalld:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!