Fedora-29-install-gitlab-Fedora-29-安装gitlab

Packages

https://packages.gitlab.com/gitlab/gitlab-ce

找到对应的包下载



wget --content-disposition https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/7/gitlab-ce-11.3.12-ce.0.el7.x86_64.rpm/download.rpm -O gitlab-ce-11.3.12-ce.0.el7.x86_64.rpm

#CentOS 下载
curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
sudo yum install gitlab-ce-11.3.12-ce.0.el7.x86_64.rpm

#国内速度太慢建议在国外的服务器下载后,再下载到服务器
#linux 多线程下载
axel -n 10 http://**********/gitlab-ce-11.3.12-ce.0.el7.x86_64.rpm


[caption id="attachment_121" align="alignnone" width="984"]<img src="https://ipsec.in/wp-content/uploads/2017/09/截图_2017-09-18_12-03-12.png" alt="" width="984" height="923" class="size-full wp-image-121" /> CentOS 7 install gitlab[/caption]


➜  ~ yum install gitlab-ce-11.3.12-ce.0.el7.x86_64.rpm
已加载插件:fastestmirror, priorities
正在检查 gitlab-ce-9.5.4-ce.0.el7.x86_64.rpm: gitlab-ce-9.5.4-ce.0.el7.x86_64
gitlab-ce-9.5.4-ce.0.el7.x86_64.rpm 将被安装
正在解决依赖关系
--> 正在检查事务
---> 软件包 gitlab-ce.x86_64.0.9.5.4-ce.0.el7 将被 安装
--> 解决依赖关系完成

依赖关系解决

==============================================================================================================================================================================================
 Package                                架构                                版本                                          源                                                             大小
==============================================================================================================================================================================================
正在安装:
 gitlab-ce                              x86_64                              9.5.4-ce.0.el7                                /gitlab-ce-9.5.4-ce.0.el7.x86_64                              1.1 G

事务概要
==============================================================================================================================================================================================
安装  1 软件包

总计:1.1 G
安装大小:1.1 G
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在安装    : gitlab-ce-9.5.4-ce.0.el7.x86_64                                                                                                                                           1/1


       *.                  *.
      ***                 ***
     *****               *****
    .******             *******
    ********            ********
   ,,,,,,,,,***********,,,,,,,,,
  ,,,,,,,,,,,*********,,,,,,,,,,,
  .,,,,,,,,,,,*******,,,,,,,,,,,,
      ,,,,,,,,,*****,,,,,,,,,.
         ,,,,,,,****,,,,,,
            .,,,***,,,,
                ,*,.

     _______ __  __          __
    / ____(_) /_/ /   ____ _/ /_
   / / __/ / __/ /   / __ `/ __ \
  / /_/ / / /_/ /___/ /_/ / /_/ /
  \____/_/\__/_____/\__,_/_.___/


gitlab: Thank you for installing GitLab!
gitlab: To configure and start GitLab, RUN THE FOLLOWING COMMAND:

sudo gitlab-ctl reconfigure

gitlab: GitLab should be reachable at http://#######################
gitlab: Otherwise configure GitLab for your system by editing /etc/gitlab/gitlab.rb file
gitlab: And running reconfigure again.
gitlab:
gitlab: For a comprehensive list of configuration options please see the Omnibus GitLab readme
gitlab: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
gitlab:
It looks like GitLab has not been configured yet; skipping the upgrade script.
  验证中      : gitlab-ce-9.5.4-ce.0.el7.x86_64                                                                                                                                           1/1

已安装:
  gitlab-ce.x86_64 0:9.5.4-ce.0.el7

完毕!