Elasticsearch5.6安装
1.下载
5.6.8
sudo curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.6.8.tar.gz
2.解压
tar -xvf elasticsearch-5.6.8.tar.gz
3.设置权限
sudo chown jiqing:jiqing -R elasticsearch-5.6.8
4.启动
./bin/elasticsearch
5.后台运行
./bin/elasticsearch -d -p pid
6.杀死
kill `cat pid`
参考:https://www.elastic.co/guide/en/elasticsearch/reference/5.6/_installation.html