ELK7.3.1 单台部署elasticsearch和kibana
发表于:2025-12-02 作者:千家信息网编辑
千家信息网最后更新 2025年12月02日,环境初始化sysctl -w vm.max_map_count=262144root@jindi-ES:/data/elasticsearch/logs# cat /etc/security/limi
千家信息网最后更新 2025年12月02日ELK7.3.1 单台部署elasticsearch和kibana
环境初始化
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获取elasticsearch和kibana
root@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
使用dpkg安装
root@fangxin-test:~# dpkg -i elasticsearch-7.3.1-amd64.deb root@fangxin-test:~# dpkg -i kibana-7.3.1-amd64.deb 配置文件
elasticsearch
root@fangxin-test:~# cat /etc/elasticsearch/elasticsearch.yml |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"]kibana
root@fangxin-test:~# cat /etc/kibana/kibana.yml |grep -vE "^#|^$"server.host: 10.0.109.17elasticsearch.hosts: ["http://10.0.109.17:9200"]启动
root@fangxin-test:~#/etc/init.d/elasticsearch startroot@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
名称
文件
注释
环境
处理
配置
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
autocad软件开发
河北回收服务器公司虚拟主机
简单网络安全知识手绘手抄报
网络安全食品作业
2020年国家网络安全月
steam饥荒创建服务器慢
php服务器代运营
excel如何匹配样本和数据库
代理服务器租用
数据库不用平衡二叉树
怎么销毁弹性公网的腾讯云服务器
excel结合数据库开发系统
哪里可以找到美国人口普查数据库
数据库中判断质数
学习网络技术要求
盐城企业软件开发哪个好
网络安全属于计算机科学吗
电脑服务器开不了机是什么原因
一起学网络安全
游戏服务器出现问题是怎么了
杭州之山服务器图片
u8无法打开请求的数据库
广州鑫鑫软件开发有限公司
http服务器发送静态文件
嵌入软件开发语言
珠海市数据库
云南工程软件开发哪家好
陕西湘子睿网络技术有限公司
常熟信息化软件开发专业服务
汽车网络技术双通道是什么意思