Linux (centos7) build gitlab

Linux (centos7) build gitlab

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

1. Download the installation package of gitlab###

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

2. Use the file upload tool to upload the installation package to linux

3. Enter the directory where the installation package is located, and execute the following command###

  1. yum install -y curl policycoreutils-python openssh-server cronie
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
  1. rpm -ivh /opt/gitlab-ce-10.8.2-ce.0.el7.x86_64.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
  1. yum install postfix

  2. service postfix start

  3. 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)

  1. gitlab-ctl start

  2. Browser access ip address http://192.168.131.130

  1. Set root password

  2. log in

  1. Enter gitlab homepage

gitlab service operation###

Initial configuration gitlab

Start gitlab

Stop gitlab

Recommended Posts

Linux (centos7) build gitlab
CentOS8.1 build Gitlab server detailed tutorial
Centos6 method steps to build gitlab
Build Nginx environment on Linux (CentOS)
(centos7) linux build nginx load balancing build
CentOS7 build jenkins
Centos build lnmp
Centos7 build python3.8.5+scrapy+gerapy
CentOS 7 install Gitlab
CentOS7.3 64 bit, build Zabbix3.4
CentOS build private git
Linux Network Foundation (CentOS7)
Build k8s1.9.9 on centos7
CentOS6.7 build LNMP environment
Centos6.9 build rabbitmq 3.6.8 cluster
Centos7.6 build LNMP environment
Linux Centos7 install jdk1.8
Centos7 build Kubernetes cluster
CentOS (linux) install PostgreSQL
Jenkins build on centos
Linux notes (1): CentOS-7 installation
Build Hadoop in CentOS
Centos7 build DNS service
Linux CentOS 7 installation tutorial
CentOS 7 build LNMP environment
Centos 7 install JDK (Linux install jdk)
Build docker environment under Centos6.5
[Linux] Build Samba server (ubuntu16.04)
CentOs7.3 build Solr stand-alone service
Build OpenV** Server under CentOS7
CentOs7.3 build RabbitMQ 3.6 stand-alone service
Build zabbix monitoring zabbix4.2 in CentOS7.6
Know Linux and install CentOS
Build OpenLDAP server under CentOS7
Build zabbix monitoring zabbix4.2 in CentOS7.6
Build MariaDB replication on CentOS
Linux Centos7 install redis tutorial
Install MySQL 8.0.16 on Linux Centos
CentOs7.3 build ZooKeeper-3.4.9 stand-alone service
3 partitioning tools under CentOS Linux
Install MySQL under Linux (CentOS 7)
Linux CentOS 7 virtual machine clone
CentOs7.3 build SolrCloud cluster service
CentOS 6.8 under linux install mongodb
Ubuntu16.04 build GitLab server tutorial
CentOS8 Linux 8.0.1905 installation process (illustration)
Linux centos system boot process
CentOS 8 (2)
CentOS7 installation and maintenance of Gitlab
Build a PXC cluster under CentOS8
Linux CentOS 7 install JDK detailed steps
Install MySQL on Linux CentOS7 (Windows)
Linux: Centos7 upgrade the original kernel
Build an FTP server under centos7
​Install Oracle database on CentOS Linux
CentOS 8 (1)
Build Elasticsearch 6.2.4 (centos) based on docker
Centos7 build java web server tomcat
Build Discuz Forum based on CentOS
Build Yum private warehouse in Centos7.3
Linux CentOS6 compile and install Pyt