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

作者: Blackie
版權聲明: 本站所有文章除特別聲明外,均採用 CC BY 4.0 許可協議。轉載請註明來源 Blackie !
Isomorphic Javascript with React and NodeJS Isomorphic Javascript with React and NodeJS
Reuse,這是developer最喜歡但也最難做到的部分,往往在一些限制與挑戰下我們會遇到無法重用我們既有的經驗與能力。但如果有機會讓我們再選一次,我們一定會先問有可以參考或是重用的嗎? Isomorphic正是強調這樣精神的一個架構
ReactJS AKA the V in MVC ReactJS AKA the V in MVC
ReactJS是Facebook推出的framework, 再搭配FLUX的架構下讓FB網頁上面更新資料的快速性與開發架構得到的顯著改善,也因此讓大家開始想去了解它的魅力。