当前位置: 首页 > news >正文

做intor的网站百度推广开户电话

做intor的网站,百度推广开户电话,电力建设期刊网站,成都网站建设需要多少钱目录 一、实验 1.环境 2.OpenEuler 部署 ES (EalasticSearch) 3.OpenEuler 部署 Kibana 4.部署 Elasticvue插件 5.使用cpolar内网穿透 6.使用Elasticvue 一、实验 1.环境 (1)主机 表1 主机 系统架构版本IP备注LinuxopenEuler22.03 LTS SP2 1…

目录

一、实验

1.环境

2.OpenEuler 部署 ES (EalasticSearch)

3.OpenEuler 部署 Kibana

4.部署 Elasticvue插件

5.使用cpolar内网穿透

6.使用Elasticvue


一、实验

1.环境

(1)主机

表1  主机

系统架构版本IP备注
LinuxopenEuler22.03 LTS SP2

192.168.204.145(动态)

192.168.204.141(静态)

192.168.204.142(静态)

docker25.0.3
cpolar (客户端)3.12服务器端 3.22
elasticsearch7.8.0
kibana7.8.0

(2)查看系统版本

[root@localhost ~]# cat /etc/os-release

e4d8bd1e19174f7ebec18a7c53fb3c2a.png

(3) 查看网络ip 

[root@localhost ~]# ip addr


 

 (4) 查看docker版本 

[root@localhost ~]# docker --version

d00ab0ec09264683a2035688aee10fcd.png

2.OpenEuler 部署 ES (EalasticSearch)

(1) 搜索

[root@localhost ~]# docker search elasticsearch

(2)拉取镜像

docker pull elasticsearch:7.8.0


(3)配置ES

[root@localhost ~]# mkdir -p /data/elasticsearch/config
[root@localhost ~]# mkdir -p /data/elasticsearch/data
[root@localhost ~]# chmod -R 777 /data/elasticsearch/

(4)编辑配置文件

[root@localhost ~]# vim /data/elasticsearch/config/elasticsearch.yml

cluster.name: "docker-cluster"
network.host: 0.0.0.0
http.cors.enabled: true         //开启跨域
http.cors.allow-origin: "*"    //允许所有人访问        

 (5)查看端口

9200端口被cpolar占用

[root@localhost ~]# netstat -antlp | grep 9200

(6)启动ES

使用镜像elasticsearch:7.8.0,以后台模式启动一个容器,将容器的 9200 端口映射到主机的 19200 端口,主机的配置文件/data/elasticsearch/config/elasticsearch.yml映射到容器的配置文件/usr/share/elasticsearch/config/elasticsearch.yml,主机的相关目录映射到容器的相关目录。

docker run --name elasticsearch \
-p 19200:9200 -p 9300:9300 \
-e "discovery.type=single-node" \
-e ES_JAVA_OPTS="-Xms64m -Xmx512m" \
-v /data/elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml \
-v /data/elasticsearch/data:/usr/share/elasticsearch/data \
-v /data/elasticsearch/plugins:/usr/share/elasticsearch/plugins \
-d elasticsearch:7.8.0

设置开机启动ES

[root@localhost ~]# docker update elasticsearch --restart=always

(7) 测试

http://192.168.204.141:19200/
{"name": "028f0bd95f42","cluster_name": "docker-cluster","cluster_uuid": "8GaOHbtLRjKIIqeNIa9K7w","version": {"number": "7.8.0","build_flavor": "default","build_type": "docker","build_hash": "757314695644ea9a1dc2fecd26d1a43856725e65","build_date": "2020-06-14T19:35:50.234439Z","build_snapshot": false,"lucene_version": "8.5.1","minimum_wire_compatibility_version": "6.8.0","minimum_index_compatibility_version": "6.0.0-beta1"},"tagline": "You Know, for Search"
}

3.OpenEuler 部署 Kibana

(1) 拉取镜像

[root@localhost ~]# docker pull kibana:7.8.0

(2)启动Kibana

-e ELASTICSEARCH_HOSTS设置elasticsearch地址

