Sunday, 30 July 2017

How to install GitLab in Ubuntu ?

GitLab is a web-based Git repository manager with wiki and issue tracking features, using an open source license, developed by GitLab Inc.

It has three products.

    1. Community Edition,
    2. Enterprise Edition Starter and
    3. Enterprise Edition Premium.
  
*Community Edition*

1. Install and configure the necessary dependencies

    sudo apt-get install curl openssh-server ca-certificates postfix -y

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

3. Configure and start GitLab

    sudo gitlab-ctl reconfigure

4. Browse to the hostname and login

    On your first visit, you'll be redirected to a password reset screen to provide the password for the initial administrator account. Enter your desired password and you'll be redirected back to the login screen.

    The default account's username is root. Provide the password you created earlier and login. After login you can change the username if you wish.


*Enterprise Edition*

1. Install and configure the necessary dependencies

    sudo apt-get install curl openssh-server ca-certificates postfix -y

2. Add the GitLab package server and install the package

    curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash
    sudo apt-get install gitlab-ee

3. Configure and start GitLab

    sudo gitlab-ctl reconfigure

4. Browse to the hostname and login

    On your first visit, you'll be redirected to a password reset screen to provide the password for the initial administrator account. Enter your desired password and you'll be redirected back to the login screen.

    The default account's username is root. Provide the password you created earlier and login. After login you can change the username if you wish.
  
Few screen shots represent successful implementation of Community Edition.








Source reference 

No comments:

Post a Comment

ImportError: No module named googleapiclient

Recently, I have faced ImportError: No module named googleapiclient and I would like to share knowledge to fix that problem. Open termina...