(提出的问题https://github.com/gitlabhq/gitlabhq/issues/4659)
我使用Bitnami Stack 5.4.0-0获得了GitLab 5.4
在这个版本中,没有配置邮件服务器就无法创建用户。(换句话说,5.4.0-0 还没有准备好开箱即用)
密码 将生成一个临时密码并发送给用户。用户首次登录后将被强制更改
在哪里配置 GitLab 开源 git 服务器使用的邮件服务器?
更新:GitLab 5.4 安装说明未提及如何配置与邮件服务器的连接,而仅提及如何安装 Postfix
**Note:** In order to receive mail notifications, make sure to install a
mail server. By default, Debian is shipped with exim4 whereas Ubuntu
does not ship with one. The recommended mail server is postfix and you can install it with:
sudo apt-get install -y postfix
Then select 'Internet Site' and press enter to confirm the hostname.
更新 2:sudo apt-get install -y postfix
在 Bitnami Ubuntu 上运行得到
包后缀不可用,但被另一个包引用。这可能意味着该软件包丢失、已过时或只能从其他来源获得
E: 包 'postfix' 没有安装候选
更新 3:sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
输出
[33mSystem information[0m
System: Debian wheezy/sid
Current User: git
Using RVM: no
Ruby Version: 1.9.3p448
Gem Version: 1.8.24
Bundler Version:1.3.5
Rake Version: 10.0.3
[33mGitLab information[0m
Version: 5.4.0
Revision: 94a814d
Directory: /opt/bitnami/apps/gitlab/htdocs
DB Adapter: mysql2
URL: http://gitlab.funshion.com/gitlab
HTTP Clone URL: http://gitlab.funshion.com/gitlab/some-project.git
SSH Clone URL: git@gitlab.funshion.com:some-project.git
Using LDAP: [32myes[0m
Using Omniauth: no
[33mGitLab Shell[0m
Version: 1.7.0
Repositories: /opt/bitnami/apps/gitlab/repositories/
Hooks: /opt/bitnami/apps/gitlab/gitlab-shell/hooks/
Git: /opt/bitnami/git/bin/git
更新4:如果再次打开用户页面,实际上可以设置用户密码。