gitlab安装

1.下载rpm包

地址:https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/?C=M

2.安装依赖

yum -y install policycoreutils-python openssh-server
# 没有policycoreutils-python 安装 policycoreutils-python-utils
systemctl enable sshd
systemctl start sshd

3.安装gitlab的rpm包

**注意不要用yum安装,有坑

rpm -Uvh gitlab-ce-15.2.0-ce.0.el7.x86_64.rpm

4.启动gitlab

gitlab-ctl reconfigure
gitlab-ctl restart

 

posted @   卷叶小树  阅读(52)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 从HTTP原因短语缺失研究HTTP/2和HTTP/3的设计差异
· 三行代码完成国际化适配,妙~啊~
点击右上角即可分享
微信分享提示