GitLab: verschil tussen versies

Uit WaaaghPedia
 
(6 tussenliggende versies door dezelfde gebruiker niet weergegeven)
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 33: Regel 42:
Veel Plezier
Veel Plezier


==Upgrades==
== 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 40: Regel 54:
</pre>
</pre>


[[Category:Selfhosted]]
[[Categorie:Linux Software]]
[[Category:CentOS]]
[[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