GitLab Build up

This is a step by step tourist for how to build up a GitLab from Bitnami VM

GitLab from Bitnami


Wiki - BitNami GitLab

General Setup

  1. Update your apache for GitLab host to

    $ sudo /opt/bitnami/apps/gitlab/bnconfig --machine_hostname
  2. Add to host
  3. Update GitLab setting to correct host display

    $ sudo vi /opt/bitnami/apps/gitlab/htdocs/config/gitlab.yml
  4. restart(need do this action once configuration change)

    $ sudo /opt/bitnami/ restart

SSH Setup

  1. Server open SSH setting

    $ sudo mv /etc/init/ssh.conf.back /etc/init/ssh.conf
    $ sudo start ssh
  2. VM open port forwarding

    Setting>Network>Port Forwarding


  3. Client generate Key-pairs

    • Linux & Mac

      $ sudo ssh-keygen
    • Windows


  4. Bidning Public key to GitLab account

    SSH Keys>Add

    SSH public

  5. Open SourceTree and clone with SSH protocal

    Clone wih SSH

    Windows need add private key to computer first, can use Pageant

Get file from Host to Client VM using SSH protocal