• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

水底的小鱼鱼

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

View Post

efk日志系统安装

YUM源配置:
rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch

cat > /etc/yum.repos.d/elk.repo << EOF
[elastic-7.x]
name=Elastic repository for 7.x packages
baseurl=https://artifacts.elastic.co/packages/7.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
EOF
========================================
安装方式:
yum安装,指定版本
yum install -y elasticsearch-7.4.2-1.x86_64 filebeat-7.4.2-1.x86_64 kibana-7.4.2-1.x86_64 logstash-7.4.2-1.noarch

启动es

chown -R elasticsearch:elasticsearch /etc/elasticsearch/

chown -R elasticsearch:elasticsearch /var/lib/elasticsearch/

chown -R elasticsearch:elasticsearch /var/log/elasticsearch/

 

#修改 cluster.initial_master_nodes  和 network.host
cat /etc/elasticsearch/elasticsearch.yml  

systemctl start    elasticsearch
通过ip + port 9022 访问

 

posted on 2021-03-02 15:59  水底的小鱼鱼  阅读(104)  评论(0)    收藏  举报

刷新页面返回顶部
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3