-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathgitlab-setup
More file actions
25 lines (18 loc) · 798 Bytes
/
gitlab-setup
File metadata and controls
25 lines (18 loc) · 798 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
################gitlab-setup ################
export LC_ALL="en_US.UTF-8" && \
export LC_CTYPE="en_US.UTF-8" && \
sudo apt-get update && \
sudo apt-get install -y curl openssh-server ca-certificates && \
sudo apt-get install -y postfix && \
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash && \
sudo EXTERNAL_URL="http://gitlab.example.com" apt-get install gitlab-ce && \
sudo gitlab-ctl reconfigure
################################
issues:
https://stackoverflow.com/questions/41956994/initdb-bin-invalid-locale-settings-check-lang-and-lc-environment-variables
export LC_ALL="en_US.UTF-8" and
export LC_CTYPE="en_US.UTF-8"
################git-clinet ################
apt-get update && \
apt-get install git -y
###############################