In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Brief description: after elasticsearch installation, you need to install the corresponding plug-ins Head, Kopf and Bigdesk in order to better achieve various functions. Here are the basic steps for installing these three plug-ins.
(1) install ElasticSearch-Head
ElasticSearch-Head is a Web foreground that interacts with an Elastic cluster (Cluster).
The main roles of ES-Head are:
It shows the topology of the ES cluster and can be used to operate at the Index and Node levels
It provides a set of API queries for the cluster and returns the results in json and tabular form
It provides some shortcut menus to show the various states of the cluster
The installer is divided into online installation and manual installation.
(1) online installation
[appuser@zabbix elasticsearch] $. / bin/plugin install mobz/elasticsearch-head- > Installing mobz/elasticsearch-head...Trying https://github.com/mobz/elasticsearch-head/archive/master.zip... Downloading. . .DoneVerifying https://github.com
(2) Manual installation
You need to download the file elasticsearch-head-master.zip (wget https://github.com/mobz/elasticsearch-head/archive/master.zip) under the https://github.com/mobz/elasticsearch-head.git website before installation.
[appuser@GJB-UAT elasticsearch] $. / plugin install file:///tmp/install/elk/elasticsearch-head-master.zip-> Installing / tmp/install/elk/elasticsearch-head-master.zip...Trying https://download.elastic.co//tmp/tmp-install.zip... Trying https://search.maven.org/remotecontent?filepath=/tmp/install/tmp-install.zip... [appuser@GJB-UAT plugins] $ll/ usr/local/elasticsearch/plugins/drwxrwxr-x. 5 appuser appuser 4096 May 11 16:31 head# but the easiest way is to extract the elasticsearch-head-master.zip you just downloaded and put it in the / usr/local/elasticsearch/plugins/head directory [root@db22 elk] # unzip elasticsearch-head-master.zip Archive: elasticsearch-head-master.zipadc0c89be13dd6268d835e34922753e1eeb5856c creating: elasticsearch-head-master/ extracting: elasticsearch-head-master/.dockerignore inflating: elasticsearch-head-master/.gitignore inflating: elasticsearch -head-master/.jshintrc inflating: elasticsearch-head-master/Dockerfile inflating: elasticsearch-head-master/Dockerfile-alpine inflating: elasticsearch-head-master/Gruntfile.js inflating: elasticsearch-head-master/LICENCE inflating: elasticsearch-head-master/README.textile creating: elasticsearch-head-master/_site/ inflating: elasticsearch-head-master/_site/app.css [appuser@db22 plugins] $cp-p-r / tmp/install/elk/elasticsearch-head-master/* head / [appuser@db22 plugins] $ll head/total 60 RW Murray. 1 appuser appuser 248 Mar 29 11:05 Dockerfile-rw-r--r--. 1 appuser appuser 221 Mar 29 11:05 Dockerfile-alpine-rw-r--r--. 1 appuser appuser 104 Mar 29 11:05 elasticsearch-head.sublime-project-rw-r--r--. 1 appuser appuser 2171 Mar 29 11:05 Gruntfile.js-rw-r--r--. 1 appuser appuser 3482 Mar 29 11:05 grunt_fileSets.js-rw-r--r--. 1 appuser appuser 1088 Mar 29 11:05 index.html-rw-r--r--. 1 appuser appuser 559 Mar 29 11:05 LICENCE-rw-r--r--. 1 appuser appuser 886 Mar 29 11:05 package.json-rw-r--r--. 1 appuser appuser 100 Mar 29 11:05 plugin-descriptor.propertiesdrwxr-xr-x. 4 appuser appuser 4096 Mar 29 11:05 proxy-rw-r--r--. 1 appuser appuser 6692 Mar 29 11:05 README.textiledrwxr-xr-x. 5 appuser appuser 4096 Mar 29 11:05 _ sitedrwxr-xr-x. 4 appuser appuser 4096 Mar 29 11:05 srcdrwxr-xr-x. 4 appuser appuser 4096 Mar 29 11:05 test [appuser@db22 elasticsearch] $/ usr/local/elasticsearch/bin/elasticsearch &
The access address of the plug-in head after installation is as follows: http://IP:9200/_plugin/head/ (my access address is as follows: http://192.168.180.3:9200/_plugin/head/)
Note: before 2.x, the command line format is:
. / bin/plugin install-- url file:///tmp/install/elk/elasticsearch-head-master.zip
(2) install ElasticSearch-Kopf
1, introduction: kopf is an ElasticSearch management tool that provides API for ES cluster operations. The version supports the following:
2. The installation steps are as follows:
[appuser@GJB-UAT local] $. / elasticsearch/bin/plugin install lmenezes/elasticsearch-kopf- > Installing lmenezes/elasticsearch-kopf...Trying https://github.com/lmenezes/elasticsearch-kopf/archive/master.zip... Downloading.. DONEVerifying https://github.com/lmenezes/elasticsearch-kopf/archive/master.zip checksums if available... NOTE: Unable to verify checksum for Downloaded plugin (unable to find. SHA1 or. MD5 file to verify) Installed kopf into / usr/local/elasticsearch/plugins/kopf [appuser@GJB-UAT local] $ll elasticsearch/plugins/drwxrwxr-x. 5 appuser appuser 4096 May 11 16:31 headdrwxrwxr-x 8 appuser appuser 4096 May 16 15:56 kopf
3. The access address is as follows: http://IP:9200/_plugin/kopf (http://192.168.180.3:9200/_plugin/kopf/))
(3) install ElasticSearch-Bigdesk
1, description: bigdesk is a cluster monitoring tool of elasticsearch, which can be used to view various states of es clusters, such as cpu, memory usage, index data, search, number of http connections, and so on.
2. Installation steps:
Install and open the website https://github.com/lukas-vlcek/bigdesk
[appuser@GJB-UAT elk] $unzip bigdesk-master.zip Archive: bigdesk-master.zip4dd7545d4c012bf56def273385a7626cd7d70bc6 creating: bigdesk-master/ extracting: bigdesk-master/.gitignore inflating: bigdesk-master/LICENSE inflating: bigdesk-master/NOTICE inflating: bigdesk-master/README.md inflating: bigdesk-master/bigdesk-1.0.0.jpg inflating: bigdesk-master/bigdesk-2.0.0-SNAPSHOT.jpg creating: bigdesk-master/css/ creating: bigdesk-master/css/CssGrid_ 2/ inflating: bigdesk-master/css/CssGrid_2/1140.css inflating: bigdesk-master/css/CssGrid_2/License.txt inflating: bigdesk-master/css/CssGrid_2/ie.css inflating: bigdesk-master/css/CssGrid_2/styles.css inflating: bigdesk-master/css/bigdesk.css inflating: bigdesk-master/css/normalize.css inflating: bigdesk-master/css/reset.css creating: bigdesk-master/p_w_picpaths/ inflating: bigdesk -master/p_w_picpaths/1license.txt extracting: bigdesk-master/p_w_picpaths/award_star_gold.png inflating: bigdesk-master/p_w_picpaths/es-logo.png extracting: bigdesk-master/p_w_picpaths/favicon.png inflating: bigdesk-master/index.html creating: bigdesk-master/js/ inflating: bigdesk-master/js/bigdeskApp.js creating: bigdesk-master/js/charts/ inflating: bigdesk-master/js/charts / bigdesk_charts.js inflating: bigdesk-master/js/charts/common.css creating: bigdesk-master/js/charts/not-available/ inflating: bigdesk-master/js/charts/not-available/not-available-chart.css inflating: bigdesk-master/js/charts/not-available/not-available-chart.js inflating: bigdesk-master/js/charts/not-available/test-not-available-chart.html creating: bigdesk-master/js/charts/pack/ inflating : bigdesk-master/js/charts/pack/pack.css creating: bigdesk-master/js/charts/time-area/ inflating: bigdesk-master/js/charts/time-area/test-time-area-chart.html inflating: bigdesk-master/js/charts/time-area/time-area-chart.css inflating: bigdesk-master/js/charts/time-area/time-area-chart.js creating: bigdesk-master/js/charts/time-series/ inflating: bigdesk-master / js/charts/time-series/test-time-series-chart.html inflating: bigdesk-master/js/charts/time-series/time-series-chart.css inflating: bigdesk-master/js/charts/time-series/time-series-chart.js creating: bigdesk-master/js/lib/ creating: bigdesk-master/js/lib/D3-v2.8.1/ inflating: bigdesk-master/js/lib/D3-v2.8.1/LICENSE inflating: bigdesk-master/ Js/lib/D3-v2.8.1/d3.v2.min.js creating: bigdesk-master/js/lib/backbone/ inflating: bigdesk-master/js/lib/backbone/LICENSE inflating: bigdesk-master/js/lib/backbone/backbone-min.js creating: bigdesk-master/js/lib/css3-mediaqueries/ inflating: bigdesk-master/js/lib/css3-mediaqueries/License.txt inflating: bigdesk-master/js/lib/css3-mediaqueries/css3-mediaqueries.js Creating: bigdesk-master/js/lib/jquery/ inflating: bigdesk-master/js/lib/jquery/jquery-1.7.1.min.js creating: bigdesk-master/js/lib/mustache/ inflating: bigdesk-master/js/lib/mustache/LICENSE inflating: bigdesk-master/js/lib/mustache/mustache.js creating: bigdesk-master/js/lib/tinysort/ inflating: bigdesk-master/js/lib/tinysort/License.txt inflating: bigdesk-master/js/ Lib/tinysort/jquery.tinysort.min.js creating: bigdesk-master/js/lib/underscore/ inflating: bigdesk-master/js/lib/underscore/LICENSE inflating: bigdesk-master/js/lib/underscore/underscore-min.js creating: bigdesk-master/js/models/ inflating: bigdesk-master/js/models/Hello.js creating: bigdesk-master/js/models/cluster/ inflating: bigdesk-master/js/models/cluster/ClusterHealth.js inflating: bigdesk-master/ Js/models/cluster/ClusterState.js inflating: bigdesk-master/js/models/cluster/IndicesStatus.js inflating: bigdesk-master/js/models/cluster/NodeInfo.js inflating: bigdesk-master/js/models/cluster/NodesState.js inflating: bigdesk-master/js/models/cluster/NodesStats.js creating: bigdesk-master/js/store/ inflating: bigdesk-master/js/store/BigdeskStore.js creating: bigdesk-master/js/util/ inflating: bigdesk-master/js/ Util/bigdesk_extension.js creating: bigdesk-master/js/views/ inflating: bigdesk-master/js/views/ClusterHealthView.js inflating: bigdesk-master/js/views/ClusterNodesListView.js inflating: bigdesk-master/js/views/ClusterStateView.js inflating: bigdesk-master/js/views/SelectedClusterNodeView.js inflating: bigdesk-master/js/views/templates.js [appuser@GJB-UAT elk] $ll Total amount 330504drwxrwxr-x 5 appuser appuser 4096 April 27 2015 bigdesk-master -rw-r--r-- 1 root root 337682 May 16 15:07 bigdesk-master.zip-rw-r--r-- 1 appuser appuser 920168 May 16 15:28 master.zipdrwxr-xr-x 9 appuser appuser 4096 May 3 00:34 node-v6.10.3-rw-r--r-- 1 appuser appuser 26762674 May 16 13:32 node-v6.10.3.tar.gz [appuser@GJB-UAT elk] $ Cd bigdesk-master [appuser@GJB-UAT bigdesk-master] $lsbigdesk-1.0.0.jpg css index.html LICENSE README.mdbigdesk-2.0.0-SNAPSHOT.jpg p_w_picpaths js NOTICE [appuser@GJB-UAT bigdesk-master] $mv * / usr/local/elasticsearch/plugins/bigdesk/_site
3, create / usr/local/elasticsearch/plugins/bigdesk/plugin-descriptor.properties under the plugin/bigdesk directory
[appuser@GJB-UAT bigdesk] $vim / usr/local/elasticsearch/plugins/bigdesk/plugin-descriptor.properties description=head-A web front end for an elasticsearch clusterversion=mastersite=truename=bigdesk
4. Modify the BigdeskStore.js file and remove the major = = 1 condition at line 142
[appuser@GJB-UAT _ site] $vim / usr/local/elasticsearch/plugins/bigdesk/_site/js/store/B
IgdeskStore.js # remove the major = = 1 condition on line 142
Return (minor > = 0 & & maintenance > = 0 & & (build! = 'Beta1' | | build! =' Beta2
'))
/ / return (major = = 1 & & minor > = 0 & & maintenance > = 0 & & (build! = 'Beta1' |
| | build! = 'Beta2')) |
5. Restart elasticsearch and visit it at http:IP:9200/_plugin/bigdesk (http://192.168.180.3:9200/_plugin/bigdesk/))
Bigdesk currently supports only ElasticSearch 1.3.x
At this point, ElasticSearch plug-ins are installed-Head, Kopf and Bigdesk plug-ins are installed.
Attachment: http://down.51cto.com/data/2366666
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.