bytehound centos 7构建说明

bytehound已经提供了相关的包,但是因为依赖的glib 版本比较高,低版本的centos 不能运行(比如centos7),所以自己构建了一个版本的

准备

使用centos-release-scl, 当然还需要rust 可以先安装好,同时还需要node(需要yarn)

yum -y install centos-release-scl
yum install  -y devtoolset-7-gcc*

构建

  • clone 代码
git clone  https://github.com/koute/bytehound.git
  • 一些修改
    注意默认同时会构建前端,但是有些问题,解决方法是先自己构建webui, 然后删除server-core/build.rs 中关于删除dist 目录的
  • 构建
    注意构建和机器资源有关系,会比较慢
 
scl enable devtoolset-7 bash
cd bytehound
cargo build --release -p bytehound-preload
cargo build --release -p bytehound-cli  

说明

以上是关于bytehound centos 7构建的一些说明,后边会介绍一些使用相关的

参考资料

https://linux.die.net/man/8/ld.so
https://koute.github.io/bytehound/introduction.html
https://github.com/koute/bytehound
https://github.com/rongfengliang/bytehound-package/releases/tag/v0.11.0

posted on   荣锋亮  阅读(78)  评论(3编辑  收藏  举报

相关博文:
阅读排行:
· DeepSeek “源神”启动!「GitHub 热点速览」
· 我与微信审核的“相爱相杀”看个人小程序副业
· 上周热点回顾(2.17-2.23)
· 如何使用 Uni-app 实现视频聊天(源码,支持安卓、iOS)
· spring官宣接入deepseek,真的太香了~
历史上的今天:
2022-05-01 openresty 提供的几个新的生命周期阶段指令
2022-05-01 openresty lua 文件处理的一些技巧
2022-05-01 使用TypeScriptToLua+openresty-lua-types+docker-compose nginx resty.ipmatcher 集成使用
2021-05-01 cubestore 使用需要注意的一些问题
2021-05-01 cubestore 运行试用
2021-05-01 cube.js cubestore 生产可用了
2020-05-01 lightproxy 阿里巴巴开源的基于proxy 的web debug 工具

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示