Elastic
ElasticSearch
Introduction
Deploy By Binary
Quick Start
# download and decompression
cd /opt && wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.7.1-linux-x86_64.tar.gz
tar -xf elasticsearch-8.7.1-linux-x86_64.tar.gz && rm -f elasticsearch-8.7.1-linux-x86_64.tar.gz
# soft link
ln -svf /opt/elasticsearch-8.7.1/ /opt/elasticsearch
cd /opt/elasticsearch
# configure
vim config/elasticsearch.yml
# options: install plugin
# plugins dir: plugins and config
./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v8.7.1/elasticsearch-analysis-ik-8.7.1.zip
# set password and verify
./bin/elasticsearch-setup-passwords interactive
curl 127.0.0.1:9200 -u 'elastic:elastic_password'
# start elasticsearch server
./bin/elasticsearch
./bin/elasticsearch -d # daemon[[sc-elasticsearch|Config]] and Boot
Config
Boot(systemd)
Deploy By Container
Run On Kubernetes
Last updated