DevOps Tools/SCM/GitLab
From r00tedvw.com wiki
Overview | Continuous Integration (CI) | Source Control Management (SCM) | Containerization | Configuration
Contents |
Git Lab
Installing
Done on a CentOS7 machine. Reference
Dependencies and Configuration
~$ sudo yum install -y curl policycoreutils-python openssh-server cronie ~$ sudo systemctl enable sshd ~$ sudo systemctl start sshd ~$ sudo firewall-cmd --permanent --add-service=http ~$ sudo systemctl reload firewalld
Setup Postfix
~$ sudo yum install postfix ~$ sudo systemctl enable postfix ~$ sudo systemctl start postfix
Download Gitlab and Install
~$ sudo curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
Configure. After Gitlab 10.7, if you specified the External URL to be https
then gitlab will automatically use Let's Encrypt to generate the SSL certificate.
~$ sudo EXTERNAL_URL="https://localhost/gitlab" yum install -y gitlab-ce