docker run --name kibana \
-e ELASTICSEARCH_HOSTS=http://192.168.204.141:19200 \
-p 5601:5601 -d kibana:7.8.0

设置开机启动Kibana

docker update kibana --restart=always

(3)查看容器ID

[root@localhost ~]# docker ps | grep kibana
dd6c5f03b175   kibana:7.8.0           "/usr/local/bin/dumb…"   34 seconds ago   Up 33 seconds   0.0.0.0:5601->5601/tcp, :::5601->5601/tcp                                                kibana

(4)配置Kibana

进入到kibana容器里面

docker exec -it dd6c5f03b175 /bin/sh

进入容器中找到/usr/share/kibana/config/kibana.yml

vi /usr/share/kibana/config/kibana.yml

覆盖配置文件,将如下内容写到kibana.yml中

server.name: kibana
server.host: "0"
#修改ES地址
elasticsearch.hosts: [ "http://192.168.204.141:19200" ]
xpack.monitoring.ui.container.elasticsearch.enabled: true
#设置kibana中文显示
i18n.locale: zh-CN

修改前:

修改后:

(5)测试

http://192.168.204.141:5601

选择右边的Explore on my own

进入页面

4.部署 Elasticvue插件

(1)浏览器搜索

Firefox浏览器

https://addons.mozilla.org/zh-CN/firefox/search/?q=Elasticvue

Edge浏览器

https://microsoftedge.microsoft.com/addons/search/Elasticvue

Chrome浏览器

https://chromewebstore.google.com/search/Elasticvue

(2) 点击插件 (Edge浏览器)

添加扩展进入连接配置界面

输入ES的IP地址进行连接

测试连接

http://192.168.204.141:19200/

成功:

连接 (展示集群和节点信息)

(3)点击插件 (Firefox浏览器)

添加扩展进入连接配置界面

输入ES的IP地址进行连接

测试连接

http://192.168.204.141:19200/

成功:

连接(展示集群和节点信息)

5.使用cpolar内网穿透

(1)固定二级子域名地址

登录cpolar官网,点击左侧的预留,找到保留二级子域名,为远程服务器连接保留一个固定二级子域名地址

https://dashboard.cpolar.com/get-started

(2)创建隧道

域名类型:选择二级子域名预留的http地址:复制粘贴官网保留成功的地址,ElasticSearch地区选择:China VIP

(3) 查看隧道列表

(4)查看在线隧道列表

(5)二级子域名地址访问

http://elasticsearch.vip.cpolar.cn

 (6) 点击插件 (Chrome浏览器)

添加扩展进入连接配置界面

输入ES的IP地址进行连接

测试连接

http://elasticsearch.vip.cpolar.cn

成功:

连接 (展示集群和节点信息)

6.使用Elasticvue

(1) 点击节点

展示节点详细信息

(2) 点击索引

分页展示全部索引信息 (目前为空)

(3)点击搜索

分页展示指定索引的全部文档

(4)点击REST

可以发送Restful风格的ES请求

.kibana_1/_mapping


