go build ./index.go 会生成一个index的运行文件 nohup index & 后台运行index文件 killall index 你可能还要关闭index 转载于:https://www.cnblogs.com/bysir/p/5816729.html