sysctl -w vm.max_map_count=262144
root@jindi-ES:/data/elasticsearch/logs# cat /etc/security/limits.conf
* soft nproc 1000000
* hard nproc 1000000
* soft nofile 1000000
* hard nofile 1000000
root@fangxin-test:~# wget https://artifacts.elastic.co/downloads/kibana/kibana-7.3.1-amd64.deb
root@fangxin-test:~# wget https://artifacts.elastic.co/downloads/kibana/kibana-7.3.1-linux-x86_64.tar.gz
root@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
创新互联公司坚持“要么做到,要么别承诺”的工作理念,服务领域包括:成都网站设计、成都做网站、企业官网、英文网站、手机端网站、网站推广等服务,满足客户于互联网时代的广河网站设计、移动媒体设计的需求,帮助企业找到有效的互联网解决方案。努力成为您成熟可靠的网络建设合作伙伴!root@fangxin-test:~# dpkg -i elasticsearch-7.3.1-amd64.deb
root@fangxin-test:~# dpkg -i kibana-7.3.1-amd64.deb
root@fangxin-test:~# cat /etc/elasticsearch/elasticsearch.yml |grep -vE "^#|^$"
node.name: es-1
path.data: /data/elasticsearch/data
path.logs: /data/elasticsearch/logs
network.host: 10.0.109.17
http.port: 9200
cluster.initial_master_nodes: ["es-1"]
root@fangxin-test:~# cat /etc/kibana/kibana.yml |grep -vE "^#|^$"
server.host: 10.0.109.17
elasticsearch.hosts: ["http://10.0.109.17:9200"]
root@fangxin-test:~#/etc/init.d/elasticsearch start
root@fangxin-test:~#/etc/init.d/kibana
ps -ef|grep -E "el|kibana"
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
添加: elasticsearch.yml 第72行 :cluster.initial_master_nodes: ["es-1"] es-1是你上面设置的node-name
ERROR: [1] bootstrap checks failed
[1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, d is covery.seed_providers, cluster.initial_master_nodes] must be configured
#修改config/elasticsearch.yml下约第23行,放开node.name注释,可更改名称
node.name: es-1
另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
售后响应及时
7×24小时客服热线数据备份
更安全、更高效、更稳定价格公道精准
项目经理精准报价不弄虚作假合作无风险
重合同讲信誉,无效全额退款