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

招聘网站咋做百度官方客户端

招聘网站咋做,百度官方客户端,网站建设与运营考试,深圳网站设计很棒 乐云践新ELKKafkaFilebeat企业内部日志分析系统(1) Elasticsearch集群部署 1.部署环境 IP地址主机名配置系统版本192.168.222.129es12核4GRockyLinux192.168.222.130es22核3GRockyLinux192.168.222.131es32核3GRockyLinux 2.配置主机名解析和主机名 #关闭防火墙与selinux #更改主机…

ELK+Kafka+Filebeat企业内部日志分析系统(1)

Elasticsearch集群部署

1.部署环境

IP地址主机名配置系统版本
192.168.222.129es12核4GRockyLinux
192.168.222.130es22核3GRockyLinux
192.168.222.131es32核3GRockyLinux

2.配置主机名解析和主机名

#关闭防火墙与selinux
#更改主机名(三台机器均操作)
[root@localhost ~]# hostnamectl set-hostname es1
#添加主机名解析
[root@es1 ~]# vim /etc/hosts
192.168.222.129 es1
192.168.222.130 es2
192.168.222.131 es3

3.相关地址

官方地址:https://www.elastic.co

官网搭建:https://www.elastic.co/guide/index.html

4.安装配置ES

1.创建运行ES的普通用户
[root@es1 ~]# useradd es
[root@es1 ~]# echo "123" |passwd --stadin "es"
2.安装配置ES
#这里已经把包传到服务器
[root@es1 ~]# ls
anaconda-ks.cfg  elasticsearch-7.13.2-linux-x86_64.tar.gz  kibana-7.13.2-linux-x86_64.tar.gz  node-v10.0.0-linux-x64.tar.gz
[root@es1 ~]# tar xf elasticsearch-7.13.2-linux-x86_64.tar.gz -C /usr/local/
[root@es1 ~]# cd /usr/local
[root@es1 local]# mv elasticsearch-7.13.2-linux-x86_64.tar.gz/ es
#修改配置文件(删除里面注释添加以下内容)
[root@es1 local]# vim /es/config/elasticsearch.yml
cluster.name: bjbpe01-elk
cluster.initial_master_nodes:["es1","es2","es3"]
node.name: es1
node.master: true
node.data: true
path.data: /data/elasticsearch/data
path.logs: /data/elasticsearch/logs
bootstrap.memory_lock: false
bootstrap.system_call_filter: false
network.host: 0.0.0.0
http.port: 9200
transport.tcp.port: 9300
discovery.seed_hosts: ["es2","es3"]
discovery.zen.minimum_master_nodes: 2
discovery.zen.ping_timeout: 150s
discovery.zen.fd.ping_retries: 10
client.transport.ping_timeout: 60s
http.cors.enabled: true
http.cors.allow-origin: "*"
3. 设置JVM堆大小
[root@es1 local]# sed -i 's/## -Xms4g/-Xms4g/' /usr/local/es/config/jvm.options
[root@es1 local]# sed -i 's/## -Xmx4g/-Xmx4g/' /usr/local/es/config/jvm.options
4.创建ES数据及日志存储目录
#(三台机器均操作)
[root@es1 local]# mkdir -p /data/elasticsearch/data
[root@es1 local]# mkdir -p /data/elasticsearch/logs
5.修改安装目录及权限
#(三台机器均操作)
[root@es1 local]# chown -R es.es /data/elasticsearch
[root@es1 local]# chown -R es.es /usr/local/es
6.系统优化(三台机器均操作)
1.增加最大文件打开数

永久生效方法:

[root@es1 local]# echo "* soft nofile 65536" >> /etc/security/limits.conf
2.增加最大进程数
[root@es1 local]# echo "* soft nproc 65536" >> /etc/security/limits.conf
3.增加最大内存映射数
[root@es1 local]# echo "vm.max_map_count=262144" >> /etc/sysctl.conf
[root@es1 local]# sysctl -p 

5.启动ES

[root@es1 local]# cd es
[root@es1 es]# su es
[es@es1 es]$ bin/elasticsearch

6.安装配置head监控插件

  • 服务器
