This project creates full-stack platform-specific downloadable packages for GitLab. For other installation options please see the GitLab installation page.
The source of omnibus-gitlab is hosted on GitLab.com and there are mirrors to make contributing as easy as possible.
The documentation overview is in the readme in the doc directory.
Omnibus GitLab is using a fork of omnibus project. For additional information see the comments in the Gemfile.
We left the links below in the readme to preserve old links, but please use the readme in the doc directory to browse the complete documentation.
Please see the contribution guidelines
Please follow the steps on the downloads page.
Your GitLab instance should be reachable over HTTP at the IP or hostname of your
server. You can login as an admin user with username root
and password 5iveL!fe
.
See doc/maintenance/README.md for useful commands to control/debug your GitLab instance.
See doc/settings/configuration.md.
See doc/settings/configuration.md.
See doc/settings/configuration.md.
See doc/settings/configuration.md.
See doc/settings/ldap.md.
HTTP
requests to HTTPS
For using an existing Nginx, Passenger, or Apache webserver see doc/settings/nginx.md.
To connect to an external PostgreSQL DBMS see doc/settings/database.md
See doc/settings/environment-variables.md.
See doc/settings/gitlab.yml.md.
See doc/settings/configuration.md.
See doc/settings/smtp.md.
Omniauth configuration is documented in docs.gitlab.com.
See doc/settings/configuration.md.
Instructions for updating your Omnibus installation and upgrading from a manual installation are in the update doc.
To remove all users and groups created by omnibus-gitlab, before removing the gitlab package (with dpkg
or yum
) run sudo gitlab-ctl remove-accounts
. Note All gitlab processes need to be stopped before running the command.
To remove all omnibus-gitlab data use sudo gitlab-ctl cleanse
.
To uninstall omnibus-gitlab, preserving your data (repositories, database, configuration), run the following commands.
# Stop gitlab and remove its supervision process
sudo systemctl stop gitlab-runsvdir
sudo systemctl disable gitlab-runsvdir
sudo rm /usr/lib/systemd/system/gitlab-runsvdir.service
sudo systemctl daemon-reload
sudo gitlab-ctl uninstall
# (Replace with gitlab-ce if you have GitLab FOSS installed)
# Debian/Ubuntu
sudo apt remove gitlab-ee
# Redhat/Centos
sudo yum remove gitlab-ee
This section has been moved to the separate document doc/common_installation_problems/README.md.
Section below remains for historical reasons(mainly to not break existing links). Each section contains the link to the new location.
See doc/common_installation_problems/README.md.
See doc/common_installation_problems/README.md.
See doc/common_installation_problems/README.md.
ruby_block[supervise_redis_sleep] action run
See doc/common_installation_problems/README.md.
See doc/common_installation_problems/README.md.
See doc/common_installation_problems/README.md.
See doc/common_installation_problems/README.md.
See doc/common_installation_problems/README.md.
See doc/common_installation_problems/README.md.
See doc/common_installation_problems/README.md.
See doc/common_installation_problems/README.md.
See doc/common_installation_problems/README.md.
See doc/common_installation_problems/README.md.
See backup restore documentation.
If you are using non-packaged database see documentation on using non-packaged database.
For details check backup restore document of GitLab CE.
See doc/maintenance/README.md.
Omnibus-gitlab uses four different directories.
/opt/gitlab
holds application code for GitLab and its dependencies./var/opt/gitlab
holds application data and configuration files that
gitlab-ctl reconfigure
writes to./etc/gitlab
holds configuration files for omnibus-gitlab. These are
the only files that you should ever have to edit manually./var/log/gitlab
contains all log data generated by components of
omnibus-gitlab.Although omnibus-gitlab runs on systems that have SELinux enabled, it does not use SELinux confinement features:
The correct operation of Git access via SSH depends on the labeling of
/var/opt/gitlab/.ssh
. If needed you can restore this labeling by running
sudo gitlab-ctl reconfigure
.
Depending on your platform, gitlab-ctl reconfigure
will install SELinux
modules required to make GitLab work. These modules are listed in
files/gitlab-selinux/README.md.
NSA, if you're reading this, we'd really appreciate it if you could contribute back a SELinux profile for omnibus-gitlab :) Of course, if anyone else is reading this, you're welcome to contribute the SELinux profile too.
This section has been moved to separate document doc/settings/logs.md.
See doc/settings/logs.md.
See doc/settings/logs.md.
See doc/settings/logs.md.
See the separate build documentation.
It is not recommended to make changes to any of the files in /opt/gitlab
after installing omnibus-gitlab: they will either conflict with or be
overwritten by future updates. If you want to run a custom version of GitLab
you can build your own package or use another installation
method.
This omnibus installer project is based on the awesome work done by Chef in omnibus-chef-server.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。