Plug-in package download:
https://github.com/remembertr/elasticsearch–/blob/master/elasticsearch-head-master.zip
https://github.com/remembertr/elasticsearch–/blob/master/bigdesk-master.zip
https://github.com/remembertr/elasticsearch–/blob/master/elasticsearch-kopf-master.zip
Download the plug-in package online (I uploaded the plug-in compressed package separately into git)
The location is not specified, the default is under /root:
[root@es1 ~]# wget -c https://github.com/remembertr/elasticsearch--/blob/master/elasticsearch-head-master.zip
[root@es1 ~]# wget -c https://github.com/remembertr/elasticsearch--/blob/master/elasticsearch-kopf-master.zip
[root@es1 ~]# wget -c https://github.com/remembertr/elasticsearch--/blob/master/bigdesk-master.zip
Switch to the elasticsearch directory and install the downloaded plugin package
[root@es1 ~]# cd /usr/share/elasticsearch/bin/
[root@es1 bin]# ./plugin install file:///root/elk/elasticsearch-head-master.zip
[root@es1 bin]# ./plugin install file:///root/elk/elasticsearch-kopf-master.zip
[root@es1 bin]# ./plugin install file:///root/elk/bigdesk-master.zip
View installed plugins
[root@es1 bin]# ./plugin list
Installed plugins in /usr/share/elasticsearch/plugins:
- head
- kopf
- bigdesk
Confirm that the plug-in is installed successfully and can be used
[root@es1 bin]# firefox http://192.168.1.11:9200/_plugin/head
[root@es1 bin]# firefox http://192.168.1.11:9200/_plugin/kopf
[root@es1 bin]# firefox http://192.168.1.11:9200/_plugin/bigdesk
Use head to create index
[root@es1 bin]# curl -X PUT "http://192.168.1.11:9200/index" -d '
> {
> "setting": {
> "index": {
> "number_of_shards":5,
> "number_of_replicas":1
> }
> }
> }'
{
"acknowledged":true}[root@es1 bin]#
Use kopf to view data
[root@es1 bin]# firefox 192.168.1.11:9200/_plugin/kopf