Visit the official websites for [node](https://nodejs.org/en/download/package-manager/) and [yarn](https://yarnpkg.com/en/docs/install/) if you have any trouble with this step.
We recommend using a PostgreSQL database. For MySQL check the
We recommend using a PostgreSQL database. For MySQL check the
[MySQL setup guide](database_mysql.md).
[MySQL setup guide](database_mysql.md).
...
@@ -218,7 +235,7 @@ We recommend using a PostgreSQL database. For MySQL check the
...
@@ -218,7 +235,7 @@ We recommend using a PostgreSQL database. For MySQL check the
gitlabhq_production> \q
gitlabhq_production> \q
```
```
## 6. Redis
## 7. Redis
GitLab requires at least Redis 2.8.
GitLab requires at least Redis 2.8.
...
@@ -263,7 +280,7 @@ sudo service redis-server restart
...
@@ -263,7 +280,7 @@ sudo service redis-server restart
sudo usermod -aG redis git
sudo usermod -aG redis git
```
```
## 7. GitLab
## 8. GitLab
# We'll install GitLab into home directory of the user "git"
# We'll install GitLab into home directory of the user "git"
cd /home/git
cd /home/git
...
@@ -459,7 +476,7 @@ Check if GitLab and its environment are configured correctly:
...
@@ -459,7 +476,7 @@ Check if GitLab and its environment are configured correctly:
# or
# or
sudo /etc/init.d/gitlab restart
sudo /etc/init.d/gitlab restart
## 8. Nginx
## 9. Nginx
**Note:** Nginx is the officially supported web server for GitLab. If you cannot or do not want to use Nginx as your web server, have a look at the [GitLab recipes](https://gitlab.com/gitlab-org/gitlab-recipes/).
**Note:** Nginx is the officially supported web server for GitLab. If you cannot or do not want to use Nginx as your web server, have a look at the [GitLab recipes](https://gitlab.com/gitlab-org/gitlab-recipes/).