将go相关文件放到服务器gopath对应路径下 build go文件 后台执行打包好的文件 nohup ./name & 查看进程 ps a // 现行终端机 ps x 不区分终端机 杀死进程 kill -9 进程id