« Gitlab : Installation » : différence entre les versions

De www.yakakliker.org
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 46 : Ligne 46 :




‎<html>
‎<html>
<a href='https://ko-fi.com/K3K1152TZU' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi3.png?v=6' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
<script src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script>
<script>
  kofiWidgetOverlay.draw('yakakliker', {
    'type': 'floating-chat',
    'floating-chat.donateButton.text': 'Donate',
    'floating-chat.donateButton.background-color': '#00b9fe',
    'floating-chat.donateButton.text-color': '#fff'
  });
</script>
‎</html>
‎</html>

Version du 20 janvier 2025 à 13:46

Installation

sudo apt install ca-certificates curl openssh-server postfix tzdata perl

sudo apt-get install -y postfix

Concernant Postfix, voir sa configuration ici : Postfix : Configuration avec authentification SMTP

Ajout du repository

curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash

Lancement de l'installation

Paramétrer au préalable le DNS public afin d'obtenir automatiquement les certificats let's Encrypt

sudo EXTERNAL_URL="https://gitlab.yakakliker.org" apt-get install gitlab-ce

Sinon, éditer le fichier :

sudo nano /etc/gitlab/gitlab.rb

& renseigner :

external_url 'https://your_domain'

...

letsencrypt['contact_emails'] = ['sammy@example.com']

Puis relancer la configuration

sudo gitlab-ctl reconfigure


A l'issue, se connecter sur l'interface web :

https://your_domain
  • Username: root
  • Password: [the password listed on /etc/gitlab/initial_root_password]


Lien

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-gitlab-on-ubuntu

https://about.gitlab.com/install/#debian