PowerShell/docs/install-gitlab.md
2025-01-17 08:31:53 +01:00

789 B

The install-gitlab.ps1 Script

install-gitlab.ps1

Parameters



[<CommonParameters>]
    This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, 
    WarningVariable, OutBuffer, PipelineVariable, and OutVariable.

Script Content


"1. Install and configure the necessary dependencies"
& sudo apt-get update
& sudo apt-get install -y curl openssh-server ca-certificates tzdata perl


# sudo apt-get install -y postfix

"2. Add the GitLab package repository and install the package"
& curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash


(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:53)