go启动时遇见的问题和操作
go env -w GOARCH=amd64
设置环境为amd64
go env == go environment
查询环境变量
go get -u github.com/gin-gonic/gin
安装gin框架
go help environment
go 帮助文档 环境变量
go proxy
go代码,很多包需要代理下载
go mod vendor
通过modues.txt 下载依赖到本地的vendor文件夹中
go env -w GOARCH=amd64
设置环境为amd64
go env == go environment
查询环境变量
go get -u github.com/gin-gonic/gin
安装gin框架
go help environment
go 帮助文档 环境变量
go proxy
go代码,很多包需要代理下载
go mod vendor
通过modues.txt 下载依赖到本地的vendor文件夹中
git rm -r --cached . git add . git commit -m "update .gitignore" git status查看是否是"working di...
查看命令运行的实时结果watch "ls |wc -l" 能够实时的监控命令执行的结果,不过刷新时间有点长,大概2秒,可以修改为1秒iftop查看出入网流量情况nload实时查看出入网流量情况fre...
https://blog.51cto.com/u_12965094/2788462 https://blog.csdn.net/weixin_44767040/article/details/124735520...
添加用户和组groupadd testuseradd -r -g test test删除用户和组userdel testgroupdel test给文件添加用户组和用户归属chown -R test:test test_file...
-X [POST GET PUT DELETE]参数执行http请求的方法-d参数用于发送post的请求的数据体$curl -d'login=emma&password=123'-X POST https://google....
启动脚本如下nohup java -jar testapi.jar --server.port=8080 & echo $! > pid...