debian-mirror-gitlab/doc/administration/index.md

229 lines
18 KiB
Markdown
Raw Normal View History

2018-11-08 19:23:39 +05:30
---
description: 'Learn how to install, configure, update, and maintain your GitLab instance.'
---
2019-10-12 21:52:04 +05:30
# Administrator Docs **(CORE ONLY)**
2018-03-17 18:26:18 +05:30
2019-07-07 11:18:12 +05:30
Learn how to administer your self-managed GitLab instance.
2018-03-17 18:26:18 +05:30
2019-07-07 11:18:12 +05:30
GitLab has two product distributions available through [different subscriptions](https://about.gitlab.com/pricing/):
2018-03-17 18:26:18 +05:30
2019-12-04 20:38:33 +05:30
- The open source [GitLab Community Edition (CE)](https://gitlab.com/gitlab-org/gitlab-foss).
- The open core [GitLab Enterprise Edition (EE)](https://gitlab.com/gitlab-org/gitlab).
2019-07-07 11:18:12 +05:30
2019-09-30 21:07:59 +05:30
You can [install either GitLab CE or GitLab EE](https://about.gitlab.com/install/ce-or-ee/).
2019-07-07 11:18:12 +05:30
However, the features you'll have access to depend on the subscription you choose
(Core, Starter, Premium, or Ultimate).
NOTE: **Note:**
GitLab Community Edition installations only have access to Core features.
2018-03-17 18:26:18 +05:30
GitLab.com is administered by GitLab, Inc., therefore, only GitLab team members have
access to its admin configurations. If you're a GitLab.com user, please check the
2019-09-04 21:01:54 +05:30
[user documentation](../user/index.md).
2018-03-17 18:26:18 +05:30
2019-07-07 11:18:12 +05:30
NOTE: **Note:**
Non-administrator users dont have access to GitLab administration tools and settings.
2018-03-17 18:26:18 +05:30
## Installing and maintaining GitLab
Learn how to install, configure, update, and maintain your GitLab instance.
### Installing GitLab
- [Install](../install/README.md): Requirements, directory structures, and installation methods.
2019-09-30 21:07:59 +05:30
- [Database load balancing](database_load_balancing.md): Distribute database queries among multiple database servers. **(STARTER ONLY)**
- [Omnibus support for log forwarding](https://docs.gitlab.com/omnibus/settings/logs.html#udp-log-shipping-gitlab-enterprise-edition-only) **(STARTER ONLY)**
2018-03-17 18:26:18 +05:30
- [High Availability](high_availability/README.md): Configure multiple servers for scaling or high availability.
2019-09-04 21:01:54 +05:30
- [Installing GitLab HA on Amazon Web Services (AWS)](../install/aws/index.md): Set up GitLab High Availability on Amazon AWS.
2019-09-30 21:07:59 +05:30
- [Geo](geo/replication/index.md): Replicate your GitLab instance to other geographic locations as a read-only fully operational version. **(PREMIUM ONLY)**
- [Disaster Recovery](geo/disaster_recovery/index.md): Quickly fail-over to a different site with minimal effort in a disaster situation. **(PREMIUM ONLY)**
- [Pivotal Tile](../install/pivotal/index.md): Deploy GitLab as a pre-configured appliance using Ops Manager (BOSH) for Pivotal Cloud Foundry. **(PREMIUM ONLY)**
- [Add License](../user/admin_area/license.md): Upload a license at install time to unlock features that are in paid tiers of GitLab. **(STARTER ONLY)**
2018-03-17 18:26:18 +05:30
### Configuring GitLab
2019-12-26 22:10:19 +05:30
- [Adjust your instance's timezone](timezone.md): Customize the default time zone of GitLab.
2018-03-17 18:26:18 +05:30
- [System hooks](../system_hooks/system_hooks.md): Notifications when users, projects and keys are changed.
- [Security](../security/README.md): Learn what you can do to further secure your GitLab instance.
- [Usage statistics, version check, and usage ping](../user/admin_area/settings/usage_statistics.md): Enable or disable information about your instance to be sent to GitLab, Inc.
2019-07-07 11:18:12 +05:30
- [Global user settings](user_settings.md): Configure instance-wide user permissions.
2018-03-17 18:26:18 +05:30
- [Polling](polling.md): Configure how often the GitLab UI polls for updates.
- [GitLab Pages configuration](pages/index.md): Enable and configure GitLab Pages.
2019-07-31 22:56:46 +05:30
- [GitLab Pages configuration for GitLab source installations](pages/source.md): Enable and configure GitLab Pages on [source installations](../install/installation.md#installation-from-source).
2019-12-26 22:10:19 +05:30
- [Uploads administration](uploads.md): Configure GitLab uploads storage.
2018-03-17 18:26:18 +05:30
- [Environment variables](environment_variables.md): Supported environment variables that can be used to override their defaults values in order to configure GitLab.
2018-05-09 12:01:36 +05:30
- [Plugins](plugins.md): With custom plugins, GitLab administrators can introduce custom integrations without modifying GitLab's source code.
2018-10-15 14:42:47 +05:30
- [Enforcing Terms of Service](../user/admin_area/settings/terms.md)
2018-11-08 19:23:39 +05:30
- [Third party offers](../user/admin_area/settings/third_party_offers.md)
2018-11-20 20:47:30 +05:30
- [Compliance](compliance.md): A collection of features from across the application that you may configure to help ensure that your GitLab instance and DevOps workflow meet compliance standards.
2018-12-05 23:21:45 +05:30
- [Diff limits](../user/admin_area/diff_limits.md): Configure the diff rendering size limits of branch comparison pages.
2019-03-13 22:55:13 +05:30
- [Merge request diffs storage](merge_request_diffs.md): Configure merge requests diffs external storage.
2019-03-02 22:35:43 +05:30
- [Broadcast Messages](../user/admin_area/broadcast_messages.md): Send messages to GitLab users through the UI.
2019-09-30 21:07:59 +05:30
- [Elasticsearch](../integration/elasticsearch.md): Enable Elasticsearch to empower GitLab's Advanced Global Search. Useful when you deal with a huge amount of data. **(STARTER ONLY)**
- [External Classification Policy Authorization](../user/admin_area/settings/external_authorization.md) **(PREMIUM ONLY)**
- [Upload a license](../user/admin_area/license.md): Upload a license to unlock features that are in paid tiers of GitLab. **(STARTER ONLY)**
2019-07-07 11:18:12 +05:30
- [Admin Area](../user/admin_area/index.md): for self-managed instance-wide configuration and maintenance.
2019-12-04 20:38:33 +05:30
- [S/MIME Signing](smime_signing_email.md): how to sign all outgoing notification emails with S/MIME
2018-03-17 18:26:18 +05:30
#### Customizing GitLab's appearance
2019-12-26 22:10:19 +05:30
- [Header logo](../user/admin_area/appearance.md#navigation-bar): Change the logo on all pages and email headers.
- [Favicon](../user/admin_area/appearance.md#favicon): Change the default favicon to your own logo.
- [Branded login page](../user/admin_area/appearance.md#sign-in--sign-up-pages): Customize the login page with your own logo, title, and description.
- ["New Project" page](../user/admin_area/appearance.md#new-project-pages): Customize the text to be displayed on the page that opens whenever your users create a new project.
2019-09-30 21:07:59 +05:30
- [Additional custom email text](../user/admin_area/settings/email.md#custom-additional-text-premium-only): Add additional custom text to emails sent from GitLab. **(PREMIUM ONLY)**
2018-03-17 18:26:18 +05:30
### Maintaining GitLab
- [Raketasks](../raketasks/README.md): Perform various tasks for maintenance, backups, automatic webhooks setup, etc.
- [Backup and restore](../raketasks/backup_restore.md): Backup and restore your GitLab instance.
2018-12-05 23:21:45 +05:30
- [Operations](operations/index.md): Keeping GitLab up and running (clean up Redis sessions, moving repositories, Sidekiq MemoryKiller, Unicorn).
2018-03-17 18:26:18 +05:30
- [Restart GitLab](restart_gitlab.md): Learn how to restart GitLab and its components.
2020-01-01 13:55:28 +05:30
- [Invalidate Markdown cache](invalidate_markdown_cache.md): Invalidate any cached Markdown.
2018-03-17 18:26:18 +05:30
#### Updating GitLab
- [GitLab versions and maintenance policy](../policy/maintenance.md): Understand GitLab versions and releases (Major, Minor, Patch, Security), as well as update recommendations.
- [Update GitLab](../update/README.md): Update guides to upgrade your installation to a new version.
- [Downtimeless updates](../update/README.md#upgrading-without-downtime): Upgrade to a newer major, minor, or patch version of GitLab without taking your GitLab instance offline.
- [Migrate your GitLab CI/CD data to another version of GitLab](../migrate_ci_to_ce/README.md): If you have an old GitLab installation (older than 8.0), follow this guide to migrate your existing GitLab CI/CD data to another version of GitLab.
### Upgrading or downgrading GitLab
- [Upgrade from GitLab CE to GitLab EE](../update/README.md#upgrading-between-editions): learn how to upgrade GitLab Community Edition to GitLab Enterprise Editions.
- [Downgrade from GitLab EE to GitLab CE](../downgrade_ee_to_ce/README.md): Learn how to downgrade GitLab Enterprise Editions to Community Edition.
### GitLab platform integrations
2019-12-21 20:55:43 +05:30
- [Mattermost](https://docs.gitlab.com/omnibus/gitlab-mattermost/): Integrate with [Mattermost](https://mattermost.com), an open source, private cloud workplace for web messaging.
2018-03-17 18:26:18 +05:30
- [PlantUML](integration/plantuml.md): Create simple diagrams in AsciiDoc and Markdown documents
2019-03-02 22:35:43 +05:30
created in snippets, wikis, and repos.
2018-03-17 18:26:18 +05:30
- [Web terminals](integration/terminal.md): Provide terminal access to your applications deployed to Kubernetes from within GitLab's CI/CD [environments](../ci/environments.md#web-terminals).
## User settings and permissions
2019-12-04 20:38:33 +05:30
- [Creating users](../user/profile/account/create_accounts.md): Create users manually or through authentication integrations.
2019-12-26 22:10:19 +05:30
- [Libravatar](libravatar.md): Use Libravatar instead of Gravatar for user avatars.
2018-03-17 18:26:18 +05:30
- [Sign-up restrictions](../user/admin_area/settings/sign_up_restrictions.md): block email addresses of specific domains, or whitelist only specific domains.
- [Access restrictions](../user/admin_area/settings/visibility_and_access_controls.md#enabled-git-access-protocols): Define which Git access protocols can be used to talk to GitLab (SSH, HTTP, HTTPS).
2019-07-31 22:56:46 +05:30
- [Authentication and Authorization](auth/README.md): Configure external authentication with LDAP, SAML, CAS and additional providers.
2019-09-30 21:07:59 +05:30
- [Sync LDAP](auth/ldap-ee.md) **(STARTER ONLY)**
- [Kerberos authentication](../integration/kerberos.md) **(STARTER ONLY)**
2019-07-31 22:56:46 +05:30
- See also other [authentication](../topics/authentication/index.md#gitlab-administrators) topics (for example, enforcing 2FA).
2019-09-30 21:07:59 +05:30
- [Email users](../tools/email.md): Email GitLab users from within GitLab. **(STARTER ONLY)**
2019-07-31 22:56:46 +05:30
- [User Cohorts](../user/admin_area/user_cohorts.md): Display the monthly cohorts of new users and their activities over time.
- [Audit logs and events](audit_events.md): View the changes made within the GitLab server for:
2019-09-30 21:07:59 +05:30
- Groups and projects. **(STARTER)**
- Instances. **(PREMIUM ONLY)**
- [Auditor users](auditor_users.md): Users with read-only access to all projects, groups, and other resources on the GitLab instance. **(PREMIUM ONLY)**
2018-03-27 19:54:05 +05:30
- [Incoming email](incoming_email.md): Configure incoming emails to allow
2019-09-30 21:07:59 +05:30
users to [reply by email](reply_by_email.md), create [issues by email](../user/project/issues/managing_issues.md#new-issue-via-email) and
2019-12-26 22:10:19 +05:30
[merge requests by email](../user/project/merge_requests/creating_merge_requests.md#create-new-merge-requests-by-email), and to enable [Service Desk](../user/project/service_desk.md).
2018-03-27 19:54:05 +05:30
- [Postfix for incoming email](reply_by_email_postfix_setup.md): Set up a
basic Postfix mail server with IMAP authentication on Ubuntu for incoming
emails.
2019-02-15 15:39:39 +05:30
- [Abuse reports](../user/admin_area/abuse_reports.md): View and resolve abuse reports from your users.
2020-01-01 13:55:28 +05:30
- [Credentials Inventory](../user/admin_area/credentials_inventory.md): With Credentials inventory, GitLab administrators can keep track of the credentials used by their users in their GitLab self-managed instance. **(ULTIMATE ONLY)**
2018-03-17 18:26:18 +05:30
## Project settings
- [Issue closing pattern](issue_closing_pattern.md): Customize how to close an issue from commit messages.
- [Gitaly](gitaly/index.md): Configuring Gitaly, GitLab's Git repository storage service.
2019-09-04 21:01:54 +05:30
- [Default labels](../user/admin_area/labels.md): Create labels that will be automatically added to every new project.
2018-03-17 18:26:18 +05:30
- [Restrict the use of public or internal projects](../public_access/public_access.md#restricting-the-use-of-public-or-internal-projects): Restrict the use of visibility levels for users when they create a project or a snippet.
2019-09-30 21:07:59 +05:30
- [Custom project templates](../user/admin_area/custom_project_templates.md): Configure a set of projects to be used as custom templates when creating a new project. **(PREMIUM ONLY)**
2019-12-04 20:38:33 +05:30
## Package Registry administration
- [Container Registry](packages/container_registry.md): Configure Container Registry with GitLab.
- [Package Registry](packages/index.md): Enable GitLab to act as an NPM Registry and a Maven Repository. **(PREMIUM ONLY)**
- [Dependency Proxy](packages/dependency_proxy.md): Configure the Dependency Proxy, a local proxy for frequently used upstream images/packages. **(PREMIUM ONLY)**
2018-03-17 18:26:18 +05:30
### Repository settings
- [Repository checks](repository_checks.md): Periodic Git repository checks.
- [Repository storage paths](repository_storage_paths.md): Manage the paths used to store repositories.
2019-12-04 20:38:33 +05:30
- [Repository storage types](repository_storage_types.md): Information about the different repository storage types.
2018-03-17 18:26:18 +05:30
- [Repository storage rake tasks](raketasks/storage.md): A collection of rake tasks to list and migrate existing projects and attachments associated with it from Legacy storage to Hashed storage.
2019-09-30 21:07:59 +05:30
- [Limit repository size](../user/admin_area/settings/account_and_limit_settings.md): Set a hard limit for your repositories' size. **(STARTER ONLY)**
2019-12-04 20:38:33 +05:30
- [Static objects external storage](static_objects_external_storage.md): Set external storage for static objects in a repository.
2018-03-17 18:26:18 +05:30
## Continuous Integration settings
- [Enable/disable GitLab CI/CD](../ci/enable_or_disable_ci.md#site-wide-admin-setting): Enable or disable GitLab CI/CD for your instance.
2018-12-13 13:39:08 +05:30
- [GitLab CI/CD admin settings](../user/admin_area/settings/continuous_integration.md): Enable or disable Auto DevOps site-wide and define the artifacts' max size and expiration time.
2020-01-01 13:55:28 +05:30
- [External Pipeline Validation](external_pipeline_validation.md): Enable, disable and configure external pipeline validation.
2018-03-17 18:26:18 +05:30
- [Job artifacts](job_artifacts.md): Enable, disable, and configure job artifacts (a set of files and directories which are outputted by a job when it completes successfully).
2019-12-21 20:55:43 +05:30
- [Job logs](job_logs.md): Information about the job logs.
2018-03-17 18:26:18 +05:30
- [Register Shared and specific Runners](../ci/runners/README.md#registering-a-shared-runner): Learn how to register and configure Shared and specific Runners to your own instance.
2019-09-30 21:07:59 +05:30
- [Shared Runners pipelines quota](../user/admin_area/settings/continuous_integration.md#shared-runners-pipeline-minutes-quota-starter-only): Limit the usage of pipeline minutes for Shared Runners. **(STARTER ONLY)**
2019-07-07 11:18:12 +05:30
- [Enable/disable Auto DevOps](../topics/autodevops/index.md#enablingdisabling-auto-devops): Enable or disable Auto DevOps for your instance.
2018-03-17 18:26:18 +05:30
2020-01-01 13:55:28 +05:30
## Snippet settings
- [Setting snippet content size limit](snippets/index.md): Set a maximum size limit for snippets' content.
2018-03-17 18:26:18 +05:30
## Git configuration options
- [Custom Git hooks](custom_hooks.md): Custom Git hooks (on the filesystem) for when webhooks aren't enough.
2019-12-26 22:10:19 +05:30
- [Git LFS configuration](lfs/lfs_administration.md): Learn how to configure LFS for GitLab.
2018-03-17 18:26:18 +05:30
- [Housekeeping](housekeeping.md): Keep your Git repositories tidy and fast.
2018-12-05 23:21:45 +05:30
- [Configuring Git Protocol v2](git_protocol.md): Git protocol version 2 support.
2019-12-26 22:10:19 +05:30
- [Manage large files with `git-annex` (Deprecated)](git_annex.md)
2018-03-17 18:26:18 +05:30
## Monitoring GitLab
- [Monitoring GitLab](monitoring/index.md):
- [Monitoring uptime](../user/admin_area/monitoring/health_check.md): Check the server status using the health check endpoint.
2018-11-20 20:47:30 +05:30
- [IP whitelist](monitoring/ip_whitelist.md): Monitor endpoints that provide health check information when probed.
- [Monitoring GitHub imports](monitoring/github_imports.md): GitLab's GitHub Importer displays Prometheus metrics to monitor the health and progress of the importer.
2018-03-17 18:26:18 +05:30
### Performance Monitoring
- [GitLab Performance Monitoring](monitoring/performance/index.md):
- [Enable Performance Monitoring](monitoring/performance/gitlab_configuration.md): Enable GitLab Performance Monitoring.
- [GitLab performance monitoring with InfluxDB](monitoring/performance/influxdb_configuration.md): Configure GitLab and InfluxDB for measuring performance metrics.
2018-11-20 20:47:30 +05:30
- [InfluxDB Schema](monitoring/performance/influxdb_schema.md): Measurements stored in InfluxDB.
2018-03-17 18:26:18 +05:30
- [GitLab performance monitoring with Prometheus](monitoring/prometheus/index.md): Configure GitLab and Prometheus for measuring performance metrics.
- [GitLab performance monitoring with Grafana](monitoring/performance/grafana_configuration.md): Configure GitLab to visualize time series metrics through graphs and dashboards.
- [Request Profiling](monitoring/performance/request_profiling.md): Get a detailed profile on slow requests.
- [Performance Bar](monitoring/performance/performance_bar.md): Get performance information for the current page.
2019-07-31 22:56:46 +05:30
## Analytics
2019-09-30 21:07:59 +05:30
- [Pseudonymizer](pseudonymizer.md): Export data from GitLab's database to CSV files in a secure way. **(ULTIMATE)**
2019-07-31 22:56:46 +05:30
2018-03-17 18:26:18 +05:30
## Troubleshooting
- [Debugging tips](troubleshooting/debug.md): Tips to debug problems when things go wrong
- [Log system](logs.md): Where to look for logs.
- [Sidekiq Troubleshooting](troubleshooting/sidekiq.md): Debug when Sidekiq appears hung and is not processing jobs.
2019-12-21 20:55:43 +05:30
- [Troubleshooting Elasticsearch](troubleshooting/elasticsearch.md)
2019-12-04 20:38:33 +05:30
### Support Team Docs
The GitLab Support Team has collected a lot of information about troubleshooting GitLab
instances. These documents are normally used by the Support Team itself, or by customers
with direct guidance from a Support Team member. GitLab administrators may find the
information useful for troubleshooting, but if you are experiencing trouble with your
GitLab instance, you should check your [support options](https://about.gitlab.com/support/)
before referring to these documents.
CAUTION: **Warning:**
Using the commands listed in the documentation below could result in data loss or
other damage to a GitLab instance, and should only be used by experienced administrators
who are aware of the risks.
- [Useful diagnostics tools](troubleshooting/diagnostics_tools.md)
- [Useful Linux commands](troubleshooting/linux_cheat_sheet.md)
- [Troubleshooting Kubernetes](troubleshooting/kubernetes_cheat_sheet.md)
2019-12-21 20:55:43 +05:30
- [Troubleshooting PostgreSQL](troubleshooting/postgresql.md)
2019-12-04 20:38:33 +05:30
- [Guide to test environments](troubleshooting/test_environments.md) (for Support Engineers)
2019-12-21 20:55:43 +05:30
- [GitLab Rails console commands](troubleshooting/gitlab_rails_cheat_sheet.md) (for Support Engineers)
2019-12-04 20:38:33 +05:30
- Useful links:
- [GitLab Developer Docs](../development/README.md)
- [Repairing and recovering broken Git repositories](https://git.seveas.net/repairing-and-recovering-broken-git-repositories.html)
- [Testing with OpenSSL](https://www.feistyduck.com/library/openssl-cookbook/online/ch-testing-with-openssl.html)
- [Strace zine](https://wizardzines.com/zines/strace/)