7. GitLabのインストール
• 手っ取り早くインストールしたい場合
• Install a GitLab CE Omnibus package
• https://about.gitlab.com/downloads/#centos6
• Amazon Linuxの場合、lokkitによる設定は省略
• 詳細はこちら
• Installation from source
• http://doc.gitlab.com/ce/install/installation.html
2015/11/23 7
8. 設定ファイル
• 以下の設定ファイルを編集
• sudo vi /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml
• GitLab CE Omnibus packageでインストールした環境であることが前提
2015/11/23 8
9. 編集前
#
# 3. Auth settings
# ==========================
## LDAP settings
# You can inspect a sample of the LDAP users with login access by running:
# bundle exec rake gitlab:ldap:check RAILS_ENV=production
ldap:
enabled: false
host:
port:
uid:
method: # "tls" or "ssl" or "plain"
bind_dn:
password:
active_directory:
allow_username_or_email_login:
base:
user_filter:
2015/11/23 9
10. 編集後
#
# 3. Auth settings
# ==========================
## LDAP settings
# You can inspect a sample of the LDAP users with login access by running:
# bundle exec rake gitlab:ldap:check RAILS_ENV=production
ldap:
enabled: true
host: ***.***.***.***
port: 389
uid: sAMAccountName
method: plain # "tls" or "ssl" or "plain"
bind_dn: CN=Administrator,CN=Users,DC=gitlab,DC=local
password: ********
active_directory: true
allow_username_or_email_login: false
base: DC=gitlab,DC=local
user_filter:
2015/11/23 10