安装和启动gogs,自定义的git仓库

本文档提供了Gogs从二进制文件安装的详细步骤。包括如何下载最新版本的Gogs包,针对不同操作系统(如Linux、Windows、MacOS等)的安装指导,以及如何启动Gogs服务。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >



from url: https://gogs.io/docs/installation/install_from_binary




启动,先切换到git用户:
su git
cd ~
./gogs web 或者直接在当前目录 sh start.sh





从此网页下载相应的包,


Install from binary
Downloads are only available for latest releases, older downloads can be found at releases.


All downloads come with MySQL, PostgreSQL, MSSQL and TiDB (via MySQL protocol) support, and build with tags cert. Keep in mind that support status may be different from older releases, please follow the instructions on older Gogs instances.


Notes


mws means builtin Windows service support. Please use the other one if you’re using NSSM.
How to use downloads?


Extract the archive.
cd into the directory just created.
Execute ./gogs web and you’re done.
0.11.4 @ 2017-04-05


System Type SQLite PAM Download (GitHub)
Linux 386 LOCAL: ZIP | TAR.GZ - CDN: ZIP | TAR.GZ
Linux amd64 LOCAL: ZIP | TAR.GZ - CDN: ZIP | TAR.GZ
Linux armv5 LOCAL: ZIP - CDN: ZIP
Raspberry Pi v2 / armv6 LOCAL: ZIP - CDN: ZIP
Windows 386 LOCAL: ZIP | ZIP w/ mws - CDN: ZIP | ZIP w/mws
Windows amd64 LOCAL: ZIP | ZIP w/ mws - CDN: ZIP | ZIP w/ mws
Mac OS amd64 LOCAL: ZIP - CDN: ZIP





评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值