Skip to content

nuvaga7855/package-management

 
 

Repository files navigation

Landmark Technologies, Ontario, Canada.

Contacts: +1437 215 2483
WebSite : http://mylandmarktech.com/

Apache Tomcat Installation And Setup In AWS EC2 Redhat Instnace.

Prerequisite
  • AWS Acccount.
  • Create Redhat EC2 T2.micro Instnace.
  • Create Security Group and open Tomcat ports or Required ports.
    • 8080 ..etc
  • Attach Security Group to EC2 Instance.
  • Install java openJDK 1.8+

Install Java JDK 1.8+ & Tomcat version 9.0.55

# install Java JDK 1.8+ as a pre-requisit for tomcat to run.
cd /opt 
sudo yum install git wget -y
sudo yum install java-1.8.0-openjdk-devel -y
# Download tomcat software and extract it.
sudo yum install wget unzip -y
sudo wget https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.55/bin/apache-tomcat-9.0.55.tar.gz
sudo tar -xvf apache-tomcat-9.0.55.tar.gz
sudo rm apache-tomcat-9.0.55.tar.gz
sudo mv apache-tomcat-9.0.55 tomcat9
sudo chmod 777 -R /opt/tomcat9
sudo sh /opt/tomcat9/bin/startup.sh
# create a soft link to start and stop tomcat
sudo ln -s /opt/tomcat9/bin/startup.sh /usr/bin/starttomcat
sudo ln -s /opt/tomcat9/bin/shutdown.sh /usr/bin/stoptomcat
starttomcat

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 65.6%
  • HCL 34.4%