<?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; arm64</title>
	<atom:link href="http://www.osyunwei.com/archives/tag/arm64/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下arm64架构编译安装go-fastdfs</title>
		<link>https://www.osyunwei.com/archives/14371.html</link>
		<comments>https://www.osyunwei.com/archives/14371.html#comments</comments>
		<pubDate>Thu, 27 Jun 2024 07:42:19 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[arm64]]></category>
		<category><![CDATA[fastdfs]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=14371</guid>
		<description><![CDATA[需求：服务器是arm64架构，go-fastdfs没有arm64的二进制包 lscpu #查看系统的 CPU 架构信息 Architecture: aarch64 解决办法：源码编译安装go-fastdfs 1、安装golang环境安装 参考：https://www.osyunwei.com/archives/14314.html 2、下载go-fastdfs https://github.com/sjqzhang/go-fastdfs/archive/refs/tags/v1.4.0.tar.gz 上传安装包到/data/soft 目录 cd /data/soft tar zxvf go-fastdfs-1.4.0.tar.gz #解压 mv go-fastdfs-1.4.0 /data/server/go/gopath #移动到项目路径 cd /data/server/go/gopath/go-fastdfs-1.4.0 mv vendor src export GO111MODULE=off #禁用 Go 模块的在线下载功能。在这种情况下，Go 将不会尝试从远程仓库下载依赖项，而是依赖于 GOPATH 中已经存在的本地包 pwd=`pwd` GOPATH=$pwd go build -o fileserver fileserver.go 在当前目录会生成fileserver二进制文件。 拷贝fileserver到go-fastdfs安装目录，执行./fileserver即可 至此，Linux下arm64架构编译安装go-fastdfs完成。 &#160;&#160;&#160;&#160;&#160;» 本文链接：https://www.osyunwei.com/archives/14371.html» 订阅本站：https://www.osyunwei.com/feed» 转载请注明来源：系统运维 » Linux下arm64架构编译安装go-fastdfs<p><a rel="bookmark" href="https://www.osyunwei.com/archives/14371.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/14371.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
