[LINUX] tomcat memo

install

Reference URL

https://www.codeflow.site/ja/article/how-to-install-apache-tomcat-7-on-centos-7-via-yu

CMD

[root@server01 10:55:42 ~]# yum install tomcat
Loaded plugin:langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
dvd                                                                                                                               | 4.3 kB  00:00:00
Resolving dependencies
-->Performing transaction confirmation.
--->Package tomcat.noarch 0:7.0.76-6.install el7
-->I'm dealing with dependencies: tomcat-lib = 7.0.76-6.el7 package: tomcat-7.0.76-6.el7.noarch
-->I'm dealing with dependencies: java >= 1:1.6.0 packages: tomcat-7.0.76-6.el7.noarch
-->I'm dealing with dependencies: apache-commons-collections package: tomcat-7.0.76-6.el7.noarch
-->I'm dealing with dependencies: apache-commons-daemon package: tomcat-7.0.76-6.el7.noarch
-->I'm dealing with dependencies: apache-commons-dbcp package: tomcat-7.0.76-6.el7.noarch
-->I'm dealing with dependencies: apache-commons-logging package: tomcat-7.0.76-6.el7.noarch
-->I'm dealing with dependencies: apache-commons-pool package: tomcat-7.0.76-6.el7.noarch
-->Performing transaction confirmation.
--->Package apache-commons-collections.noarch 0:3.2.1-22.el7_Install 2
-->I'm dealing with dependencies: jpackage-utils package: apache-commons-collections-3.2.1-22.el7_2.noarch
--->Package apache-commons-daemon.x86_64 0:1.0.13-7.install el7
--->Package apache-commons-dbcp.noarch 0:1.4-17.install el7
-->I'm dealing with dependencies: mvn(org.apache.geronimo.specs:geronimo-jta_1.1_spec)Package: apache-commons-dbcp-1.4-17.el7.noarch
--->Package apache-commons-logging.noarch 0:1.1.2-7.install el7
-->I'm dealing with dependencies: mvn(avalon-framework:avalon-framework-api)Package: apache-commons-logging-1.1.2-7.el7.noarch
-->I'm dealing with dependencies: mvn(log4j:log4j)Package: apache-commons-logging-1.1.2-7.el7.noarch
-->I'm dealing with dependencies: mvn(logkit:logkit)Package: apache-commons-logging-1.1.2-7.el7.noarch
--->Package apache-commons-pool.noarch 0:1.6-9.install el7
--->Package java-1.8.0-openjdk.x86_64 1:1.8.0.161-2.b14.install el7
-->I'm dealing with dependencies: java-1.8.0-openjdk-headless(x86-64) = 1:1.8.0.161-2.b14.el7 package: 1:java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64
-->I'm dealing with dependencies: fontconfig(x86-64)Package: 1:java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64
-->I'm dealing with dependencies: libjava.so(SUNWprivate_1.1)(64bit)Package: 1:java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64
-->I'm dealing with dependencies: libjli.so(SUNWprivate_1.1)(64bit)Package: 1:java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64
-->I'm dealing with dependencies: libjvm.so(SUNWprivate_1.1)(64bit)Package: 1:java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64
-->I'm dealing with dependencies: xorg-x11-fonts-Type1 package: 1:java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64
-->I'm dealing with dependencies: libXcomposite.so.1()(64bit)Package: 1:java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64
-->I'm dealing with dependencies: libXext.so.6()(64bit)Package: 1:java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64
-->I'm dealing with dependencies: libXi.so.6()(64bit)Package: 1:java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64
-->I'm dealing with dependencies: libXrender.so.1()(64bit)Package: 1:java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64
-->I'm dealing with dependencies: libXtst.so.6()(64bit)Package: 1:java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64
-->I'm dealing with dependencies: libawt.so()(64bit)Package: 1:java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64
-->I'm dealing with dependencies: libgif.so.4()(64bit)Package: 1:java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64
-->I'm dealing with dependencies: libjava.so()(64bit)Package: 1:java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64
-->I'm dealing with dependencies: libjli.so()(64bit)Package: 1:java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64
-->I'm dealing with dependencies: libjvm.so()(64bit)Package: 1:java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64
--->Package tomcat-lib.noarch 0:7.0.76-6.install el7
-->I'm dealing with dependencies: tomcat-el-2.2-api = 7.0.76-6.el7 package: tomcat-lib-7.0.76-6.el7.noarch
-->I'm dealing with dependencies: tomcat-jsp-2.2-api = 7.0.76-6.el7 package: tomcat-lib-7.0.76-6.el7.noarch
-->I'm dealing with dependencies: tomcat-servlet-3.0-api = 7.0.76-6.el7 package: tomcat-lib-7.0.76-6.el7.noarch
-->I'm dealing with dependencies: ecj >= 1:4.2.1 package: tomcat-lib-7.0.76-6.el7.noarch
-->Performing transaction confirmation.
--->Package avalon-framework.noarch 0:4.3-10.install el7
-->I'm dealing with dependencies: xalan-j2 package: avalon-framework-4.3-10.el7.noarch
--->Package avalon-logkit.noarch 0:2.1-14.install el7
-->I'm dealing with dependencies:jms package: avalon-logkit-2.1-14.el7.noarch
--->Package ecj.x86_64 1:4.5.2-3.install el7
--->Package fontconfig.x86_64 0:2.10.95-11.install el7
-->I'm dealing with dependencies: font(:lang=en)Package: fontconfig-2.10.95-11.el7.x86_64
-->I'm dealing with dependencies: fontpackages-filesystem package: fontconfig-2.10.95-11.el7.x86_64
--->Package geronimo-jta.noarch 0:1.1.1-17.install el7
--->Package giflib.x86_64 0:4.1.6-9.install el7
-->I'm dealing with dependencies: libICE.so.6()(64bit)Package: giflib-4.1.6-9.el7.x86_64
-->I'm dealing with dependencies: libSM.so.6()(64bit)Package: giflib-4.1.6-9.el7.x86_64
--->Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.161-2.b14.install el7
-->I'm dealing with dependencies: copy-jdk-configs >= 2.2 packages: 1:java-1.8.0-openjdk-headless-1.8.0.161-2.b14.el7.x86_64
-->I'm dealing with dependencies: tzdata-java >=2015d package: 1:java-1.8.0-openjdk-headless-1.8.0.161-2.b14.el7.x86_64
-->I'm dealing with dependencies: lksctp-tools(x86-64)Package: 1:java-1.8.0-openjdk-headless-1.8.0.161-2.b14.el7.x86_64
--->Packages javapackages-tools.noarch 0:3.4.1-11.install el7
-->I'm dealing with dependencies: python-javapackages = 3.4.1-11.el7 package: javapackages-tools-3.4.1-11.el7.noarch
--->Package libXcomposite.x86_64 0:0.4.4-4.1.install el7
--->Package libXext.x86_64 0:1.3.3-3.install el7
--->Package libXi.x86_64 0:1.7.9-1.install el7
--->Package libXrender.x86_64 0:0.9.10-1.install el7
--->Package libXtst.x86_64 0:1.2.3-1.install el7
--->Package log4j.noarch 0:1.2.17-16.el7_Install 4
-->I'm dealing with dependencies: mvn(javax.mail:mail)Package: log4j-1.2.17-16.el7_4.noarch
--->Package tomcat-el-2.2-api.noarch 0:7.0.76-6.install el7
--->Package tomcat-jsp-2.2-api.noarch 0:7.0.76-6.install el7
--->Package tomcat-servlet-3.0-api.noarch 0:7.0.76-6.install el7
--->Package xorg-x11-fonts-Type1.noarch 0:7.5-9.install el7
-->I'm dealing with dependencies:mkfontdir package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
-->I'm dealing with dependencies:mkfontdir package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
-->I'm dealing with dependencies:ttmkfdir package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
-->I'm dealing with dependencies:ttmkfdir package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
-->Performing transaction confirmation.
--->Package copy-jdk-configs.noarch 0:3.3-2.install el7
--->Packages fontpackages-filesystem.noarch 0:1.44-8.install el7
--->Package geronimo-jms.noarch 0:1.1.1-19.install el7
--->Package javamail.noarch 0:1.4.6-8.install el7
--->Package libICE.x86_64 0:1.0.9-9.install el7
--->Package libSM.x86_64 0:1.2.2-2.install el7
--->Package lksctp-tools.x86_64 0:1.0.17-2.install el7
--->Package python-javapackages.noarch 0:3.4.1-11.install el7
--->Package ttmkfdir.x86_64 0:3.0.9-42.install el7
--->Package tzdata-java.noarch 0:2018c-1.install el7
--->Package xalan-j2.noarch 0:2.7.1-23.install el7
-->I'm dealing with dependencies: osgi(org.apache.xerces)Package: xalan-j2-2.7.1-23.el7.noarch
-->I'm dealing with dependencies: xerces-j2 package: xalan-j2-2.7.1-23.el7.noarch
--->Package xorg-x11-font-utils.x86_64 1:7.5-20.install el7
-->I'm dealing with dependencies: libXfont.so.1()(64bit)Package: 1:xorg-x11-font-utils-7.5-20.el7.x86_64
-->I'm dealing with dependencies: libfontenc.so.1()(64bit)Package: 1:xorg-x11-font-utils-7.5-20.el7.x86_64
--->Package zvbi-fonts.noarch 0:0.2.35-1.install el7
-->Performing transaction confirmation.
--->Package libXfont.x86_64 0:1.5.2-1.install el7
--->Package libfontenc.x86_64 0:1.1.3-3.install el7
--->Package xerces-j2.noarch 0:2.11.0-17.el7_Install 0
-->I'm dealing with dependencies: xml-commons-apis >= 1.4.01 package: xerces-j2-2.11.0-17.el7_0.noarch
-->I'm dealing with dependencies: xml-commons-resolver >= 1.2 packages: xerces-j2-2.11.0-17.el7_0.noarch
-->I'm dealing with dependencies: osgi(javax.xml)Package: xerces-j2-2.11.0-17.el7_0.noarch
-->I'm dealing with dependencies: osgi(org.apache.xml.resolver)Package: xerces-j2-2.11.0-17.el7_0.noarch
-->Performing transaction confirmation.
--->Package xml-commons-apis.noarch 0:1.4.01-16.install el7
--->Package xml-commons-resolver.noarch 0:1.2-15.install el7
-->Dependency resolution finished.

