Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java 11 for elk install #657

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

java 11 for elk install #657

wants to merge 2 commits into from

Conversation

loust
Copy link

@loust loust commented May 3, 2019

Java was updated and 8 was removed from the repo.

Currently testing it, but here's the article I followed: https://www.linuxuprising.com/2018/10/how-to-install-oracle-java-11-in-ubuntu.html

Thank you!

@loust
Copy link
Author

loust commented May 3, 2019

This still fails the install due to another line of java installation in install_elk.sh

I will update it and push it again if approved. Also, software-properties-common should be used in the dionaea docker deploy files as well I'm assuming.

@loust
Copy link
Author

loust commented May 3, 2019

My editor removed trailing spaces as well. Did not intend that to happen.

@loust
Copy link
Author

loust commented May 3, 2019

Java is successful, but fails at this

+ wget -O - http://packages.elasticsearch.org/GPG-KEY-elasticsearch                                                               
--2019-05-03 04:04:08--  http://packages.elasticsearch.org/GPG-KEY-elasticsearch                                                  
Resolving packages.elasticsearch.org (packages.elasticsearch.org)... 151.101.42.217, 2a04:4e42:a::729                             
Connecting to packages.elasticsearch.org (packages.elasticsearch.org)|151.101.42.217|:80... connected.                            
HTTP request sent, awaiting response... 200 OK                                                                                    
Length: 1768 (1.7K) [binary/octet-stream]                                                                                         
Saving to: ‘STDOUT’                                                                                                               

-                                100%[=========================================================>]   1.73K  --.-KB/s    in 0s      

2019-05-03 04:04:08 (253 MB/s) - written to stdout [1768/1768]

OK                                                                                                                                
+ echo 'deb http://packages.elasticsearch.org/elasticsearch/1.4/debian stable main'                                               
+ tee /etc/apt/sources.list.d/elasticsearch.list                                                                                  
deb http://packages.elasticsearch.org/elasticsearch/1.4/debian stable main                                                        
+ apt-get update                                                                                                                  
Hit:1 http://us-west-1.ec2.archive.ubuntu.com/ubuntu bionic InRelease                                                             
Hit:2 http://us-west-1.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                     
Hit:3 http://us-west-1.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease                                                   
Ign:4 http://packages.elasticsearch.org/elasticsearch/1.4/debian stable InRelease                                                 
Get:5 http://packages.elasticsearch.org/elasticsearch/1.4/debian stable Release [3316 B]                                          
Get:6 http://packages.elasticsearch.org/elasticsearch/1.4/debian stable Release.gpg [473 B]                                       
Hit:7 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease                                                         
Ign:6 http://packages.elasticsearch.org/elasticsearch/1.4/debian stable Release.gpg                                               
Get:8 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                                       
Reading package lists... Done                                                                                                     
W: GPG error: http://packages.elasticsearch.org/elasticsearch/1.4/debian stable Release: The following signatures were invalid: 46095ACC8548582C1A2699A9D27D666CD88E42B4
E: The repository 'http://packages.elasticsearch.org/elasticsearch/1.4/debian stable Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

I'm on an AWS Ubuntu 18

@zw1068
Copy link

zw1068 commented Jan 6, 2020

Java is successful, but fails at this

+ wget -O - http://packages.elasticsearch.org/GPG-KEY-elasticsearch                                                               
--2019-05-03 04:04:08--  http://packages.elasticsearch.org/GPG-KEY-elasticsearch                                                  
Resolving packages.elasticsearch.org (packages.elasticsearch.org)... 151.101.42.217, 2a04:4e42:a::729                             
Connecting to packages.elasticsearch.org (packages.elasticsearch.org)|151.101.42.217|:80... connected.                            
HTTP request sent, awaiting response... 200 OK                                                                                    
Length: 1768 (1.7K) [binary/octet-stream]                                                                                         
Saving to: ‘STDOUT’                                                                                                               

-                                100%[=========================================================>]   1.73K  --.-KB/s    in 0s      

2019-05-03 04:04:08 (253 MB/s) - written to stdout [1768/1768]

OK                                                                                                                                
+ echo 'deb http://packages.elasticsearch.org/elasticsearch/1.4/debian stable main'                                               
+ tee /etc/apt/sources.list.d/elasticsearch.list                                                                                  
deb http://packages.elasticsearch.org/elasticsearch/1.4/debian stable main                                                        
+ apt-get update                                                                                                                  
Hit:1 http://us-west-1.ec2.archive.ubuntu.com/ubuntu bionic InRelease                                                             
Hit:2 http://us-west-1.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                     
Hit:3 http://us-west-1.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease                                                   
Ign:4 http://packages.elasticsearch.org/elasticsearch/1.4/debian stable InRelease                                                 
Get:5 http://packages.elasticsearch.org/elasticsearch/1.4/debian stable Release [3316 B]                                          
Get:6 http://packages.elasticsearch.org/elasticsearch/1.4/debian stable Release.gpg [473 B]                                       
Hit:7 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease                                                         
Ign:6 http://packages.elasticsearch.org/elasticsearch/1.4/debian stable Release.gpg                                               
Get:8 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                                       
Reading package lists... Done                                                                                                     
W: GPG error: http://packages.elasticsearch.org/elasticsearch/1.4/debian stable Release: The following signatures were invalid: 46095ACC8548582C1A2699A9D27D666CD88E42B4
E: The repository 'http://packages.elasticsearch.org/elasticsearch/1.4/debian stable Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

I'm on an AWS Ubuntu 18

I`m the same with you,do you resolve it?

@d1str0
Copy link
Collaborator

d1str0 commented Jan 6, 2020

Since there aren't a ton of changes, once this is fixed up, I will gladly review and merge, although in the future, please break out the changes to different sections. Ie. Dionaea and ELK aren't related. In this PR it is ok for now.

Also, does elk require Java 11? Or would a more up to date 13 work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants