gitcafe - 如何搭建企业内部免费git服务器?
大家讲道理
大家讲道理 2017-04-24 09:12:46
0
11
1372

如何搭建企业内部免费git服务器?有什么好的方式没?像gitcafe那种代码托管是用的什么方式实现的?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(11)
黄舟

At present, Gitlab is the best choice.

First of all, Github Enterprise Edition is too expensive and beyond the reach of ordinary users.

Trac actually supports GIT, but it does not have some socialization and functions like fork and pull request. Moreover, things like permission management are not perfect. (Douban has developed an internal hosting system based on TracCode)

Building Gitlab is actually not difficult. Follow the official manual and you can get it done quickly.

From the internal practice of our company, it is actually a bit troublesome to find a server to do this, so we put gitlab on the virtual machine and then forward it on the host machine (this will count you You can run Linux without a machine). This makes maintenance easier. If you are too lazy to back up according to the manual, just back up the virtual machine directly. And you don’t have to worry about setting up a bunch of web servers.

If you don’t know how to set up gitlab on a virtual machine, there are actually many ready-made virtual machines you can use. Such as:
- http://bitnami.com/stack/gitlab
- http://www.turnkeylinux.org/gitlab
- gitlab has an official Vagrant VM for developers to use.

So, if you know so much about building web services, the simplest solution is:
Install a VMWare Player, download a Gitlab VMWare image from bitnami, run it, and it’s OK

One disadvantage of the Bitnami virtual machine is that it is troublesome to upgrade (he has made some changes of his own to Gitlab). Gitlab's update speed is to release a new stable version on the 22nd of every month. This rhythm is enviable. So after using bitnami Gitlab for a period of time, I used Vagrant to make an Ubuntu+Gitlab box. This way the upgrade is relatively simple, as long as you follow the manual. This virtual machine has been running stably for some time now.


Github, GitCafe and GitLab are all written using Ruby on Rails. Regarding the code hosting method, you might as well ask GitCafe webmaster @ghostm55.

小葫芦

Reference: Gitolite

I use Gitolite to build my own git server: http://git.maxchan.info/

PHPzhong

gitlab......

Peter_Zhu

GitPower

Pythonic preferred

github address: GitPower

PHPzhong

How To Set Up GitLab As Your Very Own Private GitHub Clone: ​​https://www.digitalocean.com/community/articles/how-to-set-up-gitlab-as-your-very-own-private-github- clone

This is an article from DO, introducing how to install GitLab.

Peter_Zhu

Let’s start gitlab.. There is also gitlab-ci, supporting automatic continuous integration. After the combination, most of them can be realized
GitLab is now divided into ce and ee. ee mainly optimizes the speed of very large-scale projects and the integration with existing oa, etc.

Peter_Zhu

Pythonic is good

Peter_Zhu

Gitlab can give it a try~

刘奇

Here is an article introducing how to build a private (enterprise) Git service under Debian/Ubuntu and Centos through Gitlab.

  • Use GitLab to build your own private GitHub - This is translated by SegmentFault site;
  • How To Set Up GitLab As Your Very Own Private GitHub Clone - This is the original text said by @Heroic Yang (seems to need to circumvent the firewall)
刘奇

If you are interested in the specific construction steps: CentOS installation and configuration Git Server with Gitolite

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!