-3

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
  • If GOPATH/bin is not in your PATH then the result is to be expected. – Volker Jun 22 '17 at 09:33
  • I think you can follow this [link](https://github.com/beego/bee) and you can enter the `/usr/local/go/bin` to find the `bee` .If you cant find it ,you should sure the `bee` path. By the way, I think you can join a qq group to ask questions about entry. – lindexi Jun 22 '17 at 11:34

1 Answers1

0

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

Y. Eliash
  • 1,808
  • 3
  • 14
  • 23