Install Elasticsearch Kibaba on Linux
Kibana is an open source for the Elasticsearch engine to provide data and data analysis
1. Download and install
Switch to the root account and execute the following commands sequentially
RPM Package Installation
$ wget -c https://artifacts.elastic.co/downloads/kibana/kibana-5.5.3-x86_64.rpm$ sha1sum kibana-5.3.2-x86_64.rpm $ sudo rpm --install kibana-5.3.2-x86_64.rpm
GZ Package Installation
Open Official website Https://www.elastic.co/cn/downloads
Choose Download Kibana, select the corresponding installation package as needed, choose 5.5.3 version here, get kibana-5.5.3-linux-x86_64.tar.gz after download
Uploaded kibana-5.5.3-linux-x86_64.tar.gz
to/data/elasticsearch
Extractkibana-5.5.3-linux-x86_64.tar.gz
$ tar -zxvf kibana-5.5.3-linux-x86_64.tar.gz -C /data/elasticsearch
$ lskibana-5.5.3-linux-x86_64.tar.gz kibana-5.5.3-linux-x86_64 $ mv kibana-5.5.3-linux-x86_64 kibana-5.5.3
2, configure the host Kibana
If you use the RPM installation method, you can use the following command to view the Kibana location
$ whereis kibanakibana: /etc/kibana /usr/share/kibana
Modify the Kibana configuration file to allow access to the public network
/data/elasticsearch/kibana-5.5.3/config/kibana.yml
Change the server.host revision to
# ports for external service server.port: 5602# allow public access to Server.host: "0.0.0.0" # link elasticsearch//localhost:9200# set Elasticsearch user name Elasticsearch.username:elastic# set Elasticsearch password Elasticsearch.password: [Email protected]# Kibana Use the Gao de map tilemap.url: Http://webrd02.is.autonavi.com/appmaptile? Lang=zh_cn&size=1&scale=1&style=7&x={x}&y={y}&z={z} '
Related Configuration Instructions
Properties |
value |
Description |
Server.port |
5602 |
Ports for external services |
Server.host |
0.0.0.0 |
Allowed access to the IP address, 0.0.0.0 for any machine allowed access |
Elasticsearch.url |
http://localhost:9200 |
Address of the link elasticsearch |
Elasticsearch.username |
Elastic |
Set Elasticsearch user Name |
Elasticsearch.password |
[Email protected] |
Set Elasticsearch password |
Tilemap.url |
' Http://webrd02.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=7&x={x}&y={y} &z={z} ' |
Kibana using the map of Lourdes, refer to Http://www.jianshu.com/p/07b82092d4af |
3. Start Kibana
Configure Kibana to start automatically
cd /data/elasticsearch/kibana-5.5.3/bin/./kibana
Background boot
nohup /data/elasticsearch/kibana-5.5.3/bin/kibana &
Kill process
(这个有时候不行)ps -ef | grep nodekill -2 21048
Look at the log
/data/elasticsearch/kibana-5.5.3/kibana.log
You can then http://IP:5602
open the Kibana using public access.
For official details, please seehttps://www.elastic.co/guide/en/kibana/5.5/targz.html
Reference
http://www.cnblogs.com/lollipop/p/6817309.html
Shut down
netstat -apn|grep 5601
Then kill, and you can start Kibana.
Install Elasticsearch kibaba.md on Linux