self hosted git server tutorial - How to Run Your Own Git Server with Gitea

preview_player
Показать описание
In this 30 minute tutorial we are going to install and configure our own self hosted git server using the Open Source Gitea software.

If you have ever asked any of these questions then this video is for you :-).
what is github?
how to use github?
what is github used for?
what is git?
what is a git?
how to install git?

Why Create Your Own Git Server?

Improved security
GitHub, and other services, provide good protective parameters but accidents can happen, and have happened in the past. In general, having any sensitive data on third-party servers should be avoided.
More control
Managing your git server means you can customize and optimize the hosting environment for your needs specifically. Many of the premium options you get on your own server for free will cost you extra on a hosted service.
More options
There’s no reason why you can’t do a combination of both. If someone on your teams want to host their part of the project on GitHub, or another service, they’re free to do that. Git is decentralized. You can have multiple remote repository locations.

Here is the Agenda
Setup self hosted git repository with gitea IN 30 MINUTES

Install Pre-requisites (git, wget, apache2)
In order to get gitea we have to install wget and git if not already installed. We want to run gitea behind a proxy so that we can increase the security of our system

Install MariaDB
Gitea can use a wide variety of DB’s including MariaDB/MySQL, PostreSQL, SQLite and TiDB. We will use MariaDB because it is just our preference

Install Gitea

Install LetsEncrypt and create SSL certificate for encrypted communication
We further want to secure our environment by integrating SSL (Secure Socket layer) so all our traffic can be encrypted. For this we will install LetsEncrypt and create the SSL certificates. We will further lock down The AWS firewall as well as the EC2 server Rules
Рекомендации по теме
Комментарии
Автор

Hey, just one question -
As a backup, is it possible to restore the database from a .sql dump file if we move to a different sever?

bkcy
Автор

Is that "Masterclass" or "Master Mask"?

anonymous