1. Install the Configuration dependencies
If you have installed postfix to send mail, select ' Internet Site ' during installation. You can also replace postfix with SendMail or by using a custom SMTP server. If you want to use Exim, please configure it as SMTP.
On CentOS 6 and 7, the following command also configures the system firewall to open the HTTP and SSH ports.
sudo yum install Curl openssh-server postfix Cronie
sudo service postfix start
sudo chkconfig postfix on
sudo lokkit-s http-s ssh
2. Add and install the Gitlab package
Curl Http://packages.gitlab.cc/install/gitlab-ce/script.rpm.sh | sudo bash
sudo yum install Gitlab-ce
If you are not accustomed to this way of installing through a pipeline command, you can find the complete installation script here . Alternatively, you can select the Gitlab installation package for the corresponding system and install it using the following command
wget https://mirror.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6/gitlab-ce-8.5.4-ce.0.el6.x86_64.rpm
Curl-ljo http://mirror.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6/gitlab-ce-XXX.rpm/downloadrpm-i gitlab-ce-xxx.rpm
3. Configuring and Using Gitlab
sudo gitlab-ctl reconfigure
4. Access the Gitlab host name in the browser
Username: root
Password:5iveL!fe
Gitlab Source https://mirror.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6/
Chinese:
Yum Install Patch-y
Patch-d/opt/gitlab/embedded/service/gitlab-rails-p1 < 8.5.2.diff
Need the latest version of the Chinese package of the Secret me.
This article from the "Army Brother blog" blog, reproduced please contact the author!
Centos6.5 Yum Source Installation Gitlab