- 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