gitlab-org--gitlab-foss/doc/install/README.md

85 lines
4.3 KiB
Markdown
Raw Normal View History

2017-11-01 15:56:40 +00:00
---
comments: false
description: Read through the GitLab installation methods.
2017-11-01 15:56:40 +00:00
---
2014-04-24 22:48:22 +00:00
# Installation
GitLab can be installed in most GNU/Linux distributions and in a number
2018-12-03 17:56:25 +00:00
of cloud providers. To get the best experience from GitLab you need to balance:
1. Performance
1. Reliability
1. Ease of administration (backups, upgrades and troubleshooting)
1. Cost of hosting
TIP: **If in doubt, choose Omnibus:**
Our Omnibus GitLab packages are mature, scalable, support
[high availability](../administration/high_availability/README.md) and are used
today on GitLab.com. Our Helm charts are recommended for those who are familiar
with Kubernetes.
2018-12-03 17:56:25 +00:00
## Requirements
2018-12-03 17:56:25 +00:00
Before installing GitLab, make sure to check the [requirements documentation](requirements.md)
which includes useful information on the supported Operating Systems as well as
the hardware requirements.
## Install GitLab using the Omnibus GitLab package (recommended)
This installation method uses the Omnibus GitLab package, using our official
deb/rpm repositories. This is the recommended way.
If you need additional flexibility and resilience, we recommend deploying
GitLab as described in our [High Availability documentation](../administration/high_availability/README.md).
2018-12-03 17:56:25 +00:00
[**> Install GitLab using the Omnibus GitLab package.**](https://about.gitlab.com/install/)
### Alternative to Omnibus GitLab
If the GitLab Omnibus package is not available in your distribution, you can
choose between:
2018-12-03 17:56:25 +00:00
- [Installing GitLab from source](installation.md): Useful for unsupported
systems like *BSD. For an overview of the directory structure, read the
[structure documentation](structure.md). While the recommended database is
PostgreSQL, we provide information to install GitLab
[using MySQL](database_mysql.md).
- [Installing Omnibus GitLab using Docker](docker.md).
2018-12-03 17:56:25 +00:00
## Install GitLab on Kubernetes via the GitLab Helm charts
2018-12-03 17:56:25 +00:00
NOTE: **Kubernetes experience required:**
We recommend being familiar with Kubernetes before using it to deploy GitLab in
production. The methods for management, observability, and some concepts are
different than traditional deployments.
2018-12-03 17:56:25 +00:00
When installing GitLab on kubernetes, there are a number of trade-offs that you
need to be aware of that may not be immediately obvious and could prevent you
getting the best experience from GitLab:
- Configuration of features such as object storage and backups can be more challenging.
- Administration and troubleshooting requires Kubernetes knowledge.
- It can be more expensive for smaller installations. The default installation
requires more resources than a single node Omnibus deployment, as most services
are deployed in a redundant fashion.
- There are some feature [limitations to be aware of](kubernetes/gitlab_chart.md#limitations).
2018-12-03 17:56:25 +00:00
[**> Install GitLab on Kubernetes using the GitLab Helm charts.**](kubernetes/index.md)
2018-12-03 17:56:25 +00:00
## Install GitLab on cloud providers
GitLab can be installed on a variety of cloud providers:
- [Install on AWS](aws/index.md): Install GitLab on AWS using the community AMIs that GitLab provides.
- [Install GitLab on Google Cloud Platform](google_cloud_platform/index.md)
- [Install GitLab on Azure](azure/index.md)
- [Install GitLab on OpenShift](openshift_and_gitlab/index.md)
- [Install GitLab on DC/OS](https://mesosphere.com/blog/gitlab-dcos/) via [GitLab-Mesosphere integration](https://about.gitlab.com/2016/09/16/announcing-gitlab-and-mesosphere/)
- [Install GitLab on Google Kubernetes Engine (GKE)](https://about.gitlab.com/2017/01/23/video-tutorial-idea-to-production-on-google-container-engine-gke/): video tutorial on
the full process of installing GitLab on Google Kubernetes Engine (GKE), pushing an application to GitLab, building the app with GitLab CI/CD, and deploying to production.
- [Getting started with GitLab and DigitalOcean](https://about.gitlab.com/2016/04/27/getting-started-with-gitlab-and-digitalocean/): requirements, installation process, updates.
2018-01-15 18:11:02 +00:00
- [Demo: Cloud Native Development with GitLab](https://about.gitlab.com/2017/04/18/cloud-native-demo/): video demonstration on how to install GitLab on Kubernetes, build a project, create Review Apps, store Docker images in Container Registry, deploy to production on Kubernetes, and monitor with Prometheus.
- _Testing only!_ [DigitalOcean and Docker Machine](digitaloceandocker.md):
2018-07-23 12:25:02 +00:00
Quickly test any version of GitLab on DigitalOcean using Docker Machine.