Ubuntu 安装 GitLab

系统环境

Ubuntu-Server-14.04

参考文档

http://doc.gitlab.com/omnibus

安装GitLab

# 注册PPA源
wget https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh
sudo bash script.deb.sh && rm script.deb.sh
# 安装必备包
sudo aptitude install -y openssh-server gitlab-ce postfix
sudo gitlab-ctl reconfigure
# 连接数据库
sudo -u gitlab-psql /opt/gitlab/embedded/bin/psql -h /var/opt/gitlab/postgresql -d 
none
最后修改于:2022年04月24日 10:19

添加新评论