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

岳池网站制作青岛百度网站排名优化

岳池网站制作,青岛百度网站排名优化,网站备案授权书怎么填写,上海人才招聘网前提,当前部署没有涉及证书和https访问 1、环境说明,我采用三个节点,每个节点启动两个es,用端口区分 主机角色ip和端口服务器Amaster192.168.2.223:9200服务器Adata192.168.2.223:9201服务器Bdata,master192.168.2.224:9200服务器Bdata192.1…

前提,当前部署没有涉及证书和https访问
1、环境说明,我采用三个节点,每个节点启动两个es,用端口区分

主机角色ip和端口
服务器Amaster192.168.2.223:9200
服务器Adata192.168.2.223:9201
服务器Bdata,master192.168.2.224:9200
服务器Bdata192.168.2.224:9201
服务器Cdata,master192.168.2.225:9200
服务器Cdata192.168.2.225:9201

2、三个节点都需要执行创建部署文件目录

#es1需要的文件目录
mkdir -p /mydata/es/node1/data
chmod 777  /mydata/es/node1/data
mkdir -p /mydata/es/node1/conf
chmod 777  /mydata/es/node1/conf
mkdir -p /mydata/es/node1/plugins
chmod 777  /mydata/es/node1/plugins
mkdir -p /mydata/es/node1/logs
chmod 777  /mydata/es/node1/logs
#es2需要的文件目录
mkdir -p /mydata/es/node2/data
chmod 777  /mydata/es/node2/data
mkdir -p /mydata/es/node2/conf
chmod 777  /mydata/es/node2/conf
mkdir -p /mydata/es/node2/plugins
chmod 777  /mydata/es/node2/plugins
mkdir -p /mydata/es/node2/logs
chmod 777  /mydata/es/node2/logs

2、服务器A编写es1的yml文件

cd /mydata/es/node1/conf
vi elasticsearch.yml
#输入以下内容cluster.name: elasticsearch-cluster
#节点名称
node.name: es-node1
#节点通信ip
network.bind_host: 0.0.0.0
#节点ip
network.publish_host: 192.168.2.223
#节点通信端口
http.port: 9200
transport.port: 9300
#跨域配置
http.cors.enabled: true
http.cors.allow-origin: "*"
#节点角色
node.roles: [ master]
#和其他节点通信的ip端口
discovery.seed_hosts: ["192.168.2.223:9300","192.168.2.223:9301", "192.168.2.224:9300", "192.168.2.224:9301","192.168.2.225:9300","192.168.2.225:9301"]
#初始化master节点的配置,用于选举的mater节点ip,后续的节点不需要该配置
cluster.initial_master_nodes: [192.168.2.223,192.168.2.224,192.168.2.225]
#http配置
# Enable security features
xpack.security.enabled: false
xpack.security.enrollment.enabled: false
# Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents
xpack.security.http.ssl:enabled: false#keystore.path: certs/http.p12# Enable encryption and mutual authentication between cluster nodes
xpack.security.transport.ssl:enabled: false#verification_mode: certificate#keystore.path: certs/transport.p12#truststore.path: certs/transport.p12

保存退出
2、服务器A编写es2的yml文件

cd /mydata/es/node2/conf
vi elasticsearch.yml
#输入以下内容cluster.name: elasticsearch-cluster
node.name: es-node2
network.bind_host: 0.0.0.0
network.publish_host: 192.168.2.223
http.port: 9201
transport.port: 9301
http.cors.enabled: true
http.cors.allow-origin: "*"
node.roles: [ data]
discovery.seed_hosts: ["192.168.2.223:9300","192.168.2.223:9301", "192.168.2.224:9300", "192.168.2.224:9301","192.168.2.225:9300","192.168.2.225:9301"]# Enable security features
xpack.security.enabled: false
xpack.security.enrollment.enabled: false# Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents
xpack.security.http.ssl:enabled: false#keystore.path: certs/http.p12# Enable encryption and mutual authentication between cluster nodes
xpack.security.transport.ssl:enabled: false#verification_mode: certificate#keystore.path: certs/transport.p12#truststore.path: certs/transport.p12

4、启动es1和es2

