Skip to content

Commit 9e9221d

Browse files
authored
Tomcat installation
1 parent fdba710 commit 9e9221d

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

README.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,33 @@
1-
# package-management
1+
# **<span style="color:green">Landmark Technologies, Ontario, Canada.</span>**
2+
### **<span style="color:green">Contacts: +1437 215 2483<br> WebSite : <http://mylandmarktech.com/></span>**
3+
### **Email: [email protected]**
4+
5+
6+
7+
## Apache Tomcat Installation And Setup In AWS EC2 Redhat Instnace.
8+
##### Prerequisite
9+
+ AWS Acccount.
10+
+ Create Redhat EC2 T2.micro Instnace.
11+
+ Create Security Group and open Tomcat ports or Required ports.
12+
+ 8080 ..etc
13+
+ Attach Security Group to EC2 Instance.
14+
15+
### Install Java JDK 1.8+ & Tomcat version 9.0.55
16+
17+
``` sh
18+
# install Java JDK 1.8+ as a pre-requisit for tomcat to run.
19+
cd /opt
20+
sudo yum install git wget -y
21+
22+
sudo yum install wget unzip -y
23+
sudo wget https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.55/bin/apache-tomcat-9.0.55.tar.gz
24+
sudo tar -xvf apache-tomcat-9.0.55.tar.gz
25+
sudo rm apache-tomcat-9.0.55.tar.gz
26+
sudo mv apache-tomcat-9.0.55 tomcat9
27+
sudo chmod 777 -R /opt/tomcat9
28+
sudo sh /opt/tomcat9/bin/startup.sh
29+
# create a soft link to start and stop tomcat
30+
sudo ln -s /opt/tomcat9/bin/startup.sh /usr/bin/starttomcat
31+
sudo ln -s /opt/tomcat9/bin/shutdown.sh /usr/bin/stoptomcat
32+
starttomcat
33+
```

0 commit comments

Comments
 (0)