A
GitLab is an open source project for the warehouse management system.
Use Git as a code management tool and build on this Web service.
Application feature Editing
1. The Web framework uses Ruby on Rails.
Two
1. Set up Yum source installation
GitLab (Tsinghua University GitLab Community Edition Mirror use)
https://mirror.tuna.tsinghua.edu.cn/help/gitlab-ce/
# Vi/etc/yum.repos.d/gitlab-ce.repo
[Gitlab-ce]
Name=gitlab-ce
Baseurl=http://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7
Repo_gpgcheck=0
Gpgcheck=0
Enabled=1
Gpgkey=https://packages.gitlab.com/gpg.key
# re-execute
# sudo yum Makecache
# sudo yum install gitlab-ce-y
2, or directly download the installation;
# wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6/gitlab-ce-8.8.0-ce.0.el6.x86_64.rpm
# rpm-i gitlab-ce-xxx.rpm
3, plug-in services;
If you want to use Postfix to send mail, select ' Internet Site ' during installation, or you can use Sendmai or configure the SMTP service and send mail using SMTP;
On Centos 6 and 7 systems, the following command will open the HTTP and SSH ports inside the system firewall.
# sudo yum install curl openssh-server openssh-clients postfix Cronie
4. Start the installation update GitLab
# sudo gitlab-ctl reconfigure
650) this.width=650; "src=" http://s2.51cto.com/wyfs02/M01/82/E7/wKiom1djyjniDDMWAADL3haJtcU263.jpg "title=" 5917. JPG "alt=" wkiom1djyjniddmwaadl3hajtcu263.jpg "/>
# sudo gitlab-ctl status
# Check the operation of the program after installation;
650) this.width=650; "src=" http://s1.51cto.com/wyfs02/M02/82/E5/wKioL1djyrCS6BwPAABkO5lfrWU292.jpg "style=" float: none; "title=" 175043.jpg "alt=" Wkiol1djyrcs6bwpaabko5lfrwu292.jpg "/>
5, Access;
Http://IP
650) this.width=650; "src=" http://s1.51cto.com/wyfs02/M02/82/E7/wKiom1djyZrQPVyhAADbG2mhCMo888.jpg "title=" 5023. JPG "style=" float:none; "alt=" wkiom1djyzrqpvyhaadbg2mhcmo888.jpg "/>
New User login Prompt to set the password, and then create user to login;
Unloading:
# yum Remove gitlab-ctl-y
Note: (This is a 64-bit system, if the execution fails, please root user operation/root/directory execution, installation location/etc/gitlab/)
Official documents:
https://www.gitlab.cc/downloads/#centos6
Chinese documents:
Https://doc.gitlab.cc/omnibus/maintenance/README.html#starting-and-stopping
GITLAB installation;