Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

ELK7.3.1 single deployment of elasticsearch and kibana

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

The environment initializes sysctl-w vm.max_map_count=262144root@jindi-ES:/data/elasticsearch/logs# cat / etc/security/limits.conf* soft nproc 1000000 * hard nproc 1000000 * soft nofile 1000000 * hard nofile 1000000 to obtain elasticsearch and kibanaroot@fangxin-test:~# wget https://artifacts.elastic.co/downloads/kibana/kibana-7.3.1-amd64.debroot@fangxin-test:~# wget https://artifacts.elastic.co/downloads/kibana/kibana-7.3.1- Linux-x86_64.tar.gzroot@fangxin-test:~# wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.3.1.tar.gz

Root@fangxin-test:~# wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.3.1-amd64.deb

Install the root@fangxin-test:~# dpkg-I elasticsearch-7.3.1-amd64.deb root@fangxin-test:~# dpkg-I kibana-7.3.1-amd64.deb configuration file elasticsearchroot@fangxin-test:~# cat / etc/elasticsearch/elasticsearch.yml using dpkg | grep-vE "^ # | ^ $" node.name: es-1path.data: / data/elasticsearch/data path.logs: / data/elasticsearch/logsnetwork.host: 10.0.109.17 http.port: 9200cluster.initial_master_nodes: ["es-1"] kibanaroot@fangxin-test:~# cat / etc/kibana/kibana.yml | grep-vE "^ # | ^ $" server.host: 10.0.109.17elasticsearch.hosts: ["http://10.0.109.17:9200"] starts root@fangxin-test:~#/etc/init.d/elasticsearch startroot@fangxin-test:~#/etc/init.d/kibana to view startup ps-ef | grep-E" el | kibana "pay attention to error handling. ERROR: [1] bootstrap checks failed [1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured add: line 72 of elasticsearch.yml: cluster.initial_master_nodes: ["es-1"] es-1 is the node-name.ERROR you set above: [1] bootstrap checks failed [1]: the default discovery settings are unsuitable for production use At least one of [discovery.seed_hosts, discovery.seed_ providers, cluster.initial_master_nodes] must be configured # modify line 23 below config/elasticsearch.yml, release the node.name comment, and change the name node.name: es-1

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report