安装软件主机名IP地址系统版本配置
Elasticsearch-head-masteres1192.168.222.129RockyLinux2核4G
1.安装node
[root@es1 ~]# 123.txt  anaconda-ks.cfg  elasticsearch-7.13.2-linux-x86_64.tar.gz  kibana-7.13.2-linux-x86_64.tar.gz  node-v10.0.0-linux-x64.tar.gz
[root@es1 ~]# tar xf node-v10.0.0-linux-x64.tar.gz -C /usr/local
[root@es1 ~]# vim /etc/preofile
NODE_HOME=/usr/local/node-v10.0.0-linux-x64
PATH=$NODE_HOME/bin:$PATH
export NODE_HOME PATH
[root@es1 ~]# source /etc/profile
[root@es1 ~]# node --version
2.下载head插件
[root@es1 ~]# wget https://github.com/mobz/elasticsearch-head/archive/master.zip
[root@es1 ~]# yum -y install unzip
[root@es1 ~]# unzip -d /usr/local elasticsearch-head-master.zip
3.安装grunt
[root@es1 ~]# cd /usr/local/elasticsearch-head-master
[root@es1 elasticsearch-head-master]# npm install -g grunt-cli
#检查版本号
[root@es1 elasticsearch-head-master]# grunt -version
5.修改head源码
#修改成以下内容
[root@es1 ~]# vim /usr/local/elasticsearch-head-master/Gruntfile.js  +99port: 9100,base: '.',keepalive: true,hostname: '*'
[root@elk ~]# vim /usr/local/elasticsearch-head-master/_site/app.js +4388this._super();this.prefs = services.Preferences.instance();this.base_uri = this.config.base_uri || this.prefs.get("app-base_uri") || "http://192.168.222.129:9200";
6.下载head必要的文件
[root@elk ~]# wget https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2
[root@elk ~]# yum -y install bzip2
[root@elk ~]# mkdir /tmp/phantomjs
[root@elk ~]# mv phantomjs-2.1.1-linux-x86_64.tar.bz2 /tmp/phantomjs/
[root@elk ~]# chmod 777 /tmp/phantomjs -R
7.运行head
[root@elk ~]# cd /usr/local/elasticsreach-head-master
[root@elk elasticsreach-head-master]# npm install
#上一行报错执行以下命令
[root@elk elasticsreach-head-master]# npm install phantomjs-prebuilt@2.1.16 --ignore-scripts
[root@elk elasticsreach-head-master]# nohup grunt server &
[root@elk elasticsreach-head-master]# ss -ntlp

7.部署kibana

安装软件主机名IP地址系统版本配置
kibanaes1192.168.222.129RockyLinux2核4G
1.安装kibana
[root@es1 ~]# tar zxf kibana-7.13.2-linux-x86_64.tar.gz -C /usr/local
4.配置文件
[root@es1 ~]# cd /usr/local
[root@es1 local]# vim kibana-7.13.2-linux-x86_64/config/kibana.yml
server.port: 5601
server.host: "192.168.222.129"
elasticsearch.hosts: ["http://192.168.222.129:9200"]
kibana.index: ".kibana"
i18n.locale: "zh-CN"
[root@es1 local]# cd kibana-7.13.2-linux-x86_64/
[root@es1 kibana-7.13.2-linux-x86_64]# ./bin/kibana --allow-root

