17 Star 126 Fork 33

百度开源 / BFE

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
install_from_source.md 914 Bytes
一键复制 编辑 原始数据 按行查看 历史
iyangsj 提交于 2020-08-10 15:53 . doc: Update installation section

Install from source code

Prerequisites

  • golang 1.13+
  • git 2.0+

Download source code

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

Build

  • Execute the following command to build bfe:
$ cd bfe
$ make

!!! tip If you encounter an error such as "https fetch: Get ... connect: connection timed out", please set the GOPROXY and try again. See Installation FAQ

  • Execute the following command to run tests:
$ make test
  • Executable object file location:
$ file output/bin/bfe
output/bin/bfe: ELF 64-bit LSB executable, ...

Run

  • Run BFE with example configuration files:
$ cd output/bin/
$ ./bfe -c ../conf -l ../log

Further reading

Go
1
https://gitee.com/baidu/BFE.git
git@gitee.com:baidu/BFE.git
baidu
BFE
BFE
develop

搜索帮助