IT漫步

技术生活札记©Yaohui


Enable LFS (Large File Storage) in GitLab

Refer to official docs: https://docs.gitlab.com/ce/administration/lfs/manage_large_binaries_with_git_lfs.html Requirements Git LFS is supported in GitLab starting with version 8.2 Git LFS must be enabled under project settings Git LFS client version 1.0.1 and up   1. Enable LFS on GitLab Server a). Configuration for Omnibus installations In  /etc/gitlab/gitlab.rb: # Change to true to enable lfs - enabled by default …


Gitlab Omnisharp package – Change LDAP DN for external user

Scenario: Change DN from “cn=李小李,ou=IT中心,ou=XX公司,dc=xx,dc=com” to “cn=李小李,ou=HR Dept,ou=XX公司,dc=xx,dc=com” for user #11. Step 1 – Connect to boundled PostgreSQL database # sudo gitlab-psql -d gitlabhq_production psql (10.9) Type "help" for help. gitlabhq_production=# Refer to: https://docs.gitlab.com/omnibus/settings/database.html#connecting-to-the-bundled-postgresql-database Step 2 – Search user DN by user id in the psql shell gitlabhq_production=# select * from identities where provider = …

Proudly powered by WordPress