内网搭建 GitLab
本文最后更新于 646 天前,其中的信息可能已经有所发展或是发生改变。

njupt-sast 内网搭建 GitLab 过程

下载并安装 GitLab 安装包

wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-14.0.1-ce.0.el7.x86_64.rpm
rpm -i gitlab-ce-14.0.1-ce.0.el7.x86_64.rpm

配置

vi /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml

修改
gitlab:
    ## Web server settings (note: host is the FQDN, do not include http://)
    host: git.sast.fun
    port: 80
    https: true

vi /etc/gitlab/gitlab.rb

修改
external_url 'https//git.sast.fun:80/'

刷新配置并重启

gitlab-ctl reconfigure

gitlab-ctl restart
暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