gitlab安装
[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-1.el6.x86_64.rpm Preparing... ########################################### [100%] 1:gitlab ########################################### [100%] 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 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 2373/redis-server 1 tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2680/nginx tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 2614/unicorn master tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1691/sshd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1510/master tcp 0 0 :::22 :::* LISTEN 1691/sshd tcp 0 0 ::1:25 :::* LISTEN 1510/master udp 0 0 0.0.0.0:68 0.0.0.0:* 3294/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 ]
联系方式QQ:326528263 EMAIL:clnking@163.com 网名:bass 分享技术 突破难点 创新思维