Resolved the dependency

=========================================================================================================================================================
Package architecture version repository capacity
=========================================================================================================================================================
During installation:
 tomcat                                           noarch                      7.0.76-6.el7                               dvd                        91 k
Dependency related installation:
 apache-commons-collections                       noarch                      3.2.1-22.el7_2                             dvd                       509 k
 apache-commons-daemon                            x86_64                      1.0.13-7.el7                               dvd                        54 k
 apache-commons-dbcp                              noarch                      1.4-17.el7                                 dvd                       167 k
 apache-commons-logging                           noarch                      1.1.2-7.el7                                dvd                        78 k
 apache-commons-pool                              noarch                      1.6-9.el7                                  dvd                       113 k
 avalon-framework                                 noarch                      4.3-10.el7                                 dvd                        87 k
 avalon-logkit                                    noarch                      2.1-14.el7                                 dvd                        87 k
 copy-jdk-configs                                 noarch                      3.3-2.el7                                  dvd                        21 k
 ecj                                              x86_64                      1:4.5.2-3.el7                              dvd                       1.9 M
 fontconfig                                       x86_64                      2.10.95-11.el7                             dvd                       229 k
 fontpackages-filesystem                          noarch                      1.44-8.el7                                 dvd                       9.9 k
 geronimo-jms                                     noarch                      1.1.1-19.el7                               dvd                        31 k
 geronimo-jta                                     noarch                      1.1.1-17.el7                               dvd                        20 k
 giflib                                           x86_64                      4.1.6-9.el7                                dvd                        40 k
 java-1.8.0-openjdk                               x86_64                      1:1.8.0.161-2.b14.el7                      dvd                       244 k
 java-1.8.0-openjdk-headless                      x86_64                      1:1.8.0.161-2.b14.el7                      dvd                        32 M
 javamail                                         noarch                      1.4.6-8.el7                                dvd                       758 k
 javapackages-tools                               noarch                      3.4.1-11.el7                               dvd                        73 k
 libICE                                           x86_64                      1.0.9-9.el7                                dvd                        66 k
 libSM                                            x86_64                      1.2.2-2.el7                                dvd                        39 k
 libXcomposite                                    x86_64                      0.4.4-4.1.el7                              dvd                        22 k
 libXext                                          x86_64                      1.3.3-3.el7                                dvd                        39 k
 libXfont                                         x86_64                      1.5.2-1.el7                                dvd                       152 k
 libXi                                            x86_64                      1.7.9-1.el7                                dvd                        40 k
 libXrender                                       x86_64                      0.9.10-1.el7                               dvd                        26 k
 libXtst                                          x86_64                      1.2.3-1.el7                                dvd                        20 k
 libfontenc                                       x86_64                      1.1.3-3.el7                                dvd                        31 k
 lksctp-tools                                     x86_64                      1.0.17-2.el7                               dvd                        88 k
 log4j                                            noarch                      1.2.17-16.el7_4                            dvd                       444 k
 python-javapackages                              noarch                      3.4.1-11.el7                               dvd                        31 k
 tomcat-el-2.2-api                                noarch                      7.0.76-6.el7                               dvd                        80 k
 tomcat-jsp-2.2-api                               noarch                      7.0.76-6.el7                               dvd                        94 k
 tomcat-lib                                       noarch                      7.0.76-6.el7                               dvd                       3.9 M
 tomcat-servlet-3.0-api                           noarch                      7.0.76-6.el7                               dvd                       211 k
 ttmkfdir                                         x86_64                      3.0.9-42.el7                               dvd                        48 k
 tzdata-java                                      noarch                      2018c-1.el7                                dvd                       183 k
 xalan-j2                                         noarch                      2.7.1-23.el7                               dvd                       1.9 M
 xerces-j2                                        noarch                      2.11.0-17.el7_0                            dvd                       1.1 M
 xml-commons-apis                                 noarch                      1.4.01-16.el7                              dvd                       227 k
 xml-commons-resolver                             noarch                      1.2-15.el7                                 dvd                       108 k
 xorg-x11-font-utils                              x86_64                      1:7.5-20.el7                               dvd                        87 k
 xorg-x11-fonts-Type1                             noarch                      7.5-9.el7                                  dvd                       521 k
 zvbi-fonts                                       noarch                      0.2.35-1.el7                               epel                      116 k

