GitLab: verschil tussen versies
Uit WaaaghPedia
(13 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
Regel 1: | Regel 1: | ||
== Voorbereiding == | == Voorbereiding == | ||
==Machine=== | ===Machine=== | ||
*2 Cores | *2 Cores | ||
*4GB ram | *4GB ram | ||
Regel 10: | Regel 10: | ||
== Installatie == | == Installatie == | ||
https://about.gitlab.com/install/#centos-7 | https://about.gitlab.com/install/#centos-7 | ||
==Updates== | |||
https://docs.gitlab.com/ee/policy/maintenance.html#upgrade-recommendations | |||
<pre> | |||
sudo gitlab-rake gitlab:backup:create STRATEGY=copy | |||
sudo yum install -y gitlab-ee | |||
</pre> | |||
===Multi step updates=== | |||
https://docs.gitlab.com/omnibus/update/#multi-step-upgrade-using-the-official-repositories | |||
== HTTPS == | == HTTPS == | ||
Regel 17: | Regel 26: | ||
https://docs.gitlab.com/omnibus/settings/smtp.html | https://docs.gitlab.com/omnibus/settings/smtp.html | ||
<pre>gitlab_rails['smtp_enable'] = true | <pre>gitlab_rails['smtp_enable'] = true | ||
gitlab_rails['smtp_address'] = "smtp.server" | gitlab_rails['smtp_address'] = "smtp.server" | ||
Regel 35: | Regel 36: | ||
gitlab_rails['smtp_openssl_verify_mode'] = 'peer'</pre> | gitlab_rails['smtp_openssl_verify_mode'] = 'peer'</pre> | ||
== LDAP == | |||
== | https://docs.gitlab.com/ee/administration/auth/ldap.html | ||
Open je browser en ga naar http://gitlab.example.com en maak een root wachtwoord aan. | |||
Veel Plezier | |||
== Tweakes == | |||
=== Upload filesize === | |||
* From the Dashboard, navigate to Admin Area > Settings > General. | |||
* Expand the Account and limit section. | |||
* Fill in the Size limit per repository (MB) field. | |||
* Save changes. | |||
==Commands== | ==Commands== | ||
<pre> | <pre> | ||
Regel 60: | Regel 54: | ||
</pre> | </pre> | ||
[[ | [[Categorie:Linux Software]] | ||
[[ | [[Categorie:SelfHosted Software]] |
Huidige versie van 29 jun 2021 om 09:01
Voorbereiding
Machine
- 2 Cores
- 4GB ram
- 50GB hdd
Software
Installeer CentOS en Finetune CentOS
Installatie
https://about.gitlab.com/install/#centos-7
Updates
https://docs.gitlab.com/ee/policy/maintenance.html#upgrade-recommendations
sudo gitlab-rake gitlab:backup:create STRATEGY=copy sudo yum install -y gitlab-ee
Multi step updates
https://docs.gitlab.com/omnibus/update/#multi-step-upgrade-using-the-official-repositories
HTTPS
https://docs.gitlab.com/omnibus/settings/nginx.html#manually-configuring-https
SMTP
https://docs.gitlab.com/omnibus/settings/smtp.html
gitlab_rails['smtp_enable'] = true gitlab_rails['smtp_address'] = "smtp.server" gitlab_rails['smtp_port'] = 465 gitlab_rails['smtp_user_name'] = "smtp user" gitlab_rails['smtp_password'] = "smtp password" gitlab_rails['smtp_domain'] = "example.com" gitlab_rails['smtp_authentication'] = "login" gitlab_rails['smtp_enable_starttls_auto'] = true gitlab_rails['smtp_openssl_verify_mode'] = 'peer'
LDAP
https://docs.gitlab.com/ee/administration/auth/ldap.html
Open je browser en ga naar http://gitlab.example.com en maak een root wachtwoord aan. Veel Plezier
Tweakes
Upload filesize
- From the Dashboard, navigate to Admin Area > Settings > General.
- Expand the Account and limit section.
- Fill in the Size limit per repository (MB) field.
- Save changes.
Commands
gitlab-ctl status gitlab-ctl reconfigure