Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 774 Bytes

install_from_source.md

File metadata and controls

47 lines (34 loc) · 774 Bytes

源码编译安装

环境准备

  • golang 1.13+
  • git 2.0+

源码下载

$ 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

下一步