cd /home/git/gitlab/sudo -u git -H vi config/gitlab.ymlsudo -u git -H vi /home/git/gitlab-shell/config.ymlwget -O /etc/nginx/conf.d/gitlab.conf https://gitlab.com/gitlab-org/gitlab-ce/raw/master/lib/support/nginx/gitlab-sslvi /etc/nginx/conf.d/gitlab.confmkdir -p /etc/nginx/ssl/cd /etc/nginx/ssl/openssl req -newkey rsa:2048 -x509 -nodes -days 3560 -out gitlab.crt -keyout gitlab.keychmod o-r gitlab.key