<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>系统运维 &#187; golang</title>
	<atom:link href="http://www.osyunwei.com/archives/tag/golang/feed" rel="self" type="application/rss+xml" />
	<link>https://www.osyunwei.com</link>
	<description>国产化OS/AnolisOS/openEuler/RHEL/CentOS/Rocky Linux/Debian/Ubuntu Linux FreeBSD 服务器教程 &#124; Windows Server 2003/2008/2012/2016/2019/2022/2025服务器教程</description>
	<lastBuildDate>Tue, 14 Apr 2026 10:59:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux下golang环境安装</title>
		<link>https://www.osyunwei.com/archives/14314.html</link>
		<comments>https://www.osyunwei.com/archives/14314.html#comments</comments>
		<pubDate>Fri, 12 Apr 2024 09:09:22 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[go]]></category>
		<category><![CDATA[golang]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=14314</guid>
		<description><![CDATA[标准官网：https://golang.org/ 镜像官网：https://golang.google.cn/dl/ 下载地址：https://dl.google.com/go/go1.22.2.linux-amd64.tar.gz mkdir -p /data/soft #创建目录 把安装包上传到/data/soft目录下 操作系统：CentOS-7.x 1、创建安装目录 mkdir -p /data/server/go mkdir -p /data/server/go/gopath 2、安装 cd /data/soft tar -zxvf /data/soft/go1.22.2.linux-amd64.tar.gz -C /data/server/go --strip-components 1 3、设置环境变量 vi /etc/profile #set go environment export GO111MODULE=on export GOPROXY=https://goproxy.cn,direct # 安装 Go 模块时，国内代理服务器设置 export GOROOT=/data/server/go export GOPATH=/data/server/go/gopath export PATH=$PATH:$GOROOT/bin:$GOPATH/bin :wq! #保存退出 source /etc/profile #使配置立即生效 go env #校验环境是否正常 go [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/14314.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/14314.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
