Instalação do Elasticsearch no Ubuntu 18.04.2 com Plesk Onyx 17.8.11
- Los Traductores
- 0 Respostas
- 10.105 vezes lido
Instalação do Java OpenJDK 11 JRE e Elasticsearch com configuração systemd
Referência: https://www.elastic.co/guide/e…eference/current/deb.html
Bash
root@server:~# java -version
Command 'java' not found, but can be installed with:
apt install default-jre
apt install openjdk-11-jre-headless
apt install openjdk-8-jre-headless
root@server:~# apt install openjdk-11-jre-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
ca-certificates-java java-common libnspr4 libnss3 libpcsclite1
Suggested packages:
default-jre pcscd libnss-mdns fonts-dejavu-extra fonts-ipafont-gothic
fonts-ipafont-mincho fonts-wqy-microhei | fonts-wqy-zenhei fonts-indic
The following NEW packages will be installed:
ca-certificates-java java-common libnspr4 libnss3 libpcsclite1
openjdk-11-jre-headless
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 40.8 MB of archives.
After this operation, 188 MB of additional disk space will be used.
N: Ignoring file 'plesk.list.ai_back' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
Do you want to continue? [Y/n] n
Abort.
root@server:~# aptitude install openjdk-11-jre-headless
The following NEW packages will be installed:
ca-certificates-java{a} java-common{a} libnspr4{a} libnss3{a}
libpcsclite1{a} openjdk-11-jre-headless
0 packages upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 40.8 MB of archives. After unpacking 188 MB will be used.
Do you want to continue? [Y/n/?] Y
Get: 1 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 java-common all 0.63ubuntu1~02 [7,032 B]
Get: 2 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libnspr4 amd64 2:4.18-1ubuntu1 [112 kB]
Get: 3 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates/main amd64 libnss3 amd64 2:3.35-2ubuntu2.2 [1,134 kB]
Get: 4 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libpcsclite1 amd64 1.8.23-1 [21.3 kB]
Get: 5 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates/main amd64 openjdk-11-jre-headless amd64 10.0.2+13-1ubuntu0.18.04.4 [39.5 MB]
Get: 6 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates/main amd64 ca-certificates-java all 20180516ubuntu1~18.04.1 [12.2kB]
Fetched 40.8 MB in 2s (20.3 MB/s)
N: Ignoring file 'plesk.list.ai_back' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
Selecting previously unselected package java-common.
(Reading database ... 188651 files and directories currently installed.)
Preparing to unpack .../0-java-common_0.63ubuntu1~02_all.deb ...
Unpacking java-common (0.63ubuntu1~02) ...
Selecting previously unselected package libnspr4:amd64.
Preparing to unpack .../1-libnspr4_2%3a4.18-1ubuntu1_amd64.deb ...
Unpacking libnspr4:amd64 (2:4.18-1ubuntu1) ...
Selecting previously unselected package libnss3:amd64.
Preparing to unpack .../2-libnss3_2%3a3.35-2ubuntu2.2_amd64.deb ...
Unpacking libnss3:amd64 (2:3.35-2ubuntu2.2) ...
Selecting previously unselected package libpcsclite1:amd64.
Preparing to unpack .../3-libpcsclite1_1.8.23-1_amd64.deb ...
Unpacking libpcsclite1:amd64 (1.8.23-1) ...
Selecting previously unselected package openjdk-11-jre-headless:amd64.
Preparing to unpack .../4-openjdk-11-jre-headless_10.0.2+13-1ubuntu0.18.04.4_amd64.deb ...
Unpacking openjdk-11-jre-headless:amd64 (10.0.2+13-1ubuntu0.18.04.4) ...
Selecting previously unselected package ca-certificates-java.
Preparing to unpack .../5-ca-certificates-java_20180516ubuntu1~18.04.1_all.deb ...
Unpacking ca-certificates-java (20180516ubuntu1~18.04.1) ...
Setting up libpcsclite1:amd64 (1.8.23-1) ...
Setting up java-common (0.63ubuntu1~02) ...
Setting up libnspr4:amd64 (2:4.18-1ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for ca-certificates (20180409) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Setting up libnss3:amd64 (2:3.35-2ubuntu2.2) ...
Setting up openjdk-11-jre-headless:amd64 (10.0.2+13-1ubuntu0.18.04.4) ...
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/java to provide /usr/bin/java (java) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jjs to provide /usr/bin/jjs (jjs) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/orbd to provide /usr/bin/orbd (orbd) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/servertool to provide /usr/bin/servertool (servertool) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/tnameserv to provide /usr/bin/tnameserv (tnameserv) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode
Setting up ca-certificates-java (20180516ubuntu1~18.04.1) ...
head: cannot open '/etc/ssl/certs/java/cacerts' for reading: No such file or directory
Adding debian:Deutsche_Telekom_Root_CA_2.pem
Adding debian:GeoTrust_Primary_Certification_Authority_-_G2.pem
Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2011.pem
Adding debian:CA_Disig_Root_R2.pem
Adding debian:T-TeleSec_GlobalRoot_Class_2.pem
Adding debian:Entrust.net_Premium_2048_Secure_Server_CA.pem
Adding debian:TUBITAK_Kamu_SM_SSL_Kok_Sertifikasi_-_Surum_1.pem
Adding debian:Go_Daddy_Root_Certificate_Authority_-_G2.pem
Adding debian:Hongkong_Post_Root_CA_1.pem
Adding debian:Certum_Trusted_Network_CA.pem
Adding debian:Buypass_Class_3_Root_CA.pem
Adding debian:SecureSign_RootCA11.pem
Adding debian:GlobalSign_ECC_Root_CA_-_R4.pem
Adding debian:Amazon_Root_CA_2.pem
Adding debian:Starfield_Class_2_CA.pem
Adding debian:COMODO_Certification_Authority.pem
Adding debian:GeoTrust_Universal_CA_2.pem
Adding debian:Entrust_Root_Certification_Authority_-_EC1.pem
Adding debian:Certplus_Root_CA_G1.pem
Adding debian:QuoVadis_Root_CA.pem
Adding debian:TeliaSonera_Root_CA_v1.pem
Adding debian:GeoTrust_Global_CA.pem
Adding debian:COMODO_RSA_Certification_Authority.pem
Adding debian:Amazon_Root_CA_1.pem
Adding debian:SwissSign_Gold_CA_-_G2.pem
Adding debian:SSL.com_EV_Root_Certification_Authority_RSA_R2.pem
Adding debian:Global_Chambersign_Root_-_2008.pem
Adding debian:DigiCert_Global_Root_G2.pem
Adding debian:E-Tugra_Certification_Authority.pem
Adding debian:Chambers_of_Commerce_Root_-_2008.pem
Adding debian:Izenpe.com.pem
Adding debian:Entrust_Root_Certification_Authority.pem
Adding debian:GlobalSign_Root_CA_-_R3.pem
Adding debian:D-TRUST_Root_Class_3_CA_2_EV_2009.pem
Adding debian:VeriSign_Class_3_Public_Primary_Certification_Authority_-_G4.pem
Adding debian:EC-ACC.pem
Adding debian:Sonera_Class_2_Root_CA.pem
Adding debian:GlobalSign_Root_CA_-_R2.pem
Adding debian:Microsec_e-Szigno_Root_CA_2009.pem
Adding debian:COMODO_ECC_Certification_Authority.pem
Adding debian:GlobalSign_ECC_Root_CA_-_R5.pem
Adding debian:IdenTrust_Commercial_Root_CA_1.pem
Adding debian:Secure_Global_CA.pem
Adding debian:DigiCert_Assured_ID_Root_CA.pem
Adding debian:SwissSign_Silver_CA_-_G2.pem
Adding debian:DigiCert_Assured_ID_Root_G2.pem
Adding debian:Staat_der_Nederlanden_EV_Root_CA.pem
Adding debian:OpenTrust_Root_CA_G1.pem
Adding debian:Network_Solutions_Certificate_Authority.pem
Adding debian:VeriSign_Class_3_Public_Primary_Certification_Authority_-_G5.pem
Adding debian:QuoVadis_Root_CA_1_G3.pem
Adding debian:ePKI_Root_Certification_Authority.pem
Adding debian:Comodo_AAA_Services_root.pem
Adding debian:VeriSign_Universal_Root_Certification_Authority.pem
Adding debian:OISTE_WISeKey_Global_Root_GB_CA.pem
Adding debian:DST_Root_CA_X3.pem
Adding debian:TÜRKTRUST_Elektronik_Sertifika_Hizmet_Sağlayıcısı_H5.pem
Adding debian:QuoVadis_Root_CA_3.pem
Adding debian:Baltimore_CyberTrust_Root.pem
Adding debian:LuxTrust_Global_Root_2.pem
Adding debian:QuoVadis_Root_CA_2_G3.pem
Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2015.pem
Adding debian:USERTrust_RSA_Certification_Authority.pem
Adding debian:ACCVRAIZ1.pem
Adding debian:AC_RAIZ_FNMT-RCM.pem
Adding debian:QuoVadis_Root_CA_3_G3.pem
Adding debian:Staat_der_Nederlanden_Root_CA_-_G2.pem
Adding debian:thawte_Primary_Root_CA_-_G2.pem
Adding debian:SSL.com_EV_Root_Certification_Authority_ECC.pem
Adding debian:AffirmTrust_Premium_ECC.pem
Adding debian:USERTrust_ECC_Certification_Authority.pem
Adding debian:SSL.com_Root_Certification_Authority_RSA.pem
Adding debian:Certigna.pem
Adding debian:GeoTrust_Universal_CA.pem
Adding debian:QuoVadis_Root_CA_2.pem
Adding debian:OpenTrust_Root_CA_G2.pem
Adding debian:Trustis_FPS_Root_CA.pem
Adding debian:OpenTrust_Root_CA_G3.pem
Adding debian:SZAFIR_ROOT_CA2.pem
Adding debian:DigiCert_Trusted_Root_G4.pem
Adding debian:thawte_Primary_Root_CA_-_G3.pem
Adding debian:AddTrust_External_Root.pem
Adding debian:Security_Communication_Root_CA.pem
Adding debian:Certinomis_-_Root_CA.pem
Adding debian:Certplus_Root_CA_G2.pem
Adding debian:certSIGN_ROOT_CA.pem
Adding debian:TrustCor_RootCert_CA-2.pem
Adding debian:AffirmTrust_Commercial.pem
Adding debian:TrustCor_ECA-1.pem
Adding debian:GeoTrust_Primary_Certification_Authority_-_G3.pem
Adding debian:Taiwan_GRCA.pem
Adding debian:NetLock_Arany_=Class_Gold=_Főtanúsítvány.pem
Adding debian:Security_Communication_RootCA2.pem
Adding debian:SSL.com_Root_Certification_Authority_ECC.pem
Adding debian:OISTE_WISeKey_Global_Root_GA_CA.pem
Adding debian:DigiCert_Global_Root_CA.pem
Adding debian:TWCA_Global_Root_CA.pem
Adding debian:Actalis_Authentication_Root_CA.pem
Adding debian:Entrust_Root_Certification_Authority_-_G2.pem
Adding debian:Certum_Trusted_Network_CA_2.pem
Adding debian:Certplus_Class_2_Primary_CA.pem
Adding debian:ssl-cert-snakeoil.pem
Adding debian:EE_Certification_Centre_Root_CA.pem
Adding debian:TrustCor_RootCert_CA-1.pem
Adding debian:TWCA_Root_Certification_Authority.pem
Adding debian:IdenTrust_Public_Sector_Root_CA_1.pem
Adding debian:Buypass_Class_2_Root_CA.pem
Adding debian:AffirmTrust_Premium.pem
Adding debian:Staat_der_Nederlanden_Root_CA_-_G3.pem
Adding debian:Atos_TrustedRoot_2011.pem
Adding debian:Cybertrust_Global_Root.pem
Adding debian:Amazon_Root_CA_4.pem
Adding debian:Verisign_Class_3_Public_Primary_Certification_Authority_-_G3.pem
Adding debian:DigiCert_Assured_ID_Root_G3.pem
Adding debian:Amazon_Root_CA_3.pem
Adding debian:CFCA_EV_ROOT.pem
Adding debian:thawte_Primary_Root_CA.pem
Adding debian:ISRG_Root_X1.pem
Adding debian:Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem
Adding debian:DigiCert_Global_Root_G3.pem
Adding debian:D-TRUST_Root_Class_3_CA_2_2009.pem
Adding debian:Starfield_Root_Certificate_Authority_-_G2.pem
Adding debian:DigiCert_High_Assurance_EV_Root_CA.pem
Adding debian:AffirmTrust_Networking.pem
Adding debian:Starfield_Services_Root_Certificate_Authority_-_G2.pem
Adding debian:SecureTrust_CA.pem
Adding debian:GDCA_TrustAUTH_R5_ROOT.pem
Adding debian:XRamp_Global_CA_Root.pem
Adding debian:Go_Daddy_Class_2_CA.pem
Adding debian:Hellenic_Academic_and_Research_Institutions_ECC_RootCA_2015.pem
Adding debian:GlobalSign_Root_CA.pem
Adding debian:Visa_eCommerce_Root.pem
Adding debian:T-TeleSec_GlobalRoot_Class_3.pem
Adding debian:GeoTrust_Primary_Certification_Authority.pem
done.
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for ca-certificates (20180409) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
done.
root@server:~# wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
OK
root@server:~# echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-6.x.list
deb https://artifacts.elastic.co/packages/6.x/apt stable main
root@server:~# apt-get update && sudo apt-get install elasticsearch
Hit:1 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic InRelease
Hit:2 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates InRelease
Hit:3 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-backports InRelease
Hit:4 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-security InRelease
Hit:5 http://autoinstall.plesk.com/ubuntu/PSA_17.8.11 bionic InRelease
Hit:6 http://autoinstall.plesk.com/debian/SITEBUILDER_17.8.12 all InRelease
Hit:7 http://autoinstall.plesk.com/ubuntu/PMM_0.1.10 bionic InRelease
Hit:8 http://autoinstall.plesk.com/ubuntu/PHP70_17 bionic InRelease
Hit:9 http://autoinstall.plesk.com/ubuntu/PHP71_17 bionic InRelease
Hit:10 http://autoinstall.plesk.com/ubuntu/PHP72_17 bionic InRelease
Hit:11 http://autoinstall.plesk.com/ubuntu/PHP73_17 bionic InRelease
Hit:12 http://mirror.host.ag/mariadb/repo/10.2/ubuntu bionic InRelease
Ign:13 https://artifacts.elastic.co/packages/6.x/apt stable InRelease
Get:14 https://artifacts.elastic.co/packages/6.x/apt stable Release [5,116 B]
Get:15 https://artifacts.elastic.co/packages/6.x/apt stable Release.gpg [473 B]
Get:16 https://artifacts.elastic.co/packages/6.x/apt stable/main i386 Packages [38.3 kB]
Get:17 https://artifacts.elastic.co/packages/6.x/apt stable/main amd64 Packages [42.7 kB]
Fetched 86.6 kB in 1s (110 kB/s)
Reading package lists... Done
N: Ignoring file 'plesk.list.ai_back' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
elasticsearch
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 114 MB of archives.
After this operation, 168 MB of additional disk space will be used.
Get:1 https://artifacts.elastic.co/packages/6.x/apt stable/main amd64 elasticsearch all 6.6.2 [114 MB]
Fetched 114 MB in 2s (61.3 MB/s)
N: Ignoring file 'plesk.list.ai_back' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
Selecting previously unselected package elasticsearch.
(Reading database ... 189204 files and directories currently installed.)
Preparing to unpack .../elasticsearch_6.6.2_all.deb ...
/usr/bin/java
Creating elasticsearch group... OK
Creating elasticsearch user... OK
Unpacking elasticsearch (6.6.2) ...
Processing triggers for ureadahead (0.100.0-20) ...
ureadahead will be reprofiled on next reboot
Setting up elasticsearch (6.6.2) ...
Created elasticsearch keystore in /etc/elasticsearch
Processing triggers for systemd (237-3ubuntu10.15) ...
Processing triggers for ureadahead (0.100.0-20) ...
N: Ignoring file 'plesk.list.ai_back' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
root@server:~# /bin/systemctl daemon-reload
root@server:~# /bin/systemctl enable elasticsearch.service
Synchronizing state of elasticsearch.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable elasticsearch
Created symlink /etc/systemd/system/multi-user.target.wants/elasticsearch.service → /usr/lib/systemd/system/elasticsearch.service.
root@server:~# systemctl start elasticsearch.service
root@server:~# java -version
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)
root@server:~# openssl version -v
OpenSSL 1.1.0g 2 Nov 2017
root@server:~# java -version
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)
root@server:~# apt install default-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
adwaita-icon-theme at-spi2-core dconf-gsettings-backend dconf-service
default-jre-headless fonts-dejavu-extra glib-networking
glib-networking-common glib-networking-services gsettings-desktop-schemas
gtk-update-icon-cache humanity-icon-theme libasound2 libasound2-data
libatk-bridge2.0-0 libatk-wrapper-java libatk-wrapper-java-jni libatk1.0-0
libatk1.0-data libatspi2.0-0 libcairo-gobject2 libcolord2 libcroco3
libdconf1 libepoxy0 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-bin
libgdk-pixbuf2.0-common libgif7 libgtk-3-0 libgtk-3-bin libgtk-3-common
libjson-glib-1.0-0 libjson-glib-1.0-common libproxy1v5 librest-0.7-0
librsvg2-2 librsvg2-common libsoup-gnome2.4-1 libsoup2.4-1
libwayland-client0 libwayland-cursor0 libwayland-egl1 libxcursor1
libxkbcommon0 openjdk-11-jre ubuntu-mono
Suggested packages:
default-java-plugin libasound2-plugins alsa-utils colord gvfs librsvg2-bin
The following NEW packages will be installed:
adwaita-icon-theme at-spi2-core dconf-gsettings-backend dconf-service
default-jre default-jre-headless fonts-dejavu-extra glib-networking
glib-networking-common glib-networking-services gsettings-desktop-schemas
gtk-update-icon-cache humanity-icon-theme libasound2 libasound2-data
libatk-bridge2.0-0 libatk-wrapper-java libatk-wrapper-java-jni libatk1.0-0
libatk1.0-data libatspi2.0-0 libcairo-gobject2 libcolord2 libcroco3
libdconf1 libepoxy0 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-bin
libgdk-pixbuf2.0-common libgif7 libgtk-3-0 libgtk-3-bin libgtk-3-common
libjson-glib-1.0-0 libjson-glib-1.0-common libproxy1v5 librest-0.7-0
librsvg2-2 librsvg2-common libsoup-gnome2.4-1 libsoup2.4-1
libwayland-client0 libwayland-cursor0 libwayland-egl1 libxcursor1
libxkbcommon0 openjdk-11-jre ubuntu-mono
0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.7 MB of archives.
After this operation, 59.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libgdk-pixbuf2.0-common all 2.36.11-2 [4,536 B]
Get:2 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libgdk-pixbuf2.0-0 amd64 2.36.11-2 [165 kB]
Get:3 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates/main amd64 gtk-update-icon-cache amd64 3.22.30-1ubuntu2 [28.1 kB]
Get:4 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libcroco3 amd64 0.6.12-2 [81.3 kB]
Get:5 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 librsvg2-2 amd64 2.40.20-2 [98.6 kB]
Get:6 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 librsvg2-common amd64 2.40.20-2 [5,124 B]
Get:7 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 humanity-icon-theme all 0.6.15 [1,250 kB]
Get:8 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates/main amd64 ubuntu-mono all 16.10+18.04.20181005-0ubuntu1 [149 kB]
Get:9 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 adwaita-icon-theme all 3.28.0-1ubuntu1 [3,306 kB]
Get:10 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libatspi2.0-0 amd64 2.28.0-1 [59.6 kB]
Get:11 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 at-spi2-core amd64 2.28.0-1 [47.9 kB]
Get:12 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libdconf1 amd64 0.26.0-2ubuntu3 [33.1 kB]
Get:13 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 dconf-service amd64 0.26.0-2ubuntu3 [28.4 kB]
Get:14 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 dconf-gsettings-backend amd64 0.26.0-2ubuntu3 [20.0 kB]
Get:15 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 default-jre-headless amd64 2:1.10-63ubuntu1~02 [3,412 B]
Get:16 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates/main amd64 libgtk-3-common all 3.22.30-1ubuntu2 [228 kB]
Get:17 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libatk1.0-data all 2.28.1-1 [2,992 B]
Get:18 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libatk1.0-0 amd64 2.28.1-1 [43.9 kB]
Get:19 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libatk-bridge2.0-0 amd64 2.26.2-1 [57.3 kB]
Get:20 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates/main amd64 libcairo-gobject2 amd64 1.15.10-2ubuntu0.1 [17.1 kB]
Get:21 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libcolord2 amd64 1.3.3-2build1 [107 kB]
Get:22 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libepoxy0 amd64 1.4.3-1 [181 kB]
Get:23 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libjson-glib-1.0-common all 1.4.2-3 [3,464 B]
Get:24 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libjson-glib-1.0-0 amd64 1.4.2-3 [58.5 kB]
Get:25 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libproxy1v5 amd64 0.4.15-1 [49.5 kB]
Get:26 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 glib-networking-common all 2.56.0-1 [3,324 B]
Get:27 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 glib-networking-services amd64 2.56.0-1 [8,488 B]
Get:28 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 gsettings-desktop-schemas all 3.28.0-1ubuntu1 [27.8 kB]
Get:29 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 glib-networking amd64 2.56.0-1 [56.7 kB]
Get:30 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates/main amd64 libsoup2.4-1 amd64 2.62.1-1ubuntu0.1 [292 kB]
Get:31 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates/main amd64 libsoup-gnome2.4-1 amd64 2.62.1-1ubuntu0.1 [5,092 B]
Get:32 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 librest-0.7-0 amd64 0.8.0-2 [31.8 kB]
Get:33 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates/main amd64 libwayland-client0 amd64 1.16.0-1ubuntu1.1~18.04.1 [23.8 kB]
Get:34 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates/main amd64 libwayland-cursor0 amd64 1.16.0-1ubuntu1.1~18.04.1 [10.1 kB]
Get:35 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates/main amd64 libwayland-egl1 amd64 1.16.0-1ubuntu1.1~18.04.1 [5,648 B]
Get:36 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libxcursor1 amd64 1:1.1.15-1 [19.8 kB]
Get:37 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates/main amd64 libxkbcommon0 amd64 0.8.0-1ubuntu0.1 [97.9 kB]
Get:38 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates/main amd64 libgtk-3-0 amd64 3.22.30-1ubuntu2 [2,500 kB]
Get:39 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates/main amd64 libasound2-data all 1.1.3-5ubuntu0.2 [36.5 kB]
Get:40 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates/main amd64 libasound2 amd64 1.1.3-5ubuntu0.2 [359 kB]
Get:41 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libgif7 amd64 5.1.4-2 [30.6 kB]
Get:42 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates/main amd64 openjdk-11-jre amd64 10.0.2+13-1ubuntu0.18.04.4 [53.1 kB]
Get:43 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 default-jre amd64 2:1.10-63ubuntu1~02 [1,092 B]
Get:44 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 fonts-dejavu-extra all 2.37-1 [1,953 kB]
Get:45 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libatk-wrapper-java all 0.33.3-20ubuntu0.1 [34.7 kB]
Get:46 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libatk-wrapper-java-jni amd64 0.33.3-20ubuntu0.1 [28.3 kB]
Get:47 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libgdk-pixbuf2.0-bin amd64 2.36.11-2 [7,864 B]
Get:48 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates/main amd64 libgtk-3-bin amd64 3.22.30-1ubuntu2 [57.4 kB]
Fetched 11.7 MB in 2s (7,753 kB/s)
Extracting templates from packages: 100%
Selecting previously unselected package libgdk-pixbuf2.0-common.
(Reading database ... 189614 files and directories currently installed.)
Preparing to unpack .../00-libgdk-pixbuf2.0-common_2.36.11-2_all.deb ...
Unpacking libgdk-pixbuf2.0-common (2.36.11-2) ...
Selecting previously unselected package libgdk-pixbuf2.0-0:amd64.
Preparing to unpack .../01-libgdk-pixbuf2.0-0_2.36.11-2_amd64.deb ...
Unpacking libgdk-pixbuf2.0-0:amd64 (2.36.11-2) ...
Selecting previously unselected package gtk-update-icon-cache.
Preparing to unpack .../02-gtk-update-icon-cache_3.22.30-1ubuntu2_amd64.deb ...
No diversion 'diversion of /usr/sbin/update-icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin', none removed.
No diversion 'diversion of /usr/share/man/man8/update-icon-caches.8.gz to /usr/share/man/man8/update-icon-caches.gtk2.8.gz by libgtk-3-bin', none removed.
Unpacking gtk-update-icon-cache (3.22.30-1ubuntu2) ...
Selecting previously unselected package libcroco3:amd64.
Preparing to unpack .../03-libcroco3_0.6.12-2_amd64.deb ...
Unpacking libcroco3:amd64 (0.6.12-2) ...
Selecting previously unselected package librsvg2-2:amd64.
Preparing to unpack .../04-librsvg2-2_2.40.20-2_amd64.deb ...
Unpacking librsvg2-2:amd64 (2.40.20-2) ...
Selecting previously unselected package librsvg2-common:amd64.
Preparing to unpack .../05-librsvg2-common_2.40.20-2_amd64.deb ...
Unpacking librsvg2-common:amd64 (2.40.20-2) ...
Selecting previously unselected package humanity-icon-theme.
Preparing to unpack .../06-humanity-icon-theme_0.6.15_all.deb ...
Unpacking humanity-icon-theme (0.6.15) ...
Selecting previously unselected package ubuntu-mono.
Preparing to unpack .../07-ubuntu-mono_16.10+18.04.20181005-0ubuntu1_all.deb ...
Unpacking ubuntu-mono (16.10+18.04.20181005-0ubuntu1) ...
Selecting previously unselected package adwaita-icon-theme.
Preparing to unpack .../08-adwaita-icon-theme_3.28.0-1ubuntu1_all.deb ...
Unpacking adwaita-icon-theme (3.28.0-1ubuntu1) ...
Selecting previously unselected package libatspi2.0-0:amd64.
Preparing to unpack .../09-libatspi2.0-0_2.28.0-1_amd64.deb ...
Unpacking libatspi2.0-0:amd64 (2.28.0-1) ...
Selecting previously unselected package at-spi2-core.
Preparing to unpack .../10-at-spi2-core_2.28.0-1_amd64.deb ...
Unpacking at-spi2-core (2.28.0-1) ...
Selecting previously unselected package libdconf1:amd64.
Preparing to unpack .../11-libdconf1_0.26.0-2ubuntu3_amd64.deb ...
Unpacking libdconf1:amd64 (0.26.0-2ubuntu3) ...
Selecting previously unselected package dconf-service.
Preparing to unpack .../12-dconf-service_0.26.0-2ubuntu3_amd64.deb ...
Unpacking dconf-service (0.26.0-2ubuntu3) ...
Selecting previously unselected package dconf-gsettings-backend:amd64.
Preparing to unpack .../13-dconf-gsettings-backend_0.26.0-2ubuntu3_amd64.deb ...
Unpacking dconf-gsettings-backend:amd64 (0.26.0-2ubuntu3) ...
Selecting previously unselected package default-jre-headless.
Preparing to unpack .../14-default-jre-headless_2%3a1.10-63ubuntu1~02_amd64.deb ...
Unpacking default-jre-headless (2:1.10-63ubuntu1~02) ...
Selecting previously unselected package libgtk-3-common.
Preparing to unpack .../15-libgtk-3-common_3.22.30-1ubuntu2_all.deb ...
Unpacking libgtk-3-common (3.22.30-1ubuntu2) ...
Selecting previously unselected package libatk1.0-data.
Preparing to unpack .../16-libatk1.0-data_2.28.1-1_all.deb ...
Unpacking libatk1.0-data (2.28.1-1) ...
Selecting previously unselected package libatk1.0-0:amd64.
Preparing to unpack .../17-libatk1.0-0_2.28.1-1_amd64.deb ...
Unpacking libatk1.0-0:amd64 (2.28.1-1) ...
Selecting previously unselected package libatk-bridge2.0-0:amd64.
Preparing to unpack .../18-libatk-bridge2.0-0_2.26.2-1_amd64.deb ...
Unpacking libatk-bridge2.0-0:amd64 (2.26.2-1) ...
Selecting previously unselected package libcairo-gobject2:amd64.
Preparing to unpack .../19-libcairo-gobject2_1.15.10-2ubuntu0.1_amd64.deb ...
Unpacking libcairo-gobject2:amd64 (1.15.10-2ubuntu0.1) ...
Selecting previously unselected package libcolord2:amd64.
Preparing to unpack .../20-libcolord2_1.3.3-2build1_amd64.deb ...
Unpacking libcolord2:amd64 (1.3.3-2build1) ...
Selecting previously unselected package libepoxy0:amd64.
Preparing to unpack .../21-libepoxy0_1.4.3-1_amd64.deb ...
Unpacking libepoxy0:amd64 (1.4.3-1) ...
Selecting previously unselected package libjson-glib-1.0-common.
Preparing to unpack .../22-libjson-glib-1.0-common_1.4.2-3_all.deb ...
Unpacking libjson-glib-1.0-common (1.4.2-3) ...
Selecting previously unselected package libjson-glib-1.0-0:amd64.
Preparing to unpack .../23-libjson-glib-1.0-0_1.4.2-3_amd64.deb ...
Unpacking libjson-glib-1.0-0:amd64 (1.4.2-3) ...
Selecting previously unselected package libproxy1v5:amd64.
Preparing to unpack .../24-libproxy1v5_0.4.15-1_amd64.deb ...
Unpacking libproxy1v5:amd64 (0.4.15-1) ...
Selecting previously unselected package glib-networking-common.
Preparing to unpack .../25-glib-networking-common_2.56.0-1_all.deb ...
Unpacking glib-networking-common (2.56.0-1) ...
Selecting previously unselected package glib-networking-services.
Preparing to unpack .../26-glib-networking-services_2.56.0-1_amd64.deb ...
Unpacking glib-networking-services (2.56.0-1) ...
Selecting previously unselected package gsettings-desktop-schemas.
Preparing to unpack .../27-gsettings-desktop-schemas_3.28.0-1ubuntu1_all.deb ...
Unpacking gsettings-desktop-schemas (3.28.0-1ubuntu1) ...
Selecting previously unselected package glib-networking:amd64.
Preparing to unpack .../28-glib-networking_2.56.0-1_amd64.deb ...
Unpacking glib-networking:amd64 (2.56.0-1) ...
Selecting previously unselected package libsoup2.4-1:amd64.
Preparing to unpack .../29-libsoup2.4-1_2.62.1-1ubuntu0.1_amd64.deb ...
Unpacking libsoup2.4-1:amd64 (2.62.1-1ubuntu0.1) ...
Selecting previously unselected package libsoup-gnome2.4-1:amd64.
Preparing to unpack .../30-libsoup-gnome2.4-1_2.62.1-1ubuntu0.1_amd64.deb ...
Unpacking libsoup-gnome2.4-1:amd64 (2.62.1-1ubuntu0.1) ...
Selecting previously unselected package librest-0.7-0:amd64.
Preparing to unpack .../31-librest-0.7-0_0.8.0-2_amd64.deb ...
Unpacking librest-0.7-0:amd64 (0.8.0-2) ...
Selecting previously unselected package libwayland-client0:amd64.
Preparing to unpack .../32-libwayland-client0_1.16.0-1ubuntu1.1~18.04.1_amd64.deb ...
Unpacking libwayland-client0:amd64 (1.16.0-1ubuntu1.1~18.04.1) ...
Selecting previously unselected package libwayland-cursor0:amd64.
Preparing to unpack .../33-libwayland-cursor0_1.16.0-1ubuntu1.1~18.04.1_amd64.deb ...
Unpacking libwayland-cursor0:amd64 (1.16.0-1ubuntu1.1~18.04.1) ...
Selecting previously unselected package libwayland-egl1:amd64.
Preparing to unpack .../34-libwayland-egl1_1.16.0-1ubuntu1.1~18.04.1_amd64.deb ...
Unpacking libwayland-egl1:amd64 (1.16.0-1ubuntu1.1~18.04.1) ...
Selecting previously unselected package libxcursor1:amd64.
Preparing to unpack .../35-libxcursor1_1%3a1.1.15-1_amd64.deb ...
Unpacking libxcursor1:amd64 (1:1.1.15-1) ...
Selecting previously unselected package libxkbcommon0:amd64.
Preparing to unpack .../36-libxkbcommon0_0.8.0-1ubuntu0.1_amd64.deb ...
Unpacking libxkbcommon0:amd64 (0.8.0-1ubuntu0.1) ...
Selecting previously unselected package libgtk-3-0:amd64.
Preparing to unpack .../37-libgtk-3-0_3.22.30-1ubuntu2_amd64.deb ...
Unpacking libgtk-3-0:amd64 (3.22.30-1ubuntu2) ...
Selecting previously unselected package libasound2-data.
Preparing to unpack .../38-libasound2-data_1.1.3-5ubuntu0.2_all.deb ...
Unpacking libasound2-data (1.1.3-5ubuntu0.2) ...
Selecting previously unselected package libasound2:amd64.
Preparing to unpack .../39-libasound2_1.1.3-5ubuntu0.2_amd64.deb ...
Unpacking libasound2:amd64 (1.1.3-5ubuntu0.2) ...
Selecting previously unselected package libgif7:amd64.
Preparing to unpack .../40-libgif7_5.1.4-2_amd64.deb ...
Unpacking libgif7:amd64 (5.1.4-2) ...
Selecting previously unselected package openjdk-11-jre:amd64.
Preparing to unpack .../41-openjdk-11-jre_10.0.2+13-1ubuntu0.18.04.4_amd64.deb ...
Unpacking openjdk-11-jre:amd64 (10.0.2+13-1ubuntu0.18.04.4) ...
Selecting previously unselected package default-jre.
Preparing to unpack .../42-default-jre_2%3a1.10-63ubuntu1~02_amd64.deb ...
Unpacking default-jre (2:1.10-63ubuntu1~02) ...
Selecting previously unselected package fonts-dejavu-extra.
Preparing to unpack .../43-fonts-dejavu-extra_2.37-1_all.deb ...
Unpacking fonts-dejavu-extra (2.37-1) ...
Selecting previously unselected package libatk-wrapper-java.
Preparing to unpack .../44-libatk-wrapper-java_0.33.3-20ubuntu0.1_all.deb ...
Unpacking libatk-wrapper-java (0.33.3-20ubuntu0.1) ...
Selecting previously unselected package libatk-wrapper-java-jni:amd64.
Preparing to unpack .../45-libatk-wrapper-java-jni_0.33.3-20ubuntu0.1_amd64.deb ...
Unpacking libatk-wrapper-java-jni:amd64 (0.33.3-20ubuntu0.1) ...
Selecting previously unselected package libgdk-pixbuf2.0-bin.
Preparing to unpack .../46-libgdk-pixbuf2.0-bin_2.36.11-2_amd64.deb ...
Unpacking libgdk-pixbuf2.0-bin (2.36.11-2) ...
Selecting previously unselected package libgtk-3-bin.
Preparing to unpack .../47-libgtk-3-bin_3.22.30-1ubuntu2_amd64.deb ...
Unpacking libgtk-3-bin (3.22.30-1ubuntu2) ...
Setting up libjson-glib-1.0-common (1.4.2-3) ...
Setting up glib-networking-common (2.56.0-1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Setting up libatspi2.0-0:amd64 (2.28.0-1) ...
Setting up at-spi2-core (2.28.0-1) ...
Processing triggers for libglib2.0-0:amd64 (2.56.3-0ubuntu0.18.04.1) ...
Setting up libasound2-data (1.1.3-5ubuntu0.2) ...
Setting up libwayland-client0:amd64 (1.16.0-1ubuntu1.1~18.04.1) ...
Setting up libcairo-gobject2:amd64 (1.15.10-2ubuntu0.1) ...
Setting up libproxy1v5:amd64 (0.4.15-1) ...
Setting up libgdk-pixbuf2.0-common (2.36.11-2) ...
Setting up glib-networking-services (2.56.0-1) ...
Setting up libgif7:amd64 (5.1.4-2) ...
Setting up libasound2:amd64 (1.1.3-5ubuntu0.2) ...
Setting up libjson-glib-1.0-0:amd64 (1.4.2-3) ...
Setting up libcroco3:amd64 (0.6.12-2) ...
Setting up libatk1.0-data (2.28.1-1) ...
Setting up libxcursor1:amd64 (1:1.1.15-1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up libepoxy0:amd64 (1.4.3-1) ...
Setting up libatk1.0-0:amd64 (2.28.1-1) ...
Setting up libatk-bridge2.0-0:amd64 (2.26.2-1) ...
Setting up libdconf1:amd64 (0.26.0-2ubuntu3) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up libxkbcommon0:amd64 (0.8.0-1ubuntu0.1) ...
Setting up libcolord2:amd64 (1.3.3-2build1) ...
Setting up fonts-dejavu-extra (2.37-1) ...
Setting up libatk-wrapper-java (0.33.3-20ubuntu0.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Setting up libwayland-cursor0:amd64 (1.16.0-1ubuntu1.1~18.04.1) ...
Setting up libwayland-egl1:amd64 (1.16.0-1ubuntu1.1~18.04.1) ...
Processing triggers for fontconfig (2.12.6-0ubuntu2) ...
Setting up default-jre-headless (2:1.10-63ubuntu1~02) ...
Setting up dconf-service (0.26.0-2ubuntu3) ...
Setting up libgdk-pixbuf2.0-0:amd64 (2.36.11-2) ...
Setting up libgdk-pixbuf2.0-bin (2.36.11-2) ...
Setting up gtk-update-icon-cache (3.22.30-1ubuntu2) ...
Setting up libatk-wrapper-java-jni:amd64 (0.33.3-20ubuntu0.1) ...
Setting up dconf-gsettings-backend:amd64 (0.26.0-2ubuntu3) ...
Setting up librsvg2-2:amd64 (2.40.20-2) ...
Setting up gsettings-desktop-schemas (3.28.0-1ubuntu1) ...
Setting up libgtk-3-common (3.22.30-1ubuntu2) ...
Setting up librsvg2-common:amd64 (2.40.20-2) ...
Setting up glib-networking:amd64 (2.56.0-1) ...
Setting up libsoup2.4-1:amd64 (2.62.1-1ubuntu0.1) ...
Setting up libsoup-gnome2.4-1:amd64 (2.62.1-1ubuntu0.1) ...
Setting up librest-0.7-0:amd64 (0.8.0-2) ...
Setting up adwaita-icon-theme (3.28.0-1ubuntu1) ...
update-alternatives: using /usr/share/icons/Adwaita/cursor.theme to provide /usr/share/icons/default/index.theme (x-cursor-theme) in auto mode
Setting up humanity-icon-theme (0.6.15) ...
Setting up libgtk-3-0:amd64 (3.22.30-1ubuntu2) ...
Setting up libgtk-3-bin (3.22.30-1ubuntu2) ...
Setting up openjdk-11-jre:amd64 (10.0.2+13-1ubuntu0.18.04.4) ...
Setting up ubuntu-mono (16.10+18.04.20181005-0ubuntu1) ...
Setting up default-jre (2:1.10-63ubuntu1~02) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.36.11-2) ...
root@server:~# apt install pcscd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libccid
Suggested packages:
pcmciautils
The following NEW packages will be installed:
libccid pcscd
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 146 kB of archives.
After this operation, 473 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/universe amd64 libccid amd64 1.4.29-1 [88.4 kB]
Get:2 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/universe amd64 pcscd amd64 1.8.23-1 [57.9 kB]
Fetched 146 kB in 0s (1,586 kB/s)
Selecting previously unselected package libccid.
(Reading database ... 202761 files and directories currently installed.)
Preparing to unpack .../libccid_1.4.29-1_amd64.deb ...
Unpacking libccid (1.4.29-1) ...
Selecting previously unselected package pcscd.
Preparing to unpack .../pcscd_1.8.23-1_amd64.deb ...
Unpacking pcscd (1.8.23-1) ...
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for systemd (237-3ubuntu10.15) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up libccid (1.4.29-1) ...
Setting up pcscd (1.8.23-1) ...
Created symlink /etc/systemd/system/sockets.target.wants/pcscd.socket → /lib/systemd/system/pcscd.socket.
Processing triggers for systemd (237-3ubuntu10.15) ...
Processing triggers for ureadahead (0.100.0-20) ...
root@server:~# apt install libnss
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libnss
root@server:~# apt install libnss-mdns
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
avahi-daemon libavahi-core7 libdaemon0
Suggested packages:
avahi-autoipd avahi-autoipd | zeroconf
The following NEW packages will be installed:
avahi-daemon libavahi-core7 libdaemon0 libnss-mdns
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 181 kB of archives.
After this operation, 739 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libdaemon0 amd64 0.14-6 [16.6 kB]
Get:2 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates/main amd64 libavahi-core7 amd64 0.7-3.1ubuntu1.2 [81.1 kB]
Get:3 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates/main amd64 avahi-daemon amd64 0.7-3.1ubuntu1.2 [62.3 kB]
Get:4 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/main amd64 libnss-mdns amd64 0.10-8ubuntu1 [21.2 kB]
Fetched 181 kB in 0s (1,929 kB/s)
Selecting previously unselected package libdaemon0:amd64.
(Reading database ... 202791 files and directories currently installed.)
Preparing to unpack .../libdaemon0_0.14-6_amd64.deb ...
Unpacking libdaemon0:amd64 (0.14-6) ...
Selecting previously unselected package libavahi-core7:amd64.
Preparing to unpack .../libavahi-core7_0.7-3.1ubuntu1.2_amd64.deb ...
Unpacking libavahi-core7:amd64 (0.7-3.1ubuntu1.2) ...
Selecting previously unselected package avahi-daemon.
Preparing to unpack .../avahi-daemon_0.7-3.1ubuntu1.2_amd64.deb ...
Unpacking avahi-daemon (0.7-3.1ubuntu1.2) ...
Selecting previously unselected package libnss-mdns:amd64.
Preparing to unpack .../libnss-mdns_0.10-8ubuntu1_amd64.deb ...
Unpacking libnss-mdns:amd64 (0.10-8ubuntu1) ...
Setting up libdaemon0:amd64 (0.14-6) ...
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for systemd (237-3ubuntu10.15) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for dbus (1.12.2-1ubuntu1) ...
Setting up libavahi-core7:amd64 (0.7-3.1ubuntu1.2) ...
Setting up avahi-daemon (0.7-3.1ubuntu1.2) ...
Created symlink /etc/systemd/system/dbus-org.freedesktop.Avahi.service → /lib/systemd/system/avahi-daemon.service.
Created symlink /etc/systemd/system/multi-user.target.wants/avahi-daemon.service → /lib/systemd/system/avahi-daemon.service.
Created symlink /etc/systemd/system/sockets.target.wants/avahi-daemon.socket → /lib/systemd/system/avahi-daemon.socket.
Setting up libnss-mdns:amd64 (0.10-8ubuntu1) ...
First installation detected...
Checking NSS setup...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for dbus (1.12.2-1ubuntu1) ...
Processing triggers for systemd (237-3ubuntu10.15) ...
Processing triggers for ureadahead (0.100.0-20) ...
root@server:~# apt install fonts-dejavu-extra
Reading package lists... Done
Building dependency tree
Reading state information... Done
fonts-dejavu-extra is already the newest version (2.37-1).
fonts-dejavu-extra set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@server:~# apt install fonts-ipafont-gothic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
fonts-ipafont-mincho
The following NEW packages will be installed:
fonts-ipafont-gothic fonts-ipafont-mincho
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 8,251 kB of archives.
After this operation, 28.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/universe amd64 fonts-ipafont-gothic all 00303-18ubuntu1 [3,526 kB]
Get:2 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic/universe amd64 fonts-ipafont-mincho all 00303-18ubuntu1 [4,725 kB]
Fetched 8,251 kB in 0s (41.7 MB/s)
Selecting previously unselected package fonts-ipafont-gothic.
(Reading database ... 202857 files and directories currently installed.)
Preparing to unpack .../fonts-ipafont-gothic_00303-18ubuntu1_all.deb ...
Unpacking fonts-ipafont-gothic (00303-18ubuntu1) ...
Selecting previously unselected package fonts-ipafont-mincho.
Preparing to unpack .../fonts-ipafont-mincho_00303-18ubuntu1_all.deb ...
Unpacking fonts-ipafont-mincho (00303-18ubuntu1) ...
Setting up fonts-ipafont-gothic (00303-18ubuntu1) ...
update-alternatives: using /usr/share/fonts/opentype/ipafont-gothic/ipag.ttf to provide /usr/share/fonts/truetype/fonts-japanese-gothic.ttf (fonts-japanese-gothic.ttf) in auto mode
Setting up fonts-ipafont-mincho (00303-18ubuntu1) ...
update-alternatives: using /usr/share/fonts/opentype/ipafont-mincho/ipam.ttf to provide /usr/share/fonts/truetype/fonts-japanese-mincho.ttf (fonts-japanese-mincho.ttf) in auto mode
Processing triggers for fontconfig (2.12.6-0ubuntu2) ...
root@server:~# systemctl restart elasticsearch.service
root@server:~# journalctl --unit elasticsearch
Journal file /var/log/journal/b5b602f6f2ef4513b35e2a95ff3acf9e/user-1000.journal is truncated, ignoring file.
-- Logs begin at Tue 2018-10-02 19:43:40 CEST, end at Wed 2019-03-20 21:24:52 CE
Mar 20 12:48:44 server.example.com systemd[1]: Started Elasticsearch.
Mar 20 12:48:44 server.example.com elasticsearch[7034]: OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed
Mar 20 21:24:25 server.example.com systemd[1]: Stopping Elasticsearch...
Mar 20 21:24:26 server.example.com systemd[1]: Stopped Elasticsearch.
Mar 20 21:24:26 server.example.com systemd[1]: Started Elasticsearch.
Mar 20 21:24:26 server.example.com elasticsearch[23283]: OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed
root@server:~# journalctl --unit elasticsearch
Journal file /var/log/journal/b5b602f6f2ef4513b35e2a95ff3acf9e/user-1000.journal is truncated, ignoring file.
-- Logs begin at Tue 2018-10-02 19:43:40 CEST, end at Wed 2019-03-20 21:25:32 CET. --
Mar 20 12:48:44 server.example.com systemd[1]: Started Elasticsearch.
Mar 20 12:48:44 server.example.com elasticsearch[7034]: OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed
Mar 20 21:24:25 server.example.com systemd[1]: Stopping Elasticsearch...
Mar 20 21:24:26 server.example.com systemd[1]: Stopped Elasticsearch.
Mar 20 21:24:26 server.example.com systemd[1]: Started Elasticsearch.
Mar 20 21:24:26 server.example.com elasticsearch[23283]: OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed
root@server:~# journalctl --unit elasticsearch
Journal file /var/log/journal/b5b602f6f2ef4513b35e2a95ff3acf9e/user-1000.journal is truncated, ignoring file.
-- Logs begin at Tue 2018-10-02 19:43:40 CEST, end at Wed 2019-03-20 21:25:54 CET. --
Mar 20 12:48:44 server.example.com systemd[1]: Started Elasticsearch.
Mar 20 12:48:44 server.example.com elasticsearch[7034]: OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed
Mar 20 21:24:25 server.example.com systemd[1]: Stopping Elasticsearch...
Mar 20 21:24:26 server.example.com systemd[1]: Stopped Elasticsearch.
Mar 20 21:24:26 server.example.com systemd[1]: Started Elasticsearch.
Mar 20 21:24:26 server.example.com elasticsearch[23283]: OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be remove
root@server:~# apt install avahi-autoipd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
avahi-autoipd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 38.4 kB of archives.
After this operation, 119 kB of additional disk space will be used.
Get:1 http://mirror.eu.oneandone.net/ubuntu/ubuntu bionic-updates/main amd64 avahi-autoipd amd64 0.7-3.1ubuntu1.2 [38.4 kB]
Fetched 38.4 kB in 1s (38.8 kB/s)
Selecting previously unselected package avahi-autoipd.
(Reading database ... 202878 files and directories currently installed.)
Preparing to unpack .../avahi-autoipd_0.7-3.1ubuntu1.2_amd64.deb ...
Unpacking avahi-autoipd (0.7-3.1ubuntu1.2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up avahi-autoipd (0.7-3.1ubuntu1.2) ...
Mostrar tudo
Testar o ElasticSearch no Linux! Como isso funciona?
Com o seguinte comando você pode testar se o ElasticSearch está rodando no Linux:
curl 'http://localhost:9200/?pretty