beego安装错误处理
1. 安装beego时无法安装go依赖包
解决办法:
$vim ~/.bashrc export GOPROXY=https://goproxy.io $source ~/.bashrc
$go get -u github.com/astaxie/beego
2. 安装bee工具时git报错
$go get -u github.com/beego/bee # cd .; git clone https://github.com/beego/bee /Users/lipeng/www/go/src/github.com/beego/bee Cloning into '/Users/lipeng/www/go/src/github.com/beego/bee'... error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54 fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed package github.com/beego/bee: exit status 128
解决办法:
$git config --global http.sslVerify false
$go get -u github.com/beego/bee
3.安装bee工具时git报 permission denied
$ go get -u github.com/beego/bee go get github.com/beego/bee: open /usr/local/go/bin/bee: permission denied
解决办法:
$sudo chmod -R 777
/usr/local/go