在ubuntu14.04上安装gitlab时出现问题

时间:2015-09-20 11:09:09

标签: ubuntu install gitlab

我想在Ubuntu 14.04上安装gitlab,我已经安装了postfix和openssh-server。我还下载了" gitlab-ce_7.10.5~omnibus-1_amd64.deb" (步骤在this page)。 然后我输入了:dpkg -i /home/gary/下载/gitlab-ce_7.10.5~omnibus-1_amd64.deb

输出如下:

gary@gitlab:~$ sudo dpkg -i /home/gary/下载/gitlab-ce_7.10.5~omnibus-1_amd64.deb 
[sudo] password for gary: 
Selecting previously unselected package gitlab-ce.
(正在读取数据库 ... 系统当前共安装有 173323 个文件和目录。)
Preparing to unpack .../gitlab-ce_7.10.5~omnibus-1_amd64.deb ...
Unpacking gitlab-ce (7.10.5~omnibus-1) ...
正在设置 gitlab-ce (7.10.5~omnibus-1) ...
dpkg-query: package 'gitlab' is not installed
使用 dpkg --info (= dpkg-deb --info) 来检测打包好的文件,
还可以通过 dpkg --contents (= dpkg-deb --contents) 来列出它们的内容。
gitlab: Thank you for installing GitLab!
gitlab: Configure and start GitLab by running the following command:
gitlab: 
gitlab: sudo gitlab-ctl reconfigure
gitlab: 
gitlab: GitLab should be reachable at http://gitlab.ng60.com
gitlab: Otherwise configure GitLab for your system by editing /etc/gitlab/gitlab.rb file
gitlab: And running reconfigure again.
gitlab: 
gitlab: For a comprehensive list of configuration options please see the Omnibus GitLab readme
gitlab: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
gitlab: 
It looks like GitLab has not been installed yet; skipping the upgrade script.

似乎安装失败并且未安装gitlab。 真的吗? 我很困惑!

1 个答案:

答案 0 :(得分:0)

似乎只是说因为之前没有安装过,所以没有运行升级脚本。

检查apt-cache show gitlab输出。 它应该说:Status: install ok config-files在第二行。