[转帖]gooyfs 的编译 github

gooyfs,编译,github · 浏览次数 : 0

小编点评

Sure, here's a summary of the content you provided: **Problem:** * New to Git and had to figure it out. **Solutions:** * Created a directory for the GitHub project. * Used `git clone` to download the GitHub repository. * Set environment variables for GOPATH and GOOFYS_HOME. * Tracked changes in the submodule repositories. * Installed goofys using its full path. **Additional Information:** * It's important to specify the full path to the `src` directory when installing goofys. * The `PATH` variable was set to include the directory where goofys is installed. * The `go install` command installed the goofys utility in the `bin` directory. * This suggests that the `bin` directory is part of the project's path.

正文

https://github.com/kahing/goofys/issues/527

 

 

@maobaolong @PengleiShi I had the same issue as you guys, new to git and had to work it out. Here is what I did.

Create a directory for github project to download to (logged in as root, so done in root home dir):
mkdir -p go/src/github.com/kahing

Pull in goofys project:

cd go/src/github.com/kahing/
git clone https://github.com/kahing/goofys.git

Set my environment variables appropriately:

export GOPATH=/root/go
export GOOFYS_HOME=/root/go/src/github.com/kahing/goofys/

Next I went up one directory to github.com, then pulled in the Azure project (not sure if this was necessary, just documenting what I did):

cd /root/go/src/github.com
go get github.com/Azure/azure-pipeline-go

Once that finished I went back to the goofys directory and populated the submodule repositories using following commands:

cd /root/go/src/github.com/kahing/goofys
git submodule init
git submodule update

Finally, I installed goofys using full path to the src (not sure why I needed to give full path, but it only worked for me with full path):

go install /root/go/src/github.com/kahing/goofys/

The goofys utility is in the bin directory for your go project space:

PATH=$PATH:/root/go/bin; export PATH
goofys --version

Hope this helps.

与[转帖]gooyfs 的编译 github相似的内容:

[转帖]gooyfs 的编译 github

https://github.com/kahing/goofys/issues/527 @maobaolong @PengleiShi I had the same issue as you guys, new to git and had to work it out. Here is what

[转帖]编译安装goofys挂载Scaleway免费75G对象存储

日常•2022年5月29日 goofys编译 goofys是一个开源的使用Go编写的s3存储桶挂载工具,主打高性能。由于使用Go编写,没有用到什么特别的依赖,自己编译也很容易。截止2022.5.27,官方github仓库貌似一直有提交,但是提供的预编译安装包貌似只到2020年4月,而且只有x86版本

[转帖]使用 goofys 挂载 S3 bucket 为文件系统

https://xie.infoq.cn/article/7f178e0a1315f758d77c6c2bb 背景 公司的 gitlab 目前都是直接存储在物理盘上,为了确保数据不会丢失,需要重复多次备份到不同的地方,备份的过程中会有多次 IO,影响机器的性能,且随着数据量的增长,备份所需的时间也越

[转帖]goofys

Goofys is a high-performance, POSIX-ish Amazon S3 file system written in Go Overview Goofys allows you to mount an S3 bucket as a filey system. It's a

[转帖]

Linux ubuntu20.04 网络配置(图文教程) 因为我是刚装好的最小系统,所以很多东西都没有,在开始配置之前需要做下准备 环境准备 系统:ubuntu20.04网卡:双网卡 网卡一:供连接互联网使用网卡二:供连接内网使用(看情况,如果一张网卡足够,没必要做第二张网卡) 工具: net-to

[转帖]

https://cloud.tencent.com/developer/article/2168105?areaSource=104001.13&traceId=zcVNsKTUApF9rNJSkcCbB 前言 Redis作为高性能的内存数据库,在大数据量的情况下也会遇到性能瓶颈,日常开发中只有时刻

[转帖]ISV 、OSV、 SIG 概念

ISV 、OSV、 SIG 概念 2022-10-14 12:29530原创大杂烩 本文链接:https://www.cndba.cn/dave/article/108699 1. ISV: Independent Software Vendors “独立软件开发商”,特指专门从事软件的开发、生产、

[转帖]Redis 7 参数 修改 说明

2022-06-16 14:491800原创Redis 本文链接:https://www.cndba.cn/dave/article/108066 在之前的博客我们介绍了Redis 7 的安装和配置,如下: Linux 7.8 平台 Redis 7 安装并配置开机自启动 操作手册https://ww

[转帖]HTTPS中间人攻击原理

https://www.zhihu.com/people/bei-ji-85/posts 背景 前一段时间,公司北京地区上线了一个HTTPS防火墙,用来监听HTTPS流量。防火墙上线之前,邮件通知给管理层,我从我老大那里听说这个事情的时候,说这个有风险,然后意外地发现,很多人原来都不知道HTTPS防

[转帖]关于字节序(大小端)的一点想法

https://www.zhihu.com/people/bei-ji-85/posts 今天在一个技术群里有人问起来了,当时有一些讨论(不完全都是我个人的观点),整理一下: 为什么网络字节序(多数情况下)是大端? 早年设备的缓存很小,先接收高字节能快速的判断报文信息:包长度(需要准备多大缓存)、地