DevOps Tools/SCM/GitLab
From r00tedvw.com wiki
(Difference between revisions)
m (R00t moved page DevOps Tools\SCM\GitLab to DevOps Tools/SCM/GitLab) |
|||
Line 1: | Line 1: | ||
− | [[DevOps_Tools | + | [[DevOps_Tools/Overview|Overview]] | [[DevOps_Tools/CI|Continuous Integration (CI)]] | [[DevOps_Tools/SCM|Source Control Management (SCM)]] | [[DevOps_Tools/Containerization|Containerization]] | [[DevOps_Tools/Configuration|Configuration]] |
− | [[DevOps_Tools\SCM\GitLab|Git Lab]] | + | =[[DevOps_Tools\SCM\GitLab|Git Lab]]= |
− | =Installing= | + | ==Installing== |
Done on a CentOS7 machine. [https://about.gitlab.com/installation/#centos-7 Reference] | Done on a CentOS7 machine. [https://about.gitlab.com/installation/#centos-7 Reference] | ||
− | ==Dependencies and Configuration== | + | ===Dependencies and Configuration=== |
<nowiki>~$ sudo yum install -y curl policycoreutils-python openssh-server | <nowiki>~$ sudo yum install -y curl policycoreutils-python openssh-server | ||
~$sudo systemctl enable sshd | ~$sudo systemctl enable sshd | ||
Line 15: | Line 15: | ||
~$ sudo systemctl start postfix</nowiki> | ~$ sudo systemctl start postfix</nowiki> | ||
− | =Download Gitlab and Install= | + | ==Download Gitlab and Install== |
<nowiki>~$ wget https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | <nowiki>~$ wget https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | ||
~$ sudo chmod +x ./script.rpm.sh | ~$ sudo chmod +x ./script.rpm.sh |
Revision as of 16:59, 18 December 2018
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 ~$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
~$ wget https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh ~$ sudo chmod +x ./script.rpm.sh ~$ ./script.rpm.sh
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://gitlab.example.com" yum install -y gitlab-ee