GitLab is an open source project for a warehouse management system. Use Git as a code management tool, and built up on the basis of web services.
On the official website of the face GitLab support Ubuntu is good, there is a more detailed installation guide.
Introducing postfix where there is a small part of the pit, the paper initiate solve some pit I met.
In this paper, for Ubuntu 14.04, describes how to install GitLab. Other Ubuntu can be used as a reference.
1. Install libraries and software needed
For more details, please refer to the official download address, which has introduced the installation.
Regardless of what you can execute the following commands directly. Note that when you install postfix, the need for some of the options
Simply put, postfix is used to send messages, due to the need to send a verification message, so this is the need to install, as to what the specific device to send e-mail is optional here to choose the official recommended postfix, it may be relatively pit less of it.
I think if it is to configure the SMTP server postfix more complicated, I do not do here presented, you can refer to other information.
To make it easier I put the message sent out direct mail using mail service, only you need to set smtp server on the list.
sudo apt-get install curl openssh-server ca-certificates postfix
2. Add GitLab packages and install
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
sudo apt-get install gitlab-ce
sudo dpkg -i gitlab-ce_7.10.5 ~ omnibus-1_amd64.deb
3. Configure and start GitLab
After configuration is complete, execute the following command to make the change take effect.
sudo gitlab-ctl reconfigure
Sometimes you also need to restart postfix. (Optional)
sudo /etc/init.d/postfix restart
4. Access GitLab
So you can visit:
http://192.168.1.10:8080 be accessed GitLab of the.