怀化市蓓茜电子商务有限公司

欧拉openEuler 装配Gitlab

发布日期:2024-09-29 10:54    点击次数:167

欧拉openEuler 装配Gitlab

​​#装配GitLab

wget https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh
sudo  os=el dist=8 bash ./script.rpm.sh
sudo EXTERNAL_URL="http://xxx.xxx.xx.xx" yum install -y gitlab-ce

#查启动景色,恭候个二十来分钟

gitlab-ctl tail  

#关闭防火墙

​service firewalld stop

# 查启动密码,测试登录,用户名为root

cat /etc/gitlab/initial_root_password

#修复开机自启动

systemctl enable gitlab-runsvdir.service

#给gitlab建设ssl文凭

vim /etc/gitlab/gitlab.rb

external_url 'https://your-domain.com'
nginx['redirect_http_to_https'] = true    
nginx['ssl_certificate'] = "/etc/gitlab/ssl/server.crt"
nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/server.key"

​gitlab-ctl reconfigure

gitlab-ctl restart

本站仅提供存储行状,总共骨子均由用户发布,如发现存害或侵权骨子,请点击举报。

相关资讯

新闻动态

TOP
友情链接:

Powered by 怀化市蓓茜电子商务有限公司 @2013-2022 RSS地图 HTML地图

Copyright Powered by站群 © 2013-2024