DevOps Tools/SCM/GitLab
From r00tedvw.com wiki
(Difference between revisions)
(→Git Lab) |
(→Git Lab) |
||
Line 5: | Line 5: | ||
===Dependencies and Configuration=== | ===Dependencies and Configuration=== | ||
<nowiki>~$ sudo yum install -y curl policycoreutils-python openssh-server cronie | <nowiki>~$ sudo yum install -y curl policycoreutils-python openssh-server cronie | ||
− | ~$sudo systemctl enable sshd | + | ~$ sudo systemctl enable sshd |
− | ~$sudo systemctl start sshd | + | ~$ sudo systemctl start sshd |
− | ~$sudo firewall-cmd --permanent --add-service=http | + | ~$ sudo firewall-cmd --permanent --add-service=http |
− | ~$sudo systemctl reload firewalld</nowiki> | + | ~$ sudo systemctl reload firewalld</nowiki> |
Setup Postfix | Setup Postfix | ||
<nowiki>~$ sudo yum install postfix | <nowiki>~$ sudo yum install postfix |
Revision as of 11:18, 26 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 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
~$ 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