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