标签:lis unicorn get openssh vim listen pen mirrors python
#安装依赖
yum install -y curl policycoreutils-python openssh-server
#下载软件包
wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-10.2.2-ce.0.el7.x86_64.rpm
#安装gitlab
rpm -ivh gitlab-ce-10.2.2-ce.0.el7.x86_64.rpm
修改IP和端口
vim /etc/gitlab/gitlab.rb
external_url ‘http://47.107.253.153‘
unicorn[‘port‘] = 28080
nginx[‘listen_port‘] = 9811
gitlab-ctl reconfigure
gitlab-ctl stop --停止服务
gitlab-ctl reconfigure --启动服务
访问http://47.107.253.153:9811/
标签:lis unicorn get openssh vim listen pen mirrors python
原文地址:https://www.cnblogs.com/lc19149/p/11430963.html