您好,登錄后才能下訂單哦!
sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config
setenforce 0
systemctl disable firewalld.service
systemctl stop firewalld.service
firewall-cmd --zone=public --add-port=80/tcp --permanent
firewall-cmd --zone=public --add-port=80/udp --permanent
firewall-cmd --reload
安裝gitlabyum install gitlab-ce-12.4.2-ce.0.el7.x86_64
優化gitlabvim /etc/gitlab/gitlab.rb
external_url 'http://192.168.11.247'
#我沒有搭建dns,直接填ip
unicorn['worker_timeout'] = 60
unicorn['worker_processes'] = 2 #官方建議cpu核數加1
unicorn['worker_memory_limit_min'] = "200 * 1 << 20"
unicorn['worker_memory_limit_max'] = "300 * 1 << 20"
postgresql['shared_buffers'] = "256MB"
postgresql['max_worker_processes'] = 8
啟動gitlab
校驗: gitlab-ctl reconfigure
啟動: gitlab-ctl start
訪問gitlab
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。