You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sudo apt-get install openssh-server
# If postfix or sendmail are not installed, install postfix and select 'Internet Site'; if this server# will not handle mail for your setup, the domain entered during installation MUST NOT be the same# as the server handling mail. For instance, use git.yourdomain.com instead of yourdomain.com.
sudo apt-get install postfix
wget https://downloads-packages.s3.amazonaws.com/ubuntu-14.04/gitlab_7.5.1-omnibus.5.2.0.ci-1_amd64.deb
sudo dpkg -i gitlab_7.5.1-omnibus.5.2.0.ci-1_amd64.deb
Edit /etc/gitlab/gitlab.rb to look similar to the following:
# Check and change the external_url to the address your users will type in their browser# If you aren't using SSL, change 'https' to 'http'
external_url 'https://git.yourdomain.com'
nginx['enable'] = false
web_server['external_users'] = ['www-data']
gitlab_rails['gitlab_email_from'] = '[email protected]'# Uncomment the following to use a different directory than GitLab's packages default to# git_data_dir '/srv/git'
Run sudo gitlab-ctl reconfigure
Copy the nginx configuration file into place:
# For an SSL site
sudo cp /opt/gitlab/embedded/service/gitlab-rails/lib/support/nginx/gitlab-ssl /etc/nginx/sites-available/git.nginx
# For an HTTP site
sudo cp /opt/gitlab/embedded/service/gitlab-rails/lib/support/nginx/gitlab /etc/nginx/sites-available/git.nginx