Transaction summary
=========================================================================================================================================================
Installation 1 package(+43 dependency packages)

Total capacity: 46 M
Total download capacity: 45 M
Installation capacity: 122 M
Is this ok [y/d/N]: y
Downloading packages:
---------------------------------------------------------------------------------------------------------------------------------------------------------
50 MB in total/s |  45 MB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
During installation: libXext-1.3.3-3.el7.x86_64                                                                                              1/44
During installation: libXi-1.7.9-1.el7.x86_64                                                                                                2/44
During installation: libfontenc-1.1.3-3.el7.x86_64                                                                                           3/44
During installation: libICE-1.0.9-9.el7.x86_64                                                                                               4/44
During installation: libSM-1.2.2-2.el7.x86_64                                                                                                5/44
During installation: giflib-4.1.6-9.el7.x86_64                                                                                               6/44
During installation: libXfont-1.5.2-1.el7.x86_64                                                                                             7/44
During installation: 1:xorg-x11-font-utils-7.5-20.el7.x86_64                                                                                 8/44
During installation: libXtst-1.2.3-1.el7.x86_64                                                                                              9/44
During installation: copy-jdk-configs-3.3-2.el7.noarch                                                                                      10/44
During installation: libXrender-0.9.10-1.el7.x86_64                                                                                         11/44
During installation: lksctp-tools-1.0.17-2.el7.x86_64                                                                                       12/44
During installation: libXcomposite-0.4.4-4.1.el7.x86_64                                                                                     13/44
During installation: tzdata-java-2018c-1.el7.noarch                                                                                         14/44
During installation: ttmkfdir-3.0.9-42.el7.x86_64                                                                                           15/44
During installation: fontpackages-filesystem-1.44-8.el7.noarch                                                                              16/44
During installation: fontconfig-2.10.95-11.el7.x86_64                                                                                       17/44
During installation: zvbi-fonts-0.2.35-1.el7.noarch                                                                                         18/44
During installation: xorg-x11-fonts-Type1-7.5-9.el7.noarch                                                                                  19/44
During installation: python-javapackages-3.4.1-11.el7.noarch                                                                                20/44
During installation: javapackages-tools-3.4.1-11.el7.noarch                                                                                 21/44
During installation: tomcat-servlet-3.0-api-7.0.76-6.el7.noarch                                                                             22/44
During installation: tomcat-jsp-2.2-api-7.0.76-6.el7.noarch                                                                                 23/44
During installation: tomcat-el-2.2-api-7.0.76-6.el7.noarch                                                                                  24/44
During installation: 1:java-1.8.0-openjdk-headless-1.8.0.161-2.b14.el7.x86_64                                                               25/44
During installation: 1:java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64                                                                        26/44
During installation: apache-commons-pool-1.6-9.el7.noarch                                                                                   27/44
During installation: xml-commons-apis-1.4.01-16.el7.noarch                                                                                  28/44
During installation: geronimo-jms-1.1.1-19.el7.noarch                                                                                       29/44
During installation: apache-commons-collections-3.2.1-22.el7_2.noarch                                                                       30/44
During installation: xml-commons-resolver-1.2-15.el7.noarch                                                                                 31/44
During installation: xalan-j2-2.7.1-23.el7.noarch                                                                                           32/44
During installation: xerces-j2-2.11.0-17.el7_0.noarch                                                                                       33/44
During installation: javamail-1.4.6-8.el7.noarch                                                                                            34/44
During installation: log4j-1.2.17-16.el7_4.noarch                                                                                           35/44
During installation: avalon-logkit-2.1-14.el7.noarch                                                                                        36/44
During installation: avalon-framework-4.3-10.el7.noarch                                                                                     37/44
During installation: apache-commons-logging-1.1.2-7.el7.noarch                                                                              38/44
During installation: 1:ecj-4.5.2-3.el7.x86_64                                                                                               39/44
During installation: apache-commons-daemon-1.0.13-7.el7.x86_64                                                                              40/44
During installation: geronimo-jta-1.1.1-17.el7.noarch                                                                                       41/44
During installation: apache-commons-dbcp-1.4-17.el7.noarch                                                                                  42/44
During installation: tomcat-lib-7.0.76-6.el7.noarch                                                                                         43/44
During installation: tomcat-7.0.76-6.el7.noarch                                                                                             44/44
During verification: libXext-1.3.3-3.el7.x86_64                                                                                              1/44
During verification: libXi-1.7.9-1.el7.x86_64                                                                                                2/44
During verification: python-javapackages-3.4.1-11.el7.noarch                                                                                 3/44
During verification: libICE-1.0.9-9.el7.x86_64                                                                                               4/44
During verification: giflib-4.1.6-9.el7.x86_64                                                                                               5/44
During verification: xerces-j2-2.11.0-17.el7_0.noarch                                                                                        6/44
During verification: avalon-logkit-2.1-14.el7.noarch                                                                                         7/44
During verification: 1:java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64                                                                         8/44
During verification: libXfont-1.5.2-1.el7.x86_64                                                                                             9/44
During verification: javamail-1.4.6-8.el7.noarch                                                                                            10/44
During verification: tomcat-el-2.2-api-7.0.76-6.el7.noarch                                                                                  11/44
During verification: xml-commons-resolver-1.2-15.el7.noarch                                                                                 12/44
During verification: fontpackages-filesystem-1.44-8.el7.noarch                                                                              13/44
During verification: ttmkfdir-3.0.9-42.el7.x86_64                                                                                           14/44
During verification: xml-commons-apis-1.4.01-16.el7.noarch                                                                                  15/44
During verification: log4j-1.2.17-16.el7_4.noarch                                                                                           16/44
During verification: tzdata-java-2018c-1.el7.noarch                                                                                         17/44
During verification: avalon-framework-4.3-10.el7.noarch                                                                                     18/44
During verification: tomcat-servlet-3.0-api-7.0.76-6.el7.noarch                                                                             19/44
During verification: tomcat-jsp-2.2-api-7.0.76-6.el7.noarch                                                                                 20/44
During verification: 1:ecj-4.5.2-3.el7.x86_64                                                                                               21/44
During verification: libXcomposite-0.4.4-4.1.el7.x86_64                                                                                     22/44
During verification: libXtst-1.2.3-1.el7.x86_64                                                                                             23/44
During verification: tomcat-lib-7.0.76-6.el7.noarch                                                                                         24/44
During verification: lksctp-tools-1.0.17-2.el7.x86_64                                                                                       25/44
During verification: libXrender-0.9.10-1.el7.x86_64                                                                                         26/44
During verification: geronimo-jms-1.1.1-19.el7.noarch                                                                                       27/44
During verification: zvbi-fonts-0.2.35-1.el7.noarch                                                                                         28/44
During verification: xorg-x11-fonts-Type1-7.5-9.el7.noarch                                                                                  29/44
During verification: apache-commons-dbcp-1.4-17.el7.noarch                                                                                  30/44
During verification: apache-commons-daemon-1.0.13-7.el7.x86_64                                                                              31/44
During verification: xalan-j2-2.7.1-23.el7.noarch                                                                                           32/44
During verification: javapackages-tools-3.4.1-11.el7.noarch                                                                                 33/44
During verification: apache-commons-collections-3.2.1-22.el7_2.noarch                                                                       34/44
During verification: tomcat-7.0.76-6.el7.noarch                                                                                             35/44
During verification: apache-commons-logging-1.1.2-7.el7.noarch                                                                              36/44
During verification: libSM-1.2.2-2.el7.x86_64                                                                                               37/44
During verification: 1:java-1.8.0-openjdk-headless-1.8.0.161-2.b14.el7.x86_64                                                               38/44
During verification: fontconfig-2.10.95-11.el7.x86_64                                                                                       39/44
During verification: copy-jdk-configs-3.3-2.el7.noarch                                                                                      40/44
During verification: apache-commons-pool-1.6-9.el7.noarch                                                                                   41/44
During verification: geronimo-jta-1.1.1-17.el7.noarch                                                                                       42/44
During verification: libfontenc-1.1.3-3.el7.x86_64                                                                                          43/44
During verification: 1:xorg-x11-font-utils-7.5-20.el7.x86_64                                                                                44/44

