How to set up Gitlab server in CentOS7
Jun 16, 2020 pm 01:42 PMThe following tutorial column of centos system introduction will introduce to you how to build a Gitlab server in CentOS7. I hope it will be helpful to friends in need!
CentOS7 to build Gitlab server
CentOSInstall the necessary Dependencies
Step 1: Install ssh
yum install -y curl policycoreutils-pythonopenssh-server
sudo systemctl enable sshd sudo systemctl start sshd
yum install firewalld systemd -y service firewalld start
firewall-cmd --permanent --add-service=http
systemctl reload firewalld
systemctl enable postfix systemctl start postfix
wget -V --检查wget版本 yum -y install wget --yum安装wget
wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-11.2.1-ce.0.el7.x86_64.rpm
rpm -i gitlab-ce-11.2.1-ce.0.el7.x86_64.rpm
yum -y install policycoreutils-python
vi /etc/gitlab/gitlab.rb
firewall-cmd --zone=public --add-port=8081/tcp --permanent
firewall-cmd --reload
The above is the detailed content of How to set up Gitlab server in CentOS7. For more information, please follow other related articles on the PHP Chinese website!

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

CentOS7 various version image download addresses and version descriptions (including Everything version)

Steps to enter CentOS 7 emergency repair mode

How to install Mysql in CentOS7 and set it to start automatically at boot

How to install mbstring extension under CENTOS7?

How to access and clean junk files in /tmp directory in CentOS 7?

How to set password rules in centos7? How to set password rules in centos7

How to modify and set the default shortcut keys of CentOS7?

Disable IPv6 for CentOS 7, use only IPv4
