Skip to content

Instantly share code, notes, and snippets.

@dev-gwang
Created September 6, 2020 07:52
Show Gist options
  • Save dev-gwang/9c89a2eaa843258d9664dc26013602af to your computer and use it in GitHub Desktop.
Save dev-gwang/9c89a2eaa843258d9664dc26013602af to your computer and use it in GitHub Desktop.
gitlab install script
#########################
## CentOS 7 Minimal Base
#########################
yum update -y
yum install wget net-tools vim -y
yum groupinstall -y "Development Tools"
#########################
## git install
#########################
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.28.0.tar.xz
tar -xvf git-2.28.0.tar.xz
cd git-2.28.0
./configure
make -j10
make install
#########################
## gitlab install
#########################
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash
yum install -y gitlab-ee
gitlab-ctl reconfigure
gitlab-ctl start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment