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 
文章作者: 若海; 原文链接: https://www.rehiy.com/post/109/; 转载需声明来自技术写真 - 若海

添加新评论