码迷,mamicode.com
首页 > 其他好文 > 详细

cerebro的安装

时间:2019-12-08 20:13:24      阅读:200      评论:0      收藏:0      [点我收藏+]

标签:--   nload   dig   访问   ystemd   intern   article   nec   参考   

 

参考文章:

ElasticSearch基础介绍:5:可视化工具之cerebro

https://blog.csdn.net/liumiaocn/article/details/98517815

 

[root@LogServer bin]# docker run --name cerebro -d -p 9100:9000 lmenezes/cerebro:0.8.4
Unable to find image lmenezes/cerebro:0.8.4 locally
Trying to pull repository docker.io/lmenezes/cerebro ... 
0.8.4: Pulling from docker.io/lmenezes/cerebro





Digest: sha256:6c3662f04634fc7ecd5c73cc6854e5f53649616b5bd1c2dfb40387226c372e8c
Status: Downloaded newer image for docker.io/lmenezes/cerebro:0.8.4
08216893b816cc4efcded4077b26de45c69c264564e6cd4d8c62e4aa39fcce29

 

先检查Elasticsearch运行状态

 1 [root@LogServer bin]# curl http://localhost:9200
 2 {
 3   "name" : "node-1",
 4   "cluster_name" : "elasticsearch",
 5   "cluster_uuid" : "eeeqcNhnSAygPaRtsrw_Jg",
 6   "version" : {
 7     "number" : "7.5.0",
 8     "build_flavor" : "default",
 9     "build_type" : "rpm",
10     "build_hash" : "e9ccaed468e2fac2275a3761849cbee64b39519f",
11     "build_date" : "2019-11-26T01:06:52.518245Z",
12     "build_snapshot" : false,
13     "lucene_version" : "8.3.0",
14     "minimum_wire_compatibility_version" : "6.8.0",
15     "minimum_index_compatibility_version" : "6.0.0-beta1"
16   },
17   "tagline" : "You Know, for Search"
18 }

 

检查端口状态

 1 [root@LogServer bin]# netstat -ntpl
 2 Active Internet connections (only servers)
 3 Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
 4 tcp        0      0 0.0.0.0:5902            0.0.0.0:*               LISTEN      1797/Xvnc           
 5 tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      1/systemd           
 6 tcp        0      0 0.0.0.0:6002            0.0.0.0:*               LISTEN      1797/Xvnc           
 7 tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1529/sshd           
 8 tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      63610/master        
 9 tcp        0      0 172.33.7.51:5601        0.0.0.0:*               LISTEN      18551/node          
10 tcp        0      0 0.0.0.0:514             0.0.0.0:*               LISTEN      63652/rsyslogd      
11 tcp6       0      0 :::9100                 :::*                    LISTEN      18685/docker-proxy- 
12 tcp6       0      0 :::5902                 :::*                    LISTEN      1797/Xvnc           
13 tcp6       0      0 :::111                  :::*                    LISTEN      1/systemd           
14 tcp6       0      0 :::9200                 :::*                    LISTEN      18338/java          
15 tcp6       0      0 :::6002                 :::*                    LISTEN      1797/Xvnc           
16 tcp6       0      0 :::9300                 :::*                    LISTEN      18338/java          
17 tcp6       0      0 :::22                   :::*                    LISTEN      1529/sshd           
18 tcp6       0      0 ::1:25                  :::*                    LISTEN      63610/master        
19 tcp6       0      0 :::514                  :::*                    LISTEN      63652/rsyslogd  

 

检查docker的容器

1 [root@LogServer bin]# docker ps -a
2 CONTAINER ID        IMAGE                    COMMAND                  CREATED             STATUS              PORTS                    NAMES
3 08216893b816        lmenezes/cerebro:0.8.4   "/opt/cerebro/bin/..."   3 minutes ago       Up 3 minutes        0.0.0.0:9100->9000/tcp   cerebro

 

Chrome或者火狐浏览器访问地址:http://172.33.7.51:9100/

 

cerebro的安装

标签:--   nload   dig   访问   ystemd   intern   article   nec   参考   

原文地址:https://www.cnblogs.com/wintersweet321/p/12006947.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!