Installation:
  tomcat.noarch 0:7.0.76-6.el7

I have installed dependency related:
  apache-commons-collections.noarch 0:3.2.1-22.el7_2        apache-commons-daemon.x86_64 0:1.0.13-7.el7  apache-commons-dbcp.noarch 0:1.4-17.el7
  apache-commons-logging.noarch 0:1.1.2-7.el7               apache-commons-pool.noarch 0:1.6-9.el7       avalon-framework.noarch 0:4.3-10.el7
  avalon-logkit.noarch 0:2.1-14.el7                         copy-jdk-configs.noarch 0:3.3-2.el7          ecj.x86_64 1:4.5.2-3.el7
  fontconfig.x86_64 0:2.10.95-11.el7                        fontpackages-filesystem.noarch 0:1.44-8.el7  geronimo-jms.noarch 0:1.1.1-19.el7
  geronimo-jta.noarch 0:1.1.1-17.el7                        giflib.x86_64 0:4.1.6-9.el7                  java-1.8.0-openjdk.x86_64 1:1.8.0.161-2.b14.el7
  java-1.8.0-openjdk-headless.x86_64 1:1.8.0.161-2.b14.el7  javamail.noarch 0:1.4.6-8.el7                javapackages-tools.noarch 0:3.4.1-11.el7
  libICE.x86_64 0:1.0.9-9.el7                               libSM.x86_64 0:1.2.2-2.el7                   libXcomposite.x86_64 0:0.4.4-4.1.el7
  libXext.x86_64 0:1.3.3-3.el7                              libXfont.x86_64 0:1.5.2-1.el7                libXi.x86_64 0:1.7.9-1.el7
  libXrender.x86_64 0:0.9.10-1.el7                          libXtst.x86_64 0:1.2.3-1.el7                 libfontenc.x86_64 0:1.1.3-3.el7
  lksctp-tools.x86_64 0:1.0.17-2.el7                        log4j.noarch 0:1.2.17-16.el7_4               python-javapackages.noarch 0:3.4.1-11.el7
  tomcat-el-2.2-api.noarch 0:7.0.76-6.el7                   tomcat-jsp-2.2-api.noarch 0:7.0.76-6.el7     tomcat-lib.noarch 0:7.0.76-6.el7
  tomcat-servlet-3.0-api.noarch 0:7.0.76-6.el7              ttmkfdir.x86_64 0:3.0.9-42.el7               tzdata-java.noarch 0:2018c-1.el7
  xalan-j2.noarch 0:2.7.1-23.el7                            xerces-j2.noarch 0:2.11.0-17.el7_0           xml-commons-apis.noarch 0:1.4.01-16.el7
  xml-commons-resolver.noarch 0:1.2-15.el7                  xorg-x11-font-utils.x86_64 1:7.5-20.el7      xorg-x11-fonts-Type1.noarch 0:7.5-9.el7
  zvbi-fonts.noarch 0:0.2.35-1.el7

