This is a step by step tourist for how to build up a GitLab from Bitnami VM
GitLab from Bitnami
General Setup
Update your apache for GitLab host to example.com
$ sudo /opt/bitnami/apps/gitlab/bnconfig --machine_hostname example.com
Add example.com to host
127.0.0.1 example.com
Update GitLab setting to correct host display
$ sudo vi /opt/bitnami/apps/gitlab/htdocs/config/gitlab.yml host: example.com
restart(need do this action once configuration change)
$ sudo /opt/bitnami/ctlscript.sh restart
SSH Setup
Server open SSH setting
$ sudo mv /etc/init/ssh.conf.back /etc/init/ssh.conf $ sudo start ssh
VM open port forwarding
Setting>Network>Port Forwarding
portClient generate Key-pairs
Linux & Mac
$ sudo ssh-keygen
Windows
Bidning Public key to GitLab account
SSH Keys>Add
SSH publicOpen SourceTree and clone with SSH protocal
Clone wih SSHWindows need add private key to computer first, can use Pageant
Get file from Host to Client VM using SSH protocal
- Mac & Windows
FileZilla - Client - Windows
WinSCP