gitlab安装

时间:2024-07-10 15:06:14
[root@localhost ~]# wget https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh
[root@localhost ~]# chmod +x script.rpm.sh
[root@localhost ~]# ./script.rpm.sh

网盘地址:https://pan.baidu.com/s/1c1JHXXQ

[root@ok Downloads]# rpm -ivh gitlab-7.1.1_omnibus-.el6.x86_64.rpm
Preparing... ########################################### [%]
:gitlab ########################################### [%]
Thank you for installing GitLab!
You can configure GitLab for your system by running the following command: sudo gitlab-ctl reconfigure
[root@localhost src]# gitlab-ctl reconfigure
[root@localhost ~]# netstat -lnutp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 127.0.0.1: 0.0.0.0:* LISTEN /redis-server
tcp 0.0.0.0: 0.0.0.0:* LISTEN /nginx
tcp 127.0.0.1: 0.0.0.0:* LISTEN /unicorn master
tcp 0.0.0.0: 0.0.0.0:* LISTEN /sshd
tcp 127.0.0.1: 0.0.0.0:* LISTEN /master
tcp ::: :::* LISTEN /sshd
tcp ::: :::* LISTEN /master
udp 0.0.0.0: 0.0.0.0:* /dhclient
[root@localhost ~]# /etc/init.d/iptables stop
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: [ OK ]

gitlab安装