In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains the whole process of building gitlab under linux. The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn the whole process of building gitlab under linux.
Gitlab building
Home page: https://about.gitlab.com/
Installation instructions: https://about.gitlab.com/installation/
Preparation actions: gitlab installation package, lokkit command installation, Linux environment, networking
1. Install lokkit yum-y install lokkit
two。 Upload the installation package to opt
3. Extract the gitlab installation package
Rpm-ivh / opt/gitlab-ce-10.8.2-ce.0.el7.x86_64.rpm
4. Execute the command in turn
Yum install-y curl policycoreutils-python openssh-server cronielokkit-s http-s sshyum install postfixservice postfix startchkconfig postfix on curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bashEXTERNAL_URL= "http://gitlab.example.com" yum-y install gitlab-ce
Note: turn off the firewall, or lokkit will fail
Reboot is needed at this point: reboot
Gitlab service operation
initialization configuration gitlab gitlab-ctl reconfigure
This command takes a long time to execute, and my own computer takes 20 minutes, when I see
It means it's done.
starts the gitlab service gitlab-ctl start
stops gitlab service gitlab-ctl stop
Find gitlab.rb.
Edit cd / etc/gitlab/vim gitlab.rb/external_url to your own server address
You can access the IP address of the Linux server. If you want to access the domain name specified by EXTERNAL_URL, you also need to configure the domain name server or local hosts file.
Thank you for reading, the above is the content of "the whole process of building gitlab under linux". After the study of this article, I believe you have a deeper understanding of the whole process of building gitlab under linux, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.