Created
September 6, 2020 07:52
-
-
Save dev-gwang/9c89a2eaa843258d9664dc26013602af to your computer and use it in GitHub Desktop.
gitlab install script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######################### | |
## 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