In this guide, we will show you how to install Gogs on a CentOS 7 VPS with MariaDB as a backend database. Gogs is a free and open-source self-hosted Git service written in the Go programming language.
Source: LXer – How to Install Gogs on CentOS 7