-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitlab.sh
More file actions
19 lines (13 loc) · 692 Bytes
/
Copy pathgitlab.sh
File metadata and controls
19 lines (13 loc) · 692 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
# update the system
apt-get update -y && sudo apt-get upgrade -y
# install the dependencies
apt-get install -y curl openssh-server ca-certificates tzdata perl postfix
wget https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh
chmod +x script.deb.sh
os=ubuntu dist=lunar ./script.deb.sh
sudo EXTERNAL_URL="https://git.neodraco.fr" apt-get install gitlab-ee
# List available versions: apt-cache madison gitlab-ee
# Specifiy version: sudo EXTERNAL_URL="https://gitlab.example.com" apt-get install gitlab-ee=16.2.3-ee.0
# Pin the version to limit auto-updates: sudo apt-mark hold gitlab-ee
# Show what packages are held back: sudo apt-mark showhold