操作系统是ubuntu12.04,先下载gitlab deb,https://www.gitlab.com/downloads/
参考地址:https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
apt-get install postfix wget https://downloads-packages.s3.amazonaws.com/gitlab_6.7.2-omnibus-1.ubuntu.12.04_amd64.deb sudo dpkg -i gitlab_6.7.2-omnibus-1.ubuntu.12.04_amd64.deb sudo gitlab-ctl reconfigure