ElasticSearch
Debian package安装:
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.2.1.deb
sha1sum elasticsearch-5.2.1.deb sudo dpkg -i elasticsearch-5.2.1.deb
启动/停止:
sudo systemctl start elasticsearch.service sudo systemctl stop elasticsearch.service
To configure Elasticsearch to start automatically when the system boots up, run the following commands:
sudo /bin/systemctl daemon-reload sudo /bin/systemctl enable elasticsearch.service
远程访问:
修改:/etc/elasticsearch/elasticsearch.yml
network.host= 0.0.0.0
Kibana
wget https://artifacts.elastic.co/downloads/kibana/kibana-5.2.1-amd64.deb sha1sum kibana-5.2.1-amd64.deb sudo dpkg -i kibana-5.2.1-amd64.deb
启动/停止:
sudo -i service kibana start sudo -i service kibana stop
To configure Kibana to start automatically when the system boots up, run the following commands: sudo /bin/systemctl daemon-reload sudo /bin/systemctl enable kibana.service
远程访问:
修改:/etc/kibana/kibana.yml
server.hotst: ${ip}
Logstash
下载5.2.1.deb安装包
sha1sum logstash-5.2.1.deb
sudo dpkg -i logstash-5.2.1.deb
启动/停止logstash:
sudo systemctl start logstash.service
sudo systemctl stop logstash.service