In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.