Cash Back Shopping. Get Deals & Save Money Shop AT Ebates Try for Free!!!!
OUT PUT:
Running handlers:
Running handlers complete
Chef Client finished, 11/400 resources updated in 23 seconds
gitlab Reconfigured!

GitLab Installation in QA server Ubuntu 16.04.2 LTS
1. Install and configure the necessary dependencies
If you install Postfix to send email please select 'Internet Site' during setup. Instead of using Postfix you can also use Sendmail or configure a custom SMTP server and configure it as an SMTP server.
sudo apt-get install curl openssh-server ca-certificates postfix
Select Default settings
2. Add the GitLab package server and install the package
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
sudo apt-get install gitlab-ce
If you are not comfortable installing the repository through a piped script, you can find the entire script here and select and download the package manually and install using
curl -LJO https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/xenial/gitlab-ce-XXX.deb/download
dpkg -i gitlab-ce-XXX.deb
3. Configure and start GitLab
sudo gitlab-ctl reconfigure
Running handlers:
Running handlers complete
Chef Client finished, 11/400 resources updated in 23 seconds
gitlab Reconfigured!
To change URL port number in gitlab
Step-1: Connect to your server
go to this directory /etc/gitlab
~# cd /etc/gitlab
Step-2: Now we have to change URL
Edit gitlab.rb file by using vi (nano) command
~# vi gitlab.rb or nano gitlab.rb
In file change url
external url 'http://IPADD:PortNo'
Step-3: After that reconfigure gitlab
~# gitlab-ctl reconfigure
Browse to the hostname and login
Username: root
Password: 5iveL!fe
No comments:
Post a Comment