1)登陸搭建gitlab的服務器
cd /opt/gitlab/embedded/service/gitlab-rails/config
vim gitlab.yml
2) gitlab-ctl restart