蜜蜂不可执行

Using ubuntu15.go get github.com/beego/bee

root@hao:/var/www/go/bin# ls
bee
root@hao:/var/www/go/bin# bee
未找到 'bee' 命令.(Bee command not found)

profile:

export GOPATH=/var/www/go
export GOROOT=/usr/local/go
export PATH=$GOROOT/bin:$PATH

first check that your binary is executable (run ls -l) and check that "x" is part of the permission of your user (if you're not sure, just runchmod +x bee)

Second, to execute a binary in unix you should type ./bee