Loading

摘要: 以下方法需要root权限 方法一: 1、编辑/etc/profile文件,在最后添加如下内容: export GOPATH=$HOME/go 2、使用source命令使新增的环境变量立即生效: source /etc/profile 方法二: 1、在/etc/profile.d/目录下创建一个新的文 阅读全文
posted @ 2023-02-27 17:18 江小园 阅读(278) 评论(0) 推荐(0) 编辑