1. Login Oracle Compute Cloud
2. change account of root
[opc@d50c3d ~]$ sudo su -
3. make temp directory and move to there
[root@d50c3d ~]# mkdir tomcat7
[root@d50c3d ~]# cd tomcat7/
4. get tomcat7 file
[root@d50c3d tomcat7]# wget http://apache.mirror.cdnetworks.com/tomcat/tomcat-7/v7.0.70/bin/apache-tomcat-7.0.70.tar.gz
--2016-06-30 21:57:00-- http://apache.mirror.cdnetworks.com/tomcat/tomcat-7/v7.0.70/src/apache-tomcat-7.0.70-src.tar.gz
Resolving apache.mirror.cdnetworks.com... 14.0.101.165
Connecting to apache.mirror.cdnetworks.com|14.0.101.165|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4661050 (4.4M) [application/x-gzip]
Saving to: “apache-tomcat-7.0.70-src.tar.gz”
100%[=============================================================>] 4,661,050 316K/s in 17s
2016-06-30 21:57:18 (265 KB/s) - “apache-tomcat-7.0.70-src.tar.gz” saved [4661050/4661050]
[root@d50c3d tomcat7]#
5. unzip and change directory name
[root@d50c3d tomcat7]# tar xvf apache-tomcat-7.0.70.tar.gz -C /usr/share/
[root@d50c3d tomcat7]# mv /usr/share/apache-tomcat-7.0.70 /usr/share/tomcat7
[root@d50c3d bin]# cd /usr/share/tomcat7/bin
[root@d50c3d bin]# ./startup.sh
Using CATALINA_BASE: /usr/share/tomcat7
Using CATALINA_HOME: /usr/share/tomcat7
Using CATALINA_TMPDIR: /usr/share/tomcat7/temp
Using JRE_HOME: /usr
Using CLASSPATH: /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar
Tomcat started.
[root@d50c3d bin]#
Oracle Traffic Director add listner (0) | 2016.07.14 |
---|---|
Securiy Setup after installing Tomcat on Oracle IaaS Cloud (0) | 2016.07.01 |
maven build 시 특정 파일을 추가. How to include xml with war, jar, ear. (0) | 2016.05.27 |
The location of domain of WebLogic in Java Cloud (0) | 2016.05.25 |
How to check service name of PDB in Oracle 12c (0) | 2016.05.18 |
댓글 영역