centos7 安裝 gitlab

 

yum install -y policycoreutils-python


wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-13.8.0-ce.0.el7.x86_64.rpm
rpm -i gitlab-ce-13.8.0-ce.0.el7.x86_64.rpm


vi /etc/gitlab/gitlab.rb
unicorn['port'] = 8099
postgresql['shared_buffers'] = "256MB"
postgresql['max_connections'] = 200


//重新配置gitlab
sudo gitlab-ctl reconfigure


//重啓gitlab
gitlab-ctl restart


// 查看gitlab-ctl命令的幫助信息
gitlab-ctl --help

 

gitlab-ctl tail  查看error.log

 

 

 

 

 

 

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章