安装 Go 环境
建站不啰嗦,上手跟我做(二十三)Go 环境配置
配置 git
建站不啰嗦,上手跟我做(二十四)Git 环境配置
配置 Lute Http
获取并编译 lute-http
[root@localhost local]# go get -u github.com/b3log/lute-http
# cd .; git clone https://github.com/b3log/lute-http /root/go/src/github.com/b3log/lute-http
Cloning into '/root/go/src/github.com/b3log/lute-http'...
fatal: unable to find remote helper for 'https'
package github.com/b3log/lute-http: exit status 128
- 安装 golang,然后获取并编译
go get -u github.com/b3log/lute-http
- 编译成功后将在 ${GOPATH}/bin 下生成名为
lute-http
的可执行文件
- 启动 lute-http 后再启动 Solo、Pipe、Sym 即可,如果成功的话 Solo 等的启动日志中会输出
[Lute] is available
- 需要通过 nohup 和
&
让进程在后台运行:nohup ./lute-http > lute-http.log 2>&1 &