書名: Mastering Kibana 6.x作者名: Anurag Srivastava本章字數: 82字更新時間: 2021-07-16 18:20:08
Using apt package repositories
Download and install the public signing key:
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
You may need to install the apt-transport-https package on Debian before proceeding, as follows:
sudo apt-get install apt-transport-https
Save the repository definition to /etc/apt/sources.list.d/elastic-6.x.list, as follows:
echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-6.x.list
Run sudo apt-get update and the repository will be ready for use. You can install it using the following code:
sudo apt-get update && sudo apt-get install logstash