# win10 上安装 GitLab

# 1. 安装

打开 Ubuntu 18.06.6 LTS

执行如下命令:

# 切 root 账户
sudo su

# 当前目录
cd /home/wuqinfei

# ????
curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash


Detected operating system as Ubuntu/bionic.
Checking for curl...
Detected curl...
Checking for gpg...
Detected gpg...
Running apt-get update... done.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/gitlab_gitlab-ce.list...done.
Importing packagecloud gpg key... done.
Running apt-get update... done.


# 下载
wget --content-disposition https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/focal/gitlab-ce_16.2.1-ce.0_amd64.deb/download.deb

gitlab-ce_16.2.1-ce.0_amd64.d 100%[=================================================>]   1.25G  8.16MB/s    in 3m 18s


# 解压
dpkg -i gitlab-ce_16.2.1-ce.0_amd64.deb

失败

# 2. 参考

本章目录