LogoopenSUSE Build Service > Projects
Sign Up | Log In

Preconfigured GitLab 9.2-stable for "localhost"

Gitlab preconfigured for a private local host.

Select the gitlab-config-mysql-apache package for a preconfigured install.

The service will use the `hostname -f` as system name, so this command has to work correctly BEFORE installing the packages. Please make sure your DNS is working.
Add the <fqdn> and gitlab.<fqdn> to your DNS records and/or to your /etc/hosts file.

Gitlab can be reached at: http://gitlab.<fqdn>

User:     root
Password: <your password>

Topics that will need manual configuration:

 * Mail confirmation:
     cd /srv/www/vhosts/gitlab-ce/config/initializers
     cp smtp_settings.rb.sample smtp_settings.rb
     chown root.gitlab smtp_settings.rb

   Edit the settings and restart GitLab: systemctl restart gitlab

   Example setting for a GMail account:
     address: "smtp.gmail.com",
     port: 587,
     user_name: "your.name@gmail.com",
     password: "your password",
     domain: "smtp.gmail.com",
     authentication: :login,
     enable_starttls_auto: true,
     openssl_verify_mode: 'none'

Other users/passwords used:
User:     root
Password: opensuse
User:     gitlab
Password: gitlab1234


This is not a safe setup.
Do NOT use this setup for a public GIT.


Hints and tips:

* Gitlab does not like symlinks. Use mount with the bind option instead.

mount command:
mount --bind /home/server/gitlab/gitlab /srv/gitlab

or a fstab entry:
/home/servers/gitlab/gitlab /srv/gitlab none defaults,bind 0 0

* If you want to relink the apache2 directories,
  edit the file /etc/apache2/httpd.conf and
  add in the section <Directory /> the statement "Options FollowSymLinks"

Comments for home:Ximi1970:Servers:Gitlab:9.2-stable (0)