Steps:
[root@ip-172-31-31-8 webapps]# history
1 mkdir /middleware
2 cd /middleware/
3 wget https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.65/bin/apache-tomcat-9.0.65.tar.gz
4 ls -l
5 tar -xvf apache-tomcat-9.0.65.tar.gz
6 yum install java
7 ls -l
8 cd apache-tomcat-9.0.65/
9 ls -l
10 cd bin/
11 ./startup.sh
12 ps -aef|grep tomcat
13 cd ..
14 ls -l
15 pwd
16 ls -l
17 cd webapps/
18 ls -l
19 wget https://github.com/AKSarav/SampleWebApp/raw/master/dist/SampleWebApp.war
20 ls -l
No comments:
Post a Comment