티스토리 뷰

Install Tomcat8

---------------------------------------------------------------------------------------------------------------------

metan@metPC:~$ sudo apt-get install tomcat8
[sudo] password for jdkim:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  authbind ca-certificates-java default-jre-headless java-common
  libcommons-collections3-java libcommons-dbcp-java libcommons-pool-java libecj-java
  libtomcat8-java openjdk-8-jre-headless tomcat8-common
Suggested packages:
  default-jre libcommons-collections3-java-doc libcommons-dbcp-java-doc
  libgeronimo-jta-1.1-spec-java ecj ant libecj-java-gcj fonts-dejavu-extra
  fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei fonts-wqy-zenhei
  fonts-indic libtcnative-1 tomcat8-admin tomcat8-docs tomcat8-examples tomcat8-user
The following NEW packages will be installed:
  authbind ca-certificates-java default-jre-headless java-common
  libcommons-collections3-java libcommons-dbcp-java libcommons-pool-java libecj-java
  libtomcat8-java openjdk-8-jre-headless tomcat8 tomcat8-common
0 upgraded, 12 newly installed, 0 to remove and 4 not upgraded.
Need to get 34.3 MB of archives.
After this operation, 109 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://kr.archive.ubuntu.com/ubuntu xenial/main amd64 java-common all 0.56ubuntu2 [7,742 B]
Get:2 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 openjdk-8-jre-headless amd64 8u181-b13-1ubuntu0.16.04.1 [27.0 MB]
Get:3 http://kr.archive.ubuntu.com/ubuntu xenial/main amd64 default-jre-headless amd64 2:1.8-56ubuntu2 [4,380 B]
Get:4 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 ca-certificates-java all 20160321ubuntu1 [12.5 kB]
Get:5 http://kr.archive.ubuntu.com/ubuntu xenial/main amd64 libcommons-collections3-java all 3.2.2-1 [599 kB]
Get:6 http://kr.archive.ubuntu.com/ubuntu xenial/main amd64 libcommons-pool-java all 1.6-2 [105 kB]    
Get:7 http://kr.archive.ubuntu.com/ubuntu xenial/main amd64 libcommons-dbcp-java all 1.4-5ubuntu2 [148 kB]
Get:8 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libecj-java all 3.10.1-2ubuntu1 [1,642 kB]
Get:9 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtomcat8-java all 8.0.32-1ubuntu1.8 [4,658 kB]
Get:10 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 tomcat8-common all 8.0.32-1ubuntu1.8 [53.1 kB]
Get:11 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 tomcat8 all 8.0.32-1ubuntu1.8 [42.2 kB]
Get:12 http://kr.archive.ubuntu.com/ubuntu xenial/main amd64 authbind amd64 2.1.1+nmu1 [17.6 kB]       
Fetched 34.3 MB in 13s (2,564 kB/s)                                                                    
Preconfiguring packages ...
Selecting previously unselected package java-common.
(Reading database ... 180732 files and directories currently installed.)
Preparing to unpack .../java-common_0.56ubuntu2_all.deb ...
Unpacking java-common (0.56ubuntu2) ...
Selecting previously unselected package openjdk-8-jre-headless:amd64.
Preparing to unpack .../openjdk-8-jre-headless_8u181-b13-1ubuntu0.16.04.1_amd64.deb ...
Unpacking openjdk-8-jre-headless:amd64 (8u181-b13-1ubuntu0.16.04.1) ...
Selecting previously unselected package default-jre-headless.
Preparing to unpack .../default-jre-headless_2%3a1.8-56ubuntu2_amd64.deb ...
Unpacking default-jre-headless (2:1.8-56ubuntu2) ...
Selecting previously unselected package ca-certificates-java.
Preparing to unpack .../ca-certificates-java_20160321ubuntu1_all.deb ...
Unpacking ca-certificates-java (20160321ubuntu1) ...
Selecting previously unselected package libcommons-collections3-java.
Preparing to unpack .../libcommons-collections3-java_3.2.2-1_all.deb ...
Unpacking libcommons-collections3-java (3.2.2-1) ...
Selecting previously unselected package libcommons-pool-java.
Preparing to unpack .../libcommons-pool-java_1.6-2_all.deb ...
Unpacking libcommons-pool-java (1.6-2) ...
Selecting previously unselected package libcommons-dbcp-java.
Preparing to unpack .../libcommons-dbcp-java_1.4-5ubuntu2_all.deb ...
Unpacking libcommons-dbcp-java (1.4-5ubuntu2) ...
Selecting previously unselected package libecj-java.
Preparing to unpack .../libecj-java_3.10.1-2ubuntu1_all.deb ...
Unpacking libecj-java (3.10.1-2ubuntu1) ...
Selecting previously unselected package libtomcat8-java.
Preparing to unpack .../libtomcat8-java_8.0.32-1ubuntu1.8_all.deb ...
Unpacking libtomcat8-java (8.0.32-1ubuntu1.8) ...
Selecting previously unselected package tomcat8-common.
Preparing to unpack .../tomcat8-common_8.0.32-1ubuntu1.8_all.deb ...
Unpacking tomcat8-common (8.0.32-1ubuntu1.8) ...
Selecting previously unselected package tomcat8.
Preparing to unpack .../tomcat8_8.0.32-1ubuntu1.8_all.deb ...
Unpacking tomcat8 (8.0.32-1ubuntu1.8) ...
Selecting previously unselected package authbind.
Preparing to unpack .../authbind_2.1.1+nmu1_amd64.deb ...
Unpacking authbind (2.1.1+nmu1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for ca-certificates (20170717~16.04.1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Processing triggers for systemd (229-4ubuntu21.6) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up java-common (0.56ubuntu2) ...
Setting up libcommons-collections3-java (3.2.2-1) ...
Setting up libcommons-pool-java (1.6-2) ...
Setting up libcommons-dbcp-java (1.4-5ubuntu2) ...
Setting up libecj-java (3.10.1-2ubuntu1) ...
Setting up libtomcat8-java (8.0.32-1ubuntu1.8) ...
Setting up authbind (2.1.1+nmu1) ...
Setting up openjdk-8-jre-headless:amd64 (8u181-b13-1ubuntu0.16.04.1) ...
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java to provide /usr/bin/java (java) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/jjs to provide /usr/bin/jjs (jjs) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/orbd to provide /usr/bin/orbd (orbd) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/servertool to provide /usr/bin/servertool (servertool) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/tnameserv to provide /usr/bin/tnameserv (tnameserv) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode
Setting up default-jre-headless (2:1.8-56ubuntu2) ...
Setting up tomcat8-common (8.0.32-1ubuntu1.8) ...
Setting up tomcat8 (8.0.32-1ubuntu1.8) ...

Creating config file /etc/default/tomcat8 with new version
Adding system user `tomcat8' (UID 122) ...
Adding new user `tomcat8' (UID 122) with group `tomcat8' ...
Not creating home directory `/usr/share/tomcat8'.

Creating config file /etc/logrotate.d/tomcat8 with new version
Setting up ca-certificates-java (20160321ubuntu1) ...
Adding debian:Certinomis_-_Autorité_Racine.pem
Adding debian:Amazon_Root_CA_2.pem
Adding debian:GeoTrust_Primary_Certification_Authority.pem
Adding debian:TUBITAK_Kamu_SM_SSL_Kok_Sertifikasi_-_Surum_1.pem
Adding debian:Entrust.net_Premium_2048_Secure_Server_CA.pem
Adding debian:Security_Communication_RootCA2.pem
Adding debian:USERTrust_ECC_Certification_Authority.pem
Adding debian:GeoTrust_Primary_Certification_Authority_-_G2.pem
Adding debian:TURKTRUST_Certificate_Services_Provider_Root_2007.pem
Adding debian:Global_Chambersign_Root_-_2008.pem
Adding debian:DST_ACES_CA_X6.pem
Adding debian:USERTrust_RSA_Certification_Authority.pem
Adding debian:Certum_Root_CA.pem
Adding debian:AffirmTrust_Premium.pem
Adding debian:IdenTrust_Commercial_Root_CA_1.pem
Adding debian:certSIGN_ROOT_CA.pem
Adding debian:Go_Daddy_Root_Certificate_Authority_-_G2.pem
Adding debian:Comodo_Trusted_Services_root.pem
Adding debian:COMODO_Certification_Authority.pem
Adding debian:IdenTrust_Public_Sector_Root_CA_1.pem
Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2011.pem
Adding debian:GeoTrust_Universal_CA.pem
Adding debian:Starfield_Root_Certificate_Authority_-_G2.pem
Adding debian:DigiCert_Global_Root_G3.pem
Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2015.pem
Adding debian:COMODO_RSA_Certification_Authority.pem
Adding debian:D-TRUST_Root_Class_3_CA_2_EV_2009.pem
Adding debian:Secure_Global_CA.pem
Adding debian:CNNIC_ROOT.pem
Adding debian:AddTrust_Qualified_Certificates_Root.pem
Adding debian:NetLock_Arany_=Class_Gold=_Főtanúsítvány.pem
Adding debian:T-TeleSec_GlobalRoot_Class_2.pem
Adding debian:ssl-cert-snakeoil.pem
Adding debian:Chambers_of_Commerce_Root_-_2008.pem
Adding debian:DigiCert_Assured_ID_Root_G2.pem
Adding debian:QuoVadis_Root_CA_3.pem
Adding debian:Staat_der_Nederlanden_Root_CA_-_G3.pem
Adding debian:OpenTrust_Root_CA_G3.pem
Adding debian:ISRG_Root_X1.pem
Adding debian:Certplus_Class_2_Primary_CA.pem
Adding debian:AddTrust_Public_Services_Root.pem
Adding debian:Sonera_Class_2_Root_CA.pem
Adding debian:Comodo_Secure_Services_root.pem
Adding debian:DigiCert_Global_Root_CA.pem
Adding debian:E-Tugra_Certification_Authority.pem
Adding debian:GeoTrust_Universal_CA_2.pem
Adding debian:QuoVadis_Root_CA_3_G3.pem
Adding debian:DST_Root_CA_X3.pem
Adding debian:Swisscom_Root_CA_2.pem
Adding debian:TÜRKTRUST_Elektronik_Sertifika_Hizmet_Sağlayıcısı_H5.pem
Adding debian:SwissSign_Gold_CA_-_G2.pem
Adding debian:GlobalSign_Root_CA_-_R3.pem
Adding debian:Hellenic_Academic_and_Research_Institutions_ECC_RootCA_2015.pem
Adding debian:Hongkong_Post_Root_CA_1.pem
Adding debian:SecureTrust_CA.pem
Adding debian:EE_Certification_Centre_Root_CA.pem
Adding debian:GlobalSign_ECC_Root_CA_-_R5.pem
Adding debian:D-TRUST_Root_Class_3_CA_2_2009.pem
Adding debian:Security_Communication_EV_RootCA1.pem
Adding debian:OISTE_WISeKey_Global_Root_GB_CA.pem
Adding debian:Izenpe.com.pem
Adding debian:GlobalSign_Root_CA_-_R2.pem
Adding debian:QuoVadis_Root_CA_2_G3.pem
Adding debian:Buypass_Class_3_Root_CA.pem
Adding debian:DigiCert_Trusted_Root_G4.pem
Adding debian:TWCA_Global_Root_CA.pem
Adding debian:QuoVadis_Root_CA_2.pem
Adding debian:GeoTrust_Primary_Certification_Authority_-_G3.pem
Adding debian:Amazon_Root_CA_1.pem
Adding debian:Amazon_Root_CA_3.pem
Adding debian:AC_RAIZ_FNMT-RCM.pem
Adding debian:SecureSign_RootCA11.pem
Adding debian:Microsec_e-Szigno_Root_CA_2009.pem
Adding debian:AffirmTrust_Networking.pem
Adding debian:TÜBİTAK_UEKAE_Kök_Sertifika_Hizmet_Sağlayıcısı_-_Sürüm_3.pem
Adding debian:Staat_der_Nederlanden_EV_Root_CA.pem
Adding debian:Staat_der_Nederlanden_Root_CA_-_G2.pem
Adding debian:AddTrust_Low-Value_Services_Root.pem
Adding debian:Certum_Trusted_Network_CA.pem
Adding debian:XRamp_Global_CA_Root.pem
Adding debian:UTN_USERFirst_Hardware_Root_CA.pem
Adding debian:Entrust_Root_Certification_Authority_-_G2.pem
Adding debian:Network_Solutions_Certificate_Authority.pem
Adding debian:CA_Disig_Root_R1.pem
Adding debian:AffirmTrust_Premium_ECC.pem
Adding debian:SwissSign_Silver_CA_-_G2.pem
Adding debian:OISTE_WISeKey_Global_Root_GA_CA.pem
Adding debian:Camerfirma_Global_Chambersign_Root.pem
Adding debian:TeliaSonera_Root_CA_v1.pem
Adding debian:OpenTrust_Root_CA_G2.pem
Adding debian:Certplus_Root_CA_G2.pem
Adding debian:GeoTrust_Global_CA_2.pem
Adding debian:DigiCert_Global_Root_G2.pem
Adding debian:CFCA_EV_ROOT.pem
Adding debian:SZAFIR_ROOT_CA2.pem
Adding debian:Go_Daddy_Class_2_CA.pem
Adding debian:Deutsche_Telekom_Root_CA_2.pem
Adding debian:ACCVRAIZ1.pem
Adding debian:Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem
Adding debian:ACEDICOM_Root.pem
Adding debian:Certum_Trusted_Network_CA_2.pem
Adding debian:Starfield_Services_Root_Certificate_Authority_-_G2.pem
Adding debian:VeriSign_Class_3_Public_Primary_Certification_Authority_-_G4.pem
Adding debian:Camerfirma_Chambers_of_Commerce_Root.pem
Adding debian:thawte_Primary_Root_CA_-_G2.pem
Adding debian:QuoVadis_Root_CA_1_G3.pem
Adding debian:Entrust_Root_Certification_Authority_-_EC1.pem
Adding debian:Baltimore_CyberTrust_Root.pem
Adding debian:thawte_Primary_Root_CA_-_G3.pem
Adding debian:AffirmTrust_Commercial.pem
Adding debian:Cybertrust_Global_Root.pem
Adding debian:EC-ACC.pem
Adding debian:DigiCert_High_Assurance_EV_Root_CA.pem
Adding debian:TWCA_Root_Certification_Authority.pem
Adding debian:Buypass_Class_2_Root_CA.pem
Adding debian:LuxTrust_Global_Root_2.pem
Adding debian:Verisign_Class_3_Public_Primary_Certification_Authority_-_G3.pem
Adding debian:COMODO_ECC_Certification_Authority.pem
Adding debian:AddTrust_External_Root.pem
Adding debian:Security_Communication_Root_CA.pem
Adding debian:Actalis_Authentication_Root_CA.pem
Adding debian:Comodo_AAA_Services_root.pem
Adding debian:Entrust_Root_Certification_Authority.pem
Adding debian:DigiCert_Assured_ID_Root_G3.pem
Adding debian:Swisscom_Root_CA_1.pem
Adding debian:DigiCert_Assured_ID_Root_CA.pem
Adding debian:Starfield_Class_2_CA.pem
Adding debian:Swisscom_Root_EV_CA_2.pem
Adding debian:Trustis_FPS_Root_CA.pem
Adding debian:GeoTrust_Global_CA.pem
Adding debian:Taiwan_GRCA.pem
Adding debian:Amazon_Root_CA_4.pem
Adding debian:VeriSign_Universal_Root_Certification_Authority.pem
Adding debian:Certplus_Root_CA_G1.pem
Adding debian:GlobalSign_ECC_Root_CA_-_R4.pem
Adding debian:Certigna.pem
Adding debian:Atos_TrustedRoot_2011.pem
Adding debian:OpenTrust_Root_CA_G1.pem
Adding debian:VeriSign_Class_3_Public_Primary_Certification_Authority_-_G5.pem
Adding debian:ePKI_Root_Certification_Authority.pem
Adding debian:thawte_Primary_Root_CA.pem
Adding debian:PSCProcert.pem
Adding debian:GlobalSign_Root_CA.pem
Adding debian:T-TeleSec_GlobalRoot_Class_3.pem
Adding debian:QuoVadis_Root_CA.pem
Adding debian:CA_Disig_Root_R2.pem
Adding debian:Certinomis_-_Root_CA.pem
Adding debian:China_Internet_Network_Information_Center_EV_Certificates_Root.pem
Adding debian:Visa_eCommerce_Root.pem
done.
Processing triggers for systemd (229-4ubuntu21.6) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for ca-certificates (20170717~16.04.1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...

done.
done.
metan@metPC:~$ 


Check tomcat8 path

---------------------------------------------------------------------------------------------------------------------

metan@metPC:~$ whereis tomcat8
tomcat8: /etc/tomcat8 /usr/share/tomcat8

'SW development > Ubuntu setup' 카테고리의 다른 글

Install ssh on ubuntu  (0) 2018.11.16
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2025/01   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함