记录一下gitlab社区版的安装教程

目录

1.更新系统软件包

2.安装必要的依赖

3.添加GitLab源

[3.1对于GitLab Enterprise Edition(EE):](#3.1对于GitLab Enterprise Edition(EE):)

[3.2对于GitLab Community Edition(CE):](#3.2对于GitLab Community Edition(CE):)

4.安装GitLab

[4.1安装GitLab Enterprise Edition(EE):](#4.1安装GitLab Enterprise Edition(EE):)

[4.2安装GitLab Community Edition(CE):](#4.2安装GitLab Community Edition(CE):)

5.遇到启动不起来的问题,试一下以下命令

[5.1重新配置和重启 GitLab](#5.1重新配置和重启 GitLab)


1.更新系统软件包

复制代码
sudo apt update

2.安装必要的依赖

复制代码
sudo apt install -y curl openssh-server ca-certificates

3.添加GitLab源

3.1对于GitLab Enterprise Edition(EE)

复制代码
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash

3.2对于GitLab Community Edition(CE)

复制代码
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash

4.安装GitLab

4.1安装GitLab Enterprise Edition(EE)

复制代码
sudo apt install gitlab-ee

4.2安装GitLab Community Edition(CE)

复制代码
sudo apt install gitlab-ce

5.遇到启动不起来的问题,试一下以下命令

5.1重新配置和重启 GitLab

复制代码
sudo gitlab-ctl reconfigure  
sudo gitlab-ctl restart
相关推荐
桑榆4169 小时前
双系统(Windows + Ubuntu)安装流程
linux·windows·ubuntu
ltl15 小时前
实时 OS 巡礼:VxWorks、QNX、Zephyr 与 PREEMPT_RT
linux
我是谁??15 小时前
Ubuntu22.04更换清华源
linux·运维·服务器
圣殿骑士-Khtangc16 小时前
Go字符串高效拼接性能对比与底层原理分析
服务器·前端·golang
Shell运维手记16 小时前
Linux 常用基础命令学习笔记
linux·运维·笔记·学习·算法·github
这个DBA有点耶17 小时前
数据库一体机架构演进:从硬件堆叠到软硬深度耦合
服务器·网络·数据库·硬件架构·运维开发·database·数据库架构
测试运维日常笔记18 小时前
Linux系统安装配置TigerVNC服务器完整指南
linux·运维·服务器
像风一样自由202018 小时前
加强版VScode结合remote-ssh远程连接服务器开发指南
服务器·vscode·ssh
雾时之林18 小时前
Linux----cron定时服务
linux·运维·服务器
wengqidaifeng20 小时前
1.从“会敲命令”到理解 Linux:15 个基础指令、文件树与命令执行的本质
linux·运维·服务器·ubuntu