gitlab升級git
再來一遍如何安裝gitlab吧centos
我這裏有之前版本的rpm就不進行下載,直接放到服務器,而後安裝服務器
安裝gitlab準備工做ssh
[root@test32 software]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:firewalld(1)
[root@test32 software]# getenforce
Disabled
[root@test32 software]# ll
-rw-r--r-- 1 root root 315833620 Apr 25 2017 gitlab-ce-8.14.6-ce.0.el7.x86_64.rpmcurl
安裝依賴ide
[root@test32 software]# yum install curl policycoreutils openssh-server openssh-clientsgitlab
[root@test32 software]# systemctl enable sshd
[root@test32 software]# systemctl start sshd
[root@test32 software]# yum install postfixpost
[root@test32 software]# systemctl enable postfix
[root@test32 software]# url
安裝rpm日誌
rpm -i gitlab-ce-8.14.6-ce.0.el7.x86_64.rpm
修改配置文件中的訪問地址 [root@test32 software]# vi /etc/gitlab/gitlab.rb #external_url 'http://test32' external_url 'http://192.168.1.118' [root@test32 software]# gitlab-ctl reconfigure 接下來有不少的日誌輸出
密碼要8位
登陸成功