-
Repositories for APT and YUM (Filebeat 7.x install)IT 2020. 11. 13. 12:19
Filebeat 설치
APT
To add the Beats repository for APT:
-
1. Download and install the Public Signing Key:
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
-
2. You may need to install the apt-transport-https package on Debian before proceeding:
sudo apt-get install apt-transport-https
-
3. Save the repository definition to /etc/apt/sources.list.d/elastic-7.x.list:
echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-6.x.list
The package is free to use under the Elastic license. An alternative package which contains only features that are available under the Apache 2.0 license is also available. To install it, use the following sources list:
echo "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
To add the Elastic repository, make sure that you use the echo method shown in the example. Do not use add-apt-repository because it will add a deb-src entry, but we do not provide a source package.
If you have added the deb-src entry by mistake, you will see an error like the following:
Unable to find expected entry 'main/source/Sources' in Release file (Wrong sources.list entry or malformed file)
Simply delete the deb-src entry from the /etc/apt/sources.list file, and the installation should work as expected.
-
4. Run apt-get update, and the repository is ready for use. For example, you can install Filebeat by running:
sudo apt-get update && sudo apt-get install filebeat
-
5. To configure Filebeat to start automatically during boot, run:
sudo update-rc.d filebeat defaults 95 10
If your system does not use systemd then run:
sudo update-rc.d filebeat defaults 95 10
www.elastic.co/guide/en/beats/filebeat/current/setup-repositories.html
Repositories for APT and YUM | Filebeat Reference [7.10] | Elastic
To add the Elastic repository, make sure that you use the echo method shown in the example. Do not use add-apt-repository because it will add a deb-src entry, but we do not provide a source package. If you have added the deb-src entry by mistake, you will
www.elastic.co
'IT' 카테고리의 다른 글
[H/W] 디스크 속도측정 - Crystal Disk Mark (0) 2015.11.18 [Linux] Clearing caches (0) 2015.06.19 [Linux] VIM 설정 (0) 2015.06.19 [Linux] GRUB2 부팅순서 변경 (1) 2015.06.02 -