DevOps Tools/SCM/GitLab

From r00tedvw.com wiki
(Difference between revisions)
Jump to: navigation, search
(Download Gitlab and Install)
(Download Gitlab and Install)
Line 16: Line 16:
  
 
==Download Gitlab and Install==
 
==Download Gitlab and Install==
  <nowiki>~$ sudo curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash</nowiki>
+
  <nowiki>~$ sudo curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash</nowiki>
 
Configure.  After Gitlab 10.7, if you specified the External URL to be <code>https</code> then gitlab will automatically use Let's Encrypt to generate the SSL certificate.
 
Configure.  After Gitlab 10.7, if you specified the External URL to be <code>https</code> then gitlab will automatically use Let's Encrypt to generate the SSL certificate.
 
  <nowiki>~$ sudo EXTERNAL_URL="https://gitlab.example.com" yum install -y gitlab-ee
 
  <nowiki>~$ sudo EXTERNAL_URL="https://gitlab.example.com" yum install -y gitlab-ee

Revision as of 11:47, 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

~$ 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://gitlab.example.com" yum install -y gitlab-ee
Personal tools
Namespaces

Variants
Actions
Navigation
Mediawiki
Confluence
DevOps Tools
Ubuntu
Ubuntu 22
Mac OSX
Oracle Linux
AWS
Windows
OpenVPN
Grafana
InfluxDB2
TrueNas
OwnCloud
Pivotal
osTicket
OTRS
phpBB
WordPress
VmWare ESXI 5.1
Crypto currencies
HTML
CSS
Python
Java Script
PHP
Raspberry Pi
Canvas LMS
Kaltura Media Server
Plex Media Server
MetaSploit
Zoneminder
ShinobiCE
Photoshop CS2
Fortinet
Uploaded
Certifications
General Info
Games
Meal Plans
NC Statutes
2020 Election
Volkswagen
Covid
NCDMV
Toolbox