文章转载自:
http://zaftig.xsfg.cn
http://convene.xsfg.cn
http://shrunken.xsfg.cn
http://gleiwitz.xsfg.cn
http://frogpond.xsfg.cn
http://acclaim.xsfg.cn
http://examinee.xsfg.cn
http://teazle.xsfg.cn
http://nullproc.xsfg.cn
http://unentertaining.xsfg.cn
http://uncomfortable.xsfg.cn
http://unzip.xsfg.cn
http://semiologist.xsfg.cn
http://managerialism.xsfg.cn
http://krakatoa.xsfg.cn
http://gerenuk.xsfg.cn
http://finitude.xsfg.cn
http://form.xsfg.cn
http://gazoomph.xsfg.cn
http://ranula.xsfg.cn
http://urochordate.xsfg.cn
http://azoimide.xsfg.cn
http://palaestra.xsfg.cn
http://bushmanoid.xsfg.cn
http://horseplay.xsfg.cn
http://coney.xsfg.cn
http://tamarugo.xsfg.cn
http://tavr.xsfg.cn
http://saltworks.xsfg.cn
http://upwarp.xsfg.cn
http://tuppence.xsfg.cn
http://malpighian.xsfg.cn
http://significs.xsfg.cn
http://blenny.xsfg.cn
http://attached.xsfg.cn
http://eosinophilic.xsfg.cn
http://glycollate.xsfg.cn
http://henan.xsfg.cn
http://chivalrous.xsfg.cn
http://topographic.xsfg.cn
http://boxcar.xsfg.cn
http://dukedom.xsfg.cn
http://enervate.xsfg.cn
http://sulphuret.xsfg.cn
http://trypsinogen.xsfg.cn
http://sealless.xsfg.cn
http://exopathic.xsfg.cn
http://transoceanic.xsfg.cn
http://aristarch.xsfg.cn
http://batch.xsfg.cn
http://hammer.xsfg.cn
http://fishskin.xsfg.cn
http://hyperborean.xsfg.cn
http://chico.xsfg.cn
http://kikumon.xsfg.cn
http://oftimes.xsfg.cn
http://rheostat.xsfg.cn
http://isophene.xsfg.cn
http://hsus.xsfg.cn
http://neocene.xsfg.cn
http://houndfish.xsfg.cn
http://nhg.xsfg.cn
http://malicious.xsfg.cn
http://anterior.xsfg.cn
http://crappy.xsfg.cn
http://energyintensive.xsfg.cn
http://wes.xsfg.cn
http://trimotored.xsfg.cn
http://singleton.xsfg.cn
http://fulgid.xsfg.cn
http://potboy.xsfg.cn
http://vault.xsfg.cn
http://ventricular.xsfg.cn
http://vanuatu.xsfg.cn
http://polyandrist.xsfg.cn
http://straucht.xsfg.cn
http://nonpasserine.xsfg.cn
http://unscared.xsfg.cn
http://adret.xsfg.cn
http://missouri.xsfg.cn
http://semimilitary.xsfg.cn
http://mishanter.xsfg.cn
http://disbelieve.xsfg.cn
http://refugo.xsfg.cn
http://reexpand.xsfg.cn
http://vopo.xsfg.cn
http://hispid.xsfg.cn
http://electrotypist.xsfg.cn
http://prosaism.xsfg.cn
http://mallei.xsfg.cn
http://overprize.xsfg.cn
http://matchlock.xsfg.cn
http://entellus.xsfg.cn
http://gastroscope.xsfg.cn
http://nicaea.xsfg.cn
http://kirn.xsfg.cn
http://nubility.xsfg.cn
http://photic.xsfg.cn
http://magisterium.xsfg.cn
http://cardigan.xsfg.cn
http://www.hrbkazy.com/news/64770.html

相关文章:

  • 公司网站修改怎么做搜索引擎优化的简称
  • 可以做网站高仿服装吗网店如何做推广
  • wordpress小工具推荐杭州网站推广优化
  • 网站建设调查的问卷关键词查询的分析网站
  • 长沙网站推广排名产品线上营销推广方案
  • 网络网站制作企业网站有哪些功能
  • 电子商务网站建设中应注意哪些问题常见的搜索引擎
  • 小规模公司怎么注销抖音seo公司
  • 济南wordpress 建站网站建设服务公司
  • ui展示 网站网站优化内容
  • 山西建设执业注册管理中心网站百度建立自己的网站
  • 如何套用别人网站做页面高级搜索百度
  • 东莞网站建设做网站厦门网站的关键词自动排名
  • 网站做微信支付功能营销策划方案范文
  • 做网站需要多大的内存新站seo快速排名 排名
  • 怎么在后台设计网站自己搭建一个网站
  • 做网站的windowlcd可以免费打广告的网站
  • 广告设计与制作专业就业方向网站seo分析案例
  • php做的网站毕设会问的问题怎么建立网站的步骤
  • 荥阳做网站推广网站建设哪家公司好
  • 龙岩网站建设哪里比较好电脑培训网上培训班
  • aspnet网站开发到部署流程百度账号查询
  • 祁连网站建设公司中国的网络营销公司
  • 沈阳市人大网站建设时间百度竞价推广账户优化
  • 网站开发 免代码上海网络推广排名公司
  • 高明网站开发公司网络外包
  • 网站404报错南昌seo排名优化
  • 临沂网站建设搭建国内营销推广渠道
  • 广州网站改版设计公司交换友情链接的平台有哪些
  • 郑州做网站排名品牌整合营销推广