In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
What is the process of building git private service and sinicization? For this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more small partners who want to solve this problem find a simpler and easier way.
preface
We all know that GitHub, oschina, etc. exist, and it is also a very large open source code community. If a company wants to use git to manage its code, but doesn't want everyone to hack your code, it needs to be private. GitHub private servers are expensive, and we often use gitlab to build private servers. GitHub and gitlab are provided by two companies respectively. I just joined today and am responsible for building the company's internal git private service.
environment
server version
Gitlab installation 1. Install dependency package sudo apt-get install curl opensh-server ca-certificates postfix (you can also use yum instead) 2. Use Tsinghua University mirror (https://mirror.tuna.tsinghua.edu.cn/help/gitlab-ce/) to install the main program curl https://packages.gitlab.com/gpg.key 2> /dev/null| sudo apt-key add - &>/dev/null3. Use root to modify the configuration file vi /etc/apt/sources.list.d/gitlab-ce.list#Add the following content deb https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/ubuntu xenial mainvi /etc/gitlab/gitlab.rbexternal_url 'http://8.129.xx.30/'(your server public ip) 4. Install gitlab-ce5. Start sshd and hpostfix services 6. Check that GitLab is installed and running correctly sudo gitlab-ctl status7. Visit the web page and set the password
http://8.129.xx.30/
About the construction of git private service and the process of Chinese is how to answer the question shared here, I hope the above content can be of some help to everyone, if you still have a lot of doubts not solved, you can pay attention to the industry information channel to learn more related knowledge.
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.