August 2019
Beginner
608 pages
16h 7m
English
There are a few actions left before we start the GitLab application.
Back up your secrets file (where GitLab stores encryption keys):
sudo cp config/secrets.yml /to/somewhere/safe
Install the System V init script:
sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
Active GitLab at boot time:
sudo update-rc.d gitlab defaults 21
Make sure log files are rotated frequently (to safe disk space):
sudo cp lib/support/logrotate/gitlab /etc/logrotate.d/gitlab
Check whether GitLab and its environment are set correctly:
$ sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
You will get an output such as the following:
System informationSystem: Debian 9.8Current User: gitUsing RVM: noRuby Version: ...
Read now
Unlock full access