mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-21 23:43:25 +01:00
35 lines
829 B
Markdown
35 lines
829 B
Markdown
|
Script: *install-gitlab.ps1*
|
||
|
========================
|
||
|
|
||
|
install-gitlab.ps1
|
||
|
|
||
|
|
||
|
Parameters
|
||
|
----------
|
||
|
```powershell
|
||
|
|
||
|
|
||
|
[<CommonParameters>]
|
||
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||
|
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||
|
```
|
||
|
|
||
|
Script Content
|
||
|
--------------
|
||
|
```powershell
|
||
|
|
||
|
"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
|
||
|
|
||
|
|
||
|
```
|
||
|
|
||
|
*(generated by convert-ps2md.ps1 using the comment-based help of install-gitlab.ps1 as of 11/08/2024 12:34:49)*
|