基本介绍
BigfileHTTP APIRPCFTPBigfileBigfile1 MBChunksha256ChunkBigfile
BigfileAPPAPPAPPTokenHTTPSFTPSRPC
下载二进制包
进入 https://github.com/bigfile/bigfile/release... 页面下载对应平台最新的二进制包。
MacOS
在 MacOS 上安装,除了其他选择之外,还可以通过 brew 直接安装:
brew install bigfile/tap/bigfile
snapcraft
也可以通过 snapcraft 安装:
sudo snap install --classic bigfile
deb/rpm:
.dep.rpmdpkg -irpm -i
scoop
在 Windows 除了通过二进制安装,也可以通过 scoop 安装:
$ scoop bucket add bigfile https://github.com/bigfile/bigfile-bucket.git
$ scoop install bigfile
从源码安装
Go
go get -u -v github.com/bigfile/bigfile
go run artisan/bigfile.go --version
${GOPATH}/binartisanartisan.exe
go install -a -v github.com/bigfile/bigfile/artisan
bigfilebigfile.exe
go build artisan/bigfile.go
生成证书
rpc
bigfile rpc:make-cert
cacaserverIP--server-cert-ipsclientRPC.pemPEM.key
启动 HTTP Server
bigfile http:start --cert-file server.pem --cert-key server.key
启动 RPC Server
bigfile rpc:start --ca-cert ca.pem --server-cert server.pem --server-key server.key
启动 FTP Server
bigfile ftp:start --tls-enable --cert-file server.pem --key-file server.key
本作品采用《CC 协议》,转载必须注明作者和本文链接