Gitlab服务器部署、汉化、数据迁移
作者: AlexTan
CSDN: http://blog.csdn.net/alextan_
Github: https://github.com/AlexTan-b-z
e-mail: alextanbz@gmail.com
操作系统:Ubuntu18.04
- 安装依赖包:
sudo apt-get install curl openssh-server ca-certificates postfix
执行完成后,出现邮件配置,选择Internet那一项(不带Smarthost的)
2. 利用清华大学的镜像来进行主程序的安装。
curl https://packages.gitlab.com/gpg.key 2> /dev/null | sudo apt-key add - &>/dev/null
(如果下载过程中访问超时出错,请用curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash,并直接跳入gitlab-ce安装)
3. gitlab-ce的下载
# 利用root用户打开文件
vim /etc/apt/sources.list.d/gitlab-ce.list
# 添加下载地址:
deb https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/ubuntu xenial main
安装 gitlab-ce:
sudo apt-get update
sudo apt-get install gitlab-ce=12.3.0-ce.0
# 生成配置文件并启动服务:
g

本文详细介绍如何在Ubuntu18.04上部署GitLab服务器,包括安装依赖、使用清华镜像加速、汉化包应用及数据迁移步骤。涵盖了从环境准备到服务启动的全过程,适合新手快速上手。
312

被折叠的 条评论
为什么被折叠?