Has completed!
[root@server01 10:56:23 ~]#
[root@server01 11:09:22 ~]# yum install tomcat-webapps tomcat-admin-webapps
Loaded plugin:langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Resolving dependencies
-->Performing transaction confirmation.
--->Package tomcat-admin-webapps.noarch 0:7.0.76-6.install el7
--->Package tomcat-webapps.noarch 0:7.0.76-6.install el7
-->I'm dealing with dependencies: jakarta-taglibs-standard >= 1.1 package: tomcat-webapps-7.0.76-6.el7.noarch
-->Performing transaction confirmation.
--->Package jakarta-taglibs-standard.noarch 0:1.1.2-14.el7_Install 1
-->Dependency resolution finished.

Resolved the dependency

================================================================================================================================
Package architecture version repository capacity
================================================================================================================================
During installation:
 tomcat-admin-webapps                      noarch                  7.0.76-6.el7                      dvd                   39 k
 tomcat-webapps                            noarch                  7.0.76-6.el7                      dvd                  340 k
Dependency related installation:
 jakarta-taglibs-standard                  noarch                  1.1.2-14.el7_1                    dvd                  303 k

Transaction summary
================================================================================================================================
Installation 2 package(+1 dependency package)

Total download capacity: 682 k
Installation capacity: 1.6 M
Is this ok [y/d/N]: y
Downloading packages:
--------------------------------------------------------------------------------------------------------------------------------
10 MB in total/s | 682 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
During installation: jakarta-taglibs-standard-1.1.2-14.el7_1.noarch                                                  1/3
During installation: tomcat-webapps-7.0.76-6.el7.noarch                                                              2/3
During installation: tomcat-admin-webapps-7.0.76-6.el7.noarch                                                        3/3
During verification: jakarta-taglibs-standard-1.1.2-14.el7_1.noarch                                                  1/3
During verification: tomcat-admin-webapps-7.0.76-6.el7.noarch                                                        2/3
During verification: tomcat-webapps-7.0.76-6.el7.noarch                                                              3/3

