Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 799 Bytes

install_from_source.md

File metadata and controls

52 lines (35 loc) · 799 Bytes

源码编译安装

环境准备

  • golang 1.17+
  • git 2.0+
  • glibc-static 2.17+

源码下载

$ git clone https://github.com/bfenetworks/bfe

编译

  • 执行如下命令编译:
$ cd bfe
$ make

!!! tip 如果遇到超时错误"https fetch: Get ... connect: connection timed out", 请设置代理后重试,详见安装常见问题

  • 执行如下命令运行测试:
$ make test
  • 可执行目标文件位置:
$ file output/bin/bfe
output/bin/bfe: ELF 64-bit LSB executable, ...

运行

  • 基于示例配置运行BFE:
$ cd output/bin/
$ ./bfe -c ../conf -l ../log

下一步