Let me walk through the steps.
- sudo apt-get install curl openssh-server ca-certificates
- curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
- sudo apt-get install gitlab-ce
- In file /etc/gitlab/gitlab.rb
- nginx['listen_port'] = 8081
- external_url 'http://mithun.cse.iitm.ac.in'
- sudo gitlab-ctl reconfigure
- Go to localhost or mithun.cse.iitm.ac.in to set to root's password.
- Note: We tried setting up as gitlab.mithun.cse.iitm.ac.in but wasn't able to as mithun.cse.iitm.ac.in was already running an apache2 webserver from 80 port.
- Note: We decided to run on 8081 instead
- Note: We could have setup as "http://mithun.cse.iitm.ac.in/gitlab" -- I was not in favour of it.