Installation:
  tomcat-admin-webapps.noarch 0:7.0.76-6.el7                        tomcat-webapps.noarch 0:7.0.76-6.el7

I have installed dependency related:
  jakarta-taglibs-standard.noarch 0:1.1.2-14.el7_1

Has completed!
[root@server01 11:09:31 ~]#

Apache / Tomcat cooperation

Reference URL

https://weblabo.oscasierra.net/tomcat-mod-proxy-ajp/ http://normalse.hatenablog.jp/entry/2015/03/13/200755

CMD

linux.command


[root@server01 22:54:02 httpd]# egrep "mod_proxy_wstunnel|mod_proxy_ajp.so" conf.modules.d/*
conf.modules.d/00-proxy.conf:LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
conf.modules.d/00-proxy.conf:LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
grep: conf.modules.d/org:Directory
[root@server01 22:54:05 httpd]#

httpd.conf


[root@server01 22:03:19 conf]# pwd
/etc/httpd/conf
[root@server01 22:03:19 conf]#
[root@server01 22:03:40 conf]# sdiff -s httpd.conf httpd.conf_org
:
:<snip>
:
#IncludeOptional conf.d/*.conf

# ADD
#Create New
ProxyRequests Off
<Proxy *>
    Require all granted
</Proxy>
#Destination server and directory
ProxyPass /examples/websocket/ ws://localhost:8080/examples/websocket/
ProxyPassReverse /examples/websocket/ ws://localhost:8080/examples/websocket/
ProxyPass / ajp://localhost:8009/
ProxyPassReverse / ajp://localhost:8009/
[root@server01 22:03:43 conf]#

