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位
登陆成功