August 2019
Beginner
608 pages
16h 7m
English
In the previous chapter, we talked about Redis and how the program works.
We need at least v2.8 of Redis for the installation of GitLab. It can be easily installed on Debian with apt:
$ sudo apt-get install redis-server
Configure Redis to use sockets:
$ sudo cp /etc/redis/redis.conf /etc/redis/redis.conf.orig
Disable Redis listening on Transmission Control Protocol (TCP) by setting port to 0:
$ sudo sed 's/^port .*/port 0/' /etc/redis/redis.conf.orig | sudo tee /etc/redis/redis.conf
Enable the Redis socket for the default path on Debian and similar distributions:
$ sudo echo 'unixsocket /var/run/redis/redis.sock' | sudo tee -a /etc/redis/redis.conf
Grant permission to the socket to all members of the Redis group:
$ sudo ...
Read now
Unlock full access