Check URL:http://"IP Address":8080/examples/ URL:http://"IP Address"/examples/websocket/index.xhtml

OK if both sides can access

Recommended Posts

tomcat memo
gzip memo
Raspberry-pi memo
Pandas memo
HackerRank memo
Python memo
python memo
graphene memo
Flask memo
pyenv memo
Matplotlib memo
pytest memo
sed memo
Python memo
Install Memo
BeautifulSoup4 memo
networkx memo
python memo
command memo
Generator memo.
psycopg2 memo
Python memo
SSH memo
Command memo
Memo: rtl8812
pandas memo
Shell memo
Python memo
Pycharm memo
Python memo
AtCoder devotion memo (11/12)
[OpenCV] Personal memo
tensorflow-gpu introduction memo
LPIC201 learning memo
Jupyter Notebook memo
ALDA execution memo
python beginner memo (9.2-10)
youtube download memo
Linux x memo
Django Learning Memo
ARC # 016 Participation memo
Beautiful Soup memo
LPIC101 study memo
python beginner memo (9.1)
scp command memo
Flask Primer Memo
celery / kombu memo
who command memo
django tutorial memo
★ Memo ★ Python Iroha
Gender recognition memo
Image reading memo
[MEMO] [TERMINAL] Alacritty
3D rotation memo (1)
[Python] EDA memo
Python 3 operator memo
H2O.ai Introduction memo
lambda expression memo
[Memo] [terminal] xfce-terminal
RDKit usage memo
Jupyter Notebook memo