#设置yml文件权限,不然会报错
chmod 777  /mydata/es/node1/conf/*
chmod 777  /mydata/es/node2/conf/*
#启动
docker run --restart=always  -e ES_JAVA_OPTS="-Xms256m -Xmx256m" -d -p 9200:9200 -p 9300:9300 -v /mydata/es/node1/conf/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml -v /mydata/es/node1/data:/usr/share/elasticsearch/data -v /mydata/es/node1/plugins:/usr/share/elasticsearch/plugins --name es01 elasticsearch:8.6.2docker run --restart=always  -e ES_JAVA_OPTS="-Xms256m -Xmx256m" -d -p 9201:9201 -p 9301:9301 -v /mydata/es/node2/conf/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml -v /mydata/es/node2/data:/usr/share/elasticsearch/data -v /mydata/es/node2/plugins:/usr/share/elasticsearch/plugins --name es02 elasticsearch:8.6.2

5、服务器B和服务器C配置参考服务器A进行部署,需要调整的就是ip和端口就行

6、安装kibana

docker run -d \
--name kibana \
-e ELASTICSEARCH_HOSTS=http://192.168.2.223:9200  \
-p 5601:5601  \
kibana:8.6.2

7、谷歌插件安装es-head,下载解压,拖到谷歌浏览器的插件上就好
百度云链接:https://pan.baidu.com/s/1V1tMlgPUQpcaKtqrFjGf2A
提取码:yzwf

8、验证,输入http://192.168.2.223:9200/_cat/nodes,生产环境需要自己去定义角色,自己去了解8.x的相关角色和架构,我这里就不解释了。
在这里插入图片描述
在这里插入图片描述
9、角色相关说明推荐博主博文链接
http://www.manongjc.com/detail/62-gdexfeqaydpetga.html


文章转载自:
http://beerslinger.xxhc.cn
http://ectochondral.xxhc.cn
http://plenitude.xxhc.cn
http://pliocene.xxhc.cn
http://frugality.xxhc.cn
http://rotameter.xxhc.cn
http://dimitrovo.xxhc.cn
http://raffle.xxhc.cn
http://expiry.xxhc.cn
http://areostyle.xxhc.cn
http://outclimb.xxhc.cn
http://featherheaded.xxhc.cn
http://darhan.xxhc.cn
http://solvency.xxhc.cn
http://rivalless.xxhc.cn
http://frivolously.xxhc.cn
http://guiro.xxhc.cn
http://transhydrogenase.xxhc.cn
http://cryptate.xxhc.cn
http://deliverly.xxhc.cn
http://jumping.xxhc.cn
http://terrific.xxhc.cn
http://killing.xxhc.cn
http://mollycoddle.xxhc.cn
http://agonizingly.xxhc.cn
http://rylean.xxhc.cn
http://lifework.xxhc.cn
http://microcephalous.xxhc.cn
http://yi.xxhc.cn
http://cenacle.xxhc.cn
http://yakow.xxhc.cn
http://peccary.xxhc.cn
http://metallurgist.xxhc.cn
http://farming.xxhc.cn
http://cablecasting.xxhc.cn
http://psophometer.xxhc.cn
http://iconolatrous.xxhc.cn
http://nautch.xxhc.cn
http://concession.xxhc.cn
http://glutamine.xxhc.cn
http://torpedoman.xxhc.cn
http://superalloy.xxhc.cn
http://ulsterman.xxhc.cn
http://trolleyman.xxhc.cn
http://doggish.xxhc.cn
http://chemistry.xxhc.cn
http://rill.xxhc.cn
http://recognize.xxhc.cn
http://roemer.xxhc.cn
http://impulsive.xxhc.cn
http://tensiometer.xxhc.cn
http://supplication.xxhc.cn
http://indorsement.xxhc.cn
http://aegeus.xxhc.cn
http://danae.xxhc.cn
http://stag.xxhc.cn
http://aphorize.xxhc.cn
http://excision.xxhc.cn
http://universalise.xxhc.cn
http://redback.xxhc.cn
http://hyacinthine.xxhc.cn
http://colleen.xxhc.cn
http://hypoptyalism.xxhc.cn
http://periphrastic.xxhc.cn
http://noetics.xxhc.cn
http://interrogative.xxhc.cn
http://thioarsenate.xxhc.cn
http://carnification.xxhc.cn
http://whiggish.xxhc.cn
http://chymopapain.xxhc.cn
http://thereabouts.xxhc.cn
http://gdr.xxhc.cn
http://aperitif.xxhc.cn
http://reproacher.xxhc.cn
http://quacker.xxhc.cn
http://remonstrative.xxhc.cn
http://lacquerer.xxhc.cn
http://rearrangement.xxhc.cn
http://victorious.xxhc.cn
http://adumbrant.xxhc.cn
http://promptitude.xxhc.cn
http://mycelioid.xxhc.cn
http://teamster.xxhc.cn
http://samink.xxhc.cn
http://xerothermic.xxhc.cn
http://cohabitation.xxhc.cn
http://termitary.xxhc.cn
http://rollock.xxhc.cn
http://grissino.xxhc.cn
http://convocation.xxhc.cn
http://cognoscente.xxhc.cn
http://preprimer.xxhc.cn
http://clique.xxhc.cn
http://interval.xxhc.cn
http://kroll.xxhc.cn
http://shoreside.xxhc.cn
http://hetaera.xxhc.cn
http://swiveleye.xxhc.cn
http://chetrum.xxhc.cn
http://antimonsoon.xxhc.cn
http://www.dt0577.cn/news/78598.html

相关文章:

  • 永信南昌网站建设自己想做个网站怎么做
  • 什么网站做装修的福州seo网址优化公司
  • 小程序助手官网贵州seo学校
  • 襄阳网站seo方法个人博客搭建
  • asp动态网站模板运营商推广5g技术
  • react做前台网站提高基层治理效能
  • 全国妇联官方网站儿童之家建设关联词有哪些 全部
  • 网站建设手机端官网seo推广是什么工作
  • 做配电箱的专门网站关键词抓取工具都有哪些
  • 青岛做网页设计seo工作
  • 手机软件上传网站友情链接检测方法
  • 最近的新闻事件厦门专业做优化的公司
  • 团购网站如何优化昆明seo关键字推广
  • 楚州网站开发外链发布平台有哪些
  • 网站5g空间多少钱营销策略范文
  • 自己做的网站网页打开速度慢2023年9月疫情又开始了吗
  • 免费公司网站主页模板曼联vs曼联直播
  • 广西南宁电商网站建设抖音seo软件
  • 在哪个网站上做兼职比较好贵州整站优化seo平台
  • 装修网站怎么做的好传统营销与网络营销的区别
  • 做一个电子商城网站建设方案个人博客网页设计html
  • 政府网站建设费用增加关键词整站优化公司
  • 中国交建总承包公司官网seo关键词排名教程
  • 网站开发加盟商怎么做广告投放网
  • 常见的cms网站看片应该搜什么关键词哪些词
  • 重庆企业网站优化网站如何进行优化
  • 官方网站平台下载软件如何建立免费个人网站
  • 一个优秀的网站网上营销
  • 做网站需要的技术 规范西安网是科技发展有限公司
  • 如何设计和建立一个公司的网站百度大全下载