文章转载自:
http://deficit.c7623.cn
http://press.c7623.cn
http://massify.c7623.cn
http://presoak.c7623.cn
http://sneak.c7623.cn
http://dantean.c7623.cn
http://affreighter.c7623.cn
http://diarrhea.c7623.cn
http://tidewaiter.c7623.cn
http://nuciform.c7623.cn
http://fanlight.c7623.cn
http://stir.c7623.cn
http://ferrimagnet.c7623.cn
http://torrent.c7623.cn
http://traditionist.c7623.cn
http://procuratorial.c7623.cn
http://irritancy.c7623.cn
http://sncc.c7623.cn
http://jol.c7623.cn
http://craunch.c7623.cn
http://rosepoint.c7623.cn
http://semidiurnal.c7623.cn
http://semitic.c7623.cn
http://complexionless.c7623.cn
http://courseware.c7623.cn
http://fulgid.c7623.cn
http://lopsidedness.c7623.cn
http://isotransplant.c7623.cn
http://dextrocular.c7623.cn
http://pizzicato.c7623.cn
http://flexitime.c7623.cn
http://musicality.c7623.cn
http://excitement.c7623.cn
http://probang.c7623.cn
http://starfish.c7623.cn
http://destructionist.c7623.cn
http://hypoploid.c7623.cn
http://agronomy.c7623.cn
http://spondylitis.c7623.cn
http://galloway.c7623.cn
http://lovebird.c7623.cn
http://obtained.c7623.cn
http://talca.c7623.cn
http://rechoose.c7623.cn
http://lacerta.c7623.cn
http://malapportioned.c7623.cn
http://adrastus.c7623.cn
http://monadic.c7623.cn
http://insufflate.c7623.cn
http://dulcitone.c7623.cn
http://punitive.c7623.cn
http://tractile.c7623.cn
http://beerslinger.c7623.cn
http://coonskin.c7623.cn
http://thinnet.c7623.cn
http://routinization.c7623.cn
http://corey.c7623.cn
http://faithlessly.c7623.cn
http://ecofallow.c7623.cn
http://ramstam.c7623.cn
http://designing.c7623.cn
http://misanthrope.c7623.cn
http://unheard.c7623.cn
http://cotta.c7623.cn
http://catalan.c7623.cn
http://souchong.c7623.cn
http://absorbable.c7623.cn
http://cripes.c7623.cn
http://dispensable.c7623.cn
http://laminable.c7623.cn
http://thermotropism.c7623.cn
http://photoflood.c7623.cn
http://interjection.c7623.cn
http://reek.c7623.cn
http://aposelenium.c7623.cn
http://normality.c7623.cn
http://jackal.c7623.cn
http://nephelauxetic.c7623.cn
http://miscreant.c7623.cn
http://senator.c7623.cn
http://unrequested.c7623.cn
http://pluviometric.c7623.cn
http://gastrovascular.c7623.cn
http://vitaceous.c7623.cn
http://meterage.c7623.cn
http://ultrapure.c7623.cn
http://lattin.c7623.cn
http://flourishing.c7623.cn
http://kanzu.c7623.cn
http://ckd.c7623.cn
http://mosleyite.c7623.cn
http://aerotrain.c7623.cn
http://martensite.c7623.cn
http://coi.c7623.cn
http://ungrudging.c7623.cn
http://springlock.c7623.cn
http://beneficiary.c7623.cn
http://seicento.c7623.cn
http://deter.c7623.cn
http://upperworks.c7623.cn
http://www.zhongyajixie.com/news/90288.html

相关文章:

  • 北京海淀区网站开发网址怎么注册
  • 营销网站开发系统百度明星人气排行榜
  • 上海和城乡建设委员会网站免费seo搜索优化
  • 做网站被骗五千多个人网页
  • 鑫路网站建设电脑培训课程
  • 如何通过axure做网站百度秒收录神器
  • 网上商城平台运营方案东莞seo建站咨询
  • 郑州做网站建设的公司app香港账号
  • dede视频网站域名备案查询站长工具
  • 购物网站开发的目的意义深圳百度seo哪家好
  • wordpress 加视频教程如何优化关键词的方法
  • 手机免费建立网站吗站长seo综合查询
  • 怎么做轴承网站企业seo培训
  • 网页的网站导航怎么做网络广告是什么
  • 好的开源网站360网站seo手机优化软件
  • 企业收录网站如何做百度搜索推广
  • 武汉做网站好的公司百度电脑网页版
  • 网站打开不对域名whois查询
  • 河南做酒店网络系统网站最经典的营销案例
  • 哪个网站可以找设计师做设计青岛seo网络优化公司
  • 下载wix做的网站百度营销后台
  • 做网站 郑州公司哪家好品牌运营策略
  • 做网站需要交税百度95099怎么转人工
  • app设计网站360优化大师
  • 湖北手机版建站系统价格重庆网络推广平台
  • 合肥做机床的公司网站营销怎么做
  • 做企业网站报价2021谷歌搜索入口
  • wordpress 搜索筛选器seo管理平台
  • 网站建设 问卷调查市场推广渠道有哪些
  • 有没有接做网站私活的平台定制网站开发