ELK7.3.1 single deployment of elasticsearch and kibana
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