千家信息网

Heka的编译安装方法

发表于:2025-02-05 作者:千家信息网编辑
千家信息网最后更新 2025年02月05日,本篇内容主要讲解"Heka的编译安装方法",感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习"Heka的编译安装方法"吧!官方文档:http://hekad.re
千家信息网最后更新 2025年02月05日Heka的编译安装方法

本篇内容主要讲解"Heka的编译安装方法",感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习"Heka的编译安装方法"吧!

官方文档:http://hekad.readthedocs.io/en/v0.10.0/installing.html

Prerequisites (all systems):

  • CMake 3.0.0 or greater http://www.cmake.org/cmake/resources/software.html

  • Git http://git-scm.com/download

  • Go 1.4 or greater http://golang.org/dl/

  • Mercurial http://mercurial.selenic.com/wiki/Download

  • Protobuf 2.3 or greater (optional - only needed if message.proto is modified)http://code.google.com/p/protobuf/downloads/list

  • Sphinx (optional - used to generate the documentation) http://sphinx-doc.org/

  • An internet connection to fetch sub modules

  1. Check out the heka repository:

    git clone https://github.com/mozilla-services/heka
  2. Source (Unix-y) or run (Windows) the build script in the heka directory:

    cd hekasource build.sh # Unix (or `. build.sh`; must be sourced to properly setup the environment)build.bat  # Windows

You will now have a hekad binary in the build/heka/bin directory.

  1. (Optional) Run the tests to ensure a functioning hekad:

    ctest             # All, see note# Or use the makefile targetmake test         # Unixmingw32-make test # Windows

Note

In addition to the standard test build target, ctest can be called directly providing much greater control over the tests being run and the generated output (see ctest -help). i.e., 'ctest -R pi' will only run the pipeline unit test.

  1. Run make install to install libs and modules into a usable location:

    make install         # Unix


如果出现问题,

-- GeoIP.h was not found, GeoIP functionality will not be included in this build.
-- Docker plugins enabled.
-- sphinx-build was not found, the documentation will not be generated.
CMake Error at cmake/externals.cmake:10 (message):
patch not found
Call Stack (most recent call first):
CMakeLists.txt:111 (include)

说明patch命令没有安装

yum install patch即可。

到此,相信大家对"Heka的编译安装方法"有了更深的了解,不妨来实际操作一番吧!这里是网站,更多相关内容可以进入相关频道进行查询,关注我们,继续学习!

方法 编译 内容 学习 实用 更深 兴趣 命令 官方 实用性 实际 操作简单 文档 更多 朋友 网站 问题 频道 查询 数据库的安全要保护哪些东西 数据库安全各自的含义是什么 生产安全数据库录入 数据库的安全性及管理 数据库安全策略包含哪些 海淀数据库安全审计系统 建立农村房屋安全信息数据库 易用的数据库客户端支持安全管理 连接数据库失败ssl安全错误 数据库的锁怎样保障安全 山海鲸可视化软件服务器 承德银行股份有限公司 网络安全 我的世界服务器卡神器 一般asp搭配的数据库 数据库如何查找对象信息 启动项没有sql服务器 日照市网络安全应急服务支撑单位 怎样将表格变成数据库 趣味网络安全技术 周口市网络安全和技术侦查支队 天润通汇网络技术有限公司 2018年4月网络安全会议 工行软件开发中心面试地点 江苏通用软件开发售后服务 catia有数据库吗 禁铁拳服务器战地5 信息化网络安全教育培训 上海腾文网络技术有限公司 南京学习软件开发公司哪个好 识别车牌用了什么神经网络技术 mac搭建ftp服务器 政府软件开发项目合同范本 杭州医疗健康软件开发 药房电脑网络安全维护 软件开发流程把控 软件开发项目管理下载 神武APP用什么软件开发 提报世界互联网领先科技成果 新基建网络安全管理 系统数据库为什么会坏掉
0