Contacts: +1437 215 2483
WebSite : http://mylandmarktech.com/
Email: mylandmarktech@gmail.com
- 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+ 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.59/bin/apache-tomcat-9.0.59.tar.gz
sudo tar -xvf apache-tomcat-9.0.59.tar.gz
sudo rm apache-tomcat-9.0.59.tar.gz
sudo mv apache-tomcat-9.0.59 tomcat9
sudo chmod 777 -R /opt/tomcat9
sudo
# create a soft link to start and stop tomcat
sudo ln -s /opt/tomcat9/bin/startup.sh /usr/bin/starttomcat2
sudo ln -s /opt/tomcat9/bin/shutdown.sh /usr/bin/stoptomcat
sudo chmod 777 -R /opt/tomcat9
starttomcat