- Mastering Kibana 6.x
- Anurag Srivastava
- 64字
- 2021-07-16 18:20:07
Installing Elasticsearch with the Debian package
On Debian, before you can proceed with the installation process, you may need to install the apt-transport-https package first:
sudo apt-get install apt-transport-https
Save the repository definition to /etc/apt/sources.list.d/elastic-6.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
You can install the elasticsearch Debian package with the following code:
sudo apt-get update && sudo apt-get install elasticsearch