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

网站主要栏目中国菲律宾篮球

网站主要栏目,中国菲律宾篮球,深圳英文网站建设去哪家,微信小程序开发代码教程1、准备三台服务器 这里准备三台服务器如下: IP地址主机名节点名192.168.225.65linux1node-1192.168.225.66linux2node-2192.168.225.67linux3node-3 2、准备elasticsearch安装环境 (1)编辑/etc/hosts#xff08;三台服务器都执行#xff09; vim /etc/hosts 添加如下内…1、准备三台服务器 这里准备三台服务器如下: IP地址主机名节点名192.168.225.65linux1node-1192.168.225.66linux2node-2192.168.225.67linux3node-3 2、准备elasticsearch安装环境 (1)编辑/etc/hosts三台服务器都执行 vim /etc/hosts 添加如下内容 192.168.225.65 linux1 192.168.225.66 linux2 192.168.225.67 linux32编辑/etc/hostname (三台服务器都执行) 在192.168.225.65上修改 echo linux1 /etc/hostname 在192.168.225.66上修改 echo linux2 /etc/hostname 在192.168.225.67上修改 echo linux3 /etc/hostname3修改系统参数 三台服务器都执行 vim /etc/security/limits.conf 修改内容如下 * soft nofile 65536 * hard nofile 131072 * soft nproc 4096 * hard nproc 4096 vim /etc/sysctl.conf 修改内容如下 vm.max_map_count 262145 保存退出刷新配置文件 sysctl -p 4上传elasticsearch安装包和创建安装用户三台服务器都执行 elasticsearch-7.8.1下载地址 这里是将elasticsearch安装包elasticsearch-7.8.1-linux-x86_64.tar.gz上传到/opt目录下 cd /opt tar -zxvf elasticsearch-7.8.1-linux-x86_64.tar.gz mv elasticsearch-7.8.1 elasticsearch7.8 useradd jamysong chown -R jamysong:jamysong /opt/elasticsearch7.8注意做完以上四步重启下三台服务器 3、安装elasticsearch (1) 编辑elasticsearch配置文件 vim /opt/elasticsearch7.8/cong/elasticsearch.yaml node1的配置文件 cluster.name: cluster-jamysong node.name: node-1 network.host: linux1 node.master: true node.data: true http.port: 9200 http.cors.allow-origin: * http.cors.enabled: true http.max_content_length: 200mb cluster.initial_master_nodes: [node-1] discovery.seed_hosts: [linux1:9300, linux2:9300,linux3:9300] gateway.recover_after_nodes: 2 network.tcp.keep_alive: true network.tcp.no_delay: true transport.tcp.compress: true cluster.routing.allocation.cluster_concurrent_rebalance: 16 cluster.routing.allocation.node_concurrent_recoveries: 16 cluster.routing.allocation.node_initial_primaries_recoveries: 16node2的配置文件 cluster.name: cluster-jamysong node.name: node-2 network.host: linux2 node.master: true node.data: true http.port: 9200 http.cors.allow-origin: * http.cors.enabled: true http.max_content_length: 200mb cluster.initial_master_nodes: [node-1] discovery.seed_hosts: [linux1:9300, linux2:9300,linux3:9300] gateway.recover_after_nodes: 2 network.tcp.keep_alive: true network.tcp.no_delay: true transport.tcp.compress: true cluster.routing.allocation.cluster_concurrent_rebalance: 16 cluster.routing.allocation.node_concurrent_recoveries: 16 cluster.routing.allocation.node_initial_primaries_recoveries: 16node3的配置文件 cluster.name: cluster-jamysong node.name: node-3 network.host: linux3 node.master: true node.data: true http.port: 9200 http.cors.allow-origin: * http.cors.enabled: true http.max_content_length: 200mb cluster.initial_master_nodes: [node-1] discovery.seed_hosts: [linux1:9300, linux2:9300,linux3:9300] gateway.recover_after_nodes: 2 network.tcp.keep_alive: true network.tcp.no_delay: true transport.tcp.compress: true cluster.routing.allocation.cluster_concurrent_rebalance: 16 cluster.routing.allocation.node_concurrent_recoveries: 16 cluster.routing.allocation.node_initial_primaries_recoveries: 16(2)启动elasticsearch 现在直接去启动每台服务器上面的elasticsearch su jamysong cd /opt/elasticsearch7.8/bin ./elasticsearch注意elasticsearch是不允许root用户启动的这里使用上面创建的安装用户jamysong启动 ! 查看启动日志如下表示启动成功 (3)检测elasticsearch集群 这里可以直接访问浏览器来检测一下集群是否搭建成功这里可以看到node-1是主节点node-2和node-3是从节点
http://www.w-s-a.com/news/153180/

相关文章:

  • 网站建设必知免费手机网站建站系统
  • ssh可以做wap网站么嘉兴seo排名
  • 站内优化包括哪些帝国做企业网站
  • 做网站seo赚钱吗网络维护和故障维修
  • 企业网站可以自己做摄影网站开发背景怎么写
  • 网站百度指数seo最好的工具
  • 宝安专业网站建设推荐设计感强的网站
  • 网站建设 6万元北京知名的品牌设计公司
  • 网站建设的总体需求是什么vmware 下wordpress
  • 光谷网站建设请检查网络
  • 申请建设网站的报告书商务网站开发课程体会
  • 网站开发实训总结致谢群晖wordpress设置
  • 关于酒店网站建设的摘要天津市建设工程信息网官网首页
  • 网站alexa排名查询手机网站制作器
  • 建设小辣猫的网站电子毕业设计网站建设
  • 询广西南宁网站运营礼品定制
  • 建筑公司网站作用免费查看招标信息的网站
  • 建筑设计公司名字起名大全html网站 怎么做seo
  • 网站群建设模板迁移原站迁移pc巩义网站建设案例课堂
  • 烟台高端网站开发wordpress 设置权限
  • 中小企业网站制作流程网站开发和设计人员的岗位要求
  • 公司网站建设多少费用河北城乡建设官网站
  • 国科联创网站建设广告传媒公司招聘信息
  • 网站后台文章删了 怎么前台还有一级做爰片软件网站
  • 辽宁省建设注册中心网站wordpress 博客插件
  • 做电商看的网站有哪些网站建设需求策划书
  • 关于网站建设交易流程的描述一句话哪些网站用户体验好
  • 男女做暖暖的网站大全深圳平台网站建设外包
  • 凯里展示型网站设计抖音代运营收费详细价格
  • 外包网站会自己做原型吗网站制作怎样盈利