1、
sudo apt-get update
sudo apt-get install -y curl openssh-server ca-certificates
2、
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
3、
sudo EXTERNAL_URL="http://ip地址或者域名" apt-get install gitlab-ce
等待下載和安裝
*. *.
*** ***
***** *****
.****** *******
******** ********
,,,,,,,,,***********,,,,,,,,,
,,,,,,,,,,,*********,,,,,,,,,,,
.,,,,,,,,,,,*******,,,,,,,,,,,,
,,,,,,,,,*****,,,,,,,,,.
,,,,,,,****,,,,,,
.,,,***,,,,
,*,.
出現上述打印就代表創建成功。(由於鏡像問題,可能下載速度慢)