GPG Key

hi guys, i wanna ask something about installation elastic and beats, because they need GPG-key and my server can't access public internet. how can i add a GPG Key manually? thanks

Download the key file from https://artifacts.elastic.co/GPG-KEY-elasticsearch. Then copy the file to your network. And install the key from file.

rpm --import ./GPG-KEY-elasticsearch

or

apt-key add ./GPG-KEY-elasticsearch

2 Likes

oke andrew i got. and then how about this?

sudo yum install --enablerepo=elasticsearch elasticsearch
sudo dnf install --enablerepo=elasticsearch elasticsearch
sudo zypper modifyrepo --enable elasticsearch &&
sudo zypper install elasticsearch;
sudo zypper modifyrepo --disable elasticsearch

i just make the repo. and how to run the repo manually (without access internet) ?

Sorry, I don't understand the question. What are you trying to accomplish?