Copyright statement: This article is the original article of the blogger and follows the CC 4.0 BY-SA copyright agreement. Please attach the original source link and this statement for reprinting.
Link to this article: https://blog.csdn.net/qq_37618797/article/details/91350289
Official website:
https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/7/gitlab-ce-10.8.2-ce.0.el7.x86_64.rpm
Netdisk: https://pan.baidu.com/s/1V9ntuFsfZA5e0cnqje_8Og Extraction code: jeb8
wget --content-disposition https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/7/gitlab-ce-12.3.0-ce.0.el7.x86_64.rpm/download.rpm
rpm -ivh /data/ gitlab-ce-12.3.0-ce.0.el7.x86_64.rpm
(3. lokkit -s http -s ssh
service stop iptables
sudo systemctl enable sshd
sudo systemctl start sshd
sudo firewall-cmd --permanent --add-service=http
sudo systemctl reload firewalld
yum install postfix
service postfix start
chkconfig postfix on
(Curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash sudo EXTERNAL_URL="http://gitlab.example.com" yum -y install gitlab- ce) The above is yum installation
8.gitlab-ctl reconfigure (this process takes a long time)
gitlab-ctl start
Browser access ip address http://192.168.131.130
Set root password
log in
Initial configuration gitlab
Start gitlab
Stop gitlab
Recommended Posts