Install gitlab-shell, databases are next https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/installation.md#5-database