How to set up Gitlab for Continuous Integration and Deployment on CentOS

In this tutorial I will explain how to set up a local Gitlab Server for CI (Continuous Integration) / CD (Continuous Deployment). Since the scope of DevOps is quite large, this tutorial focuses on setting up the Gitlab server under local conditions. We will use the Gitlab Community Edition to set up in our local environment.