@@ -182,25 +182,20 @@ We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](da
182
182
183
183
## 6. Redis
184
184
185
- As of this writing, most Debian/Ubuntu distributions ship with Redis 2.2 or
186
- 2.4. GitLab requires at least Redis 2.8.
185
+ GitLab requires at least Redis 2.8.
187
186
188
- Ubuntu users [ can use a PPA] ( https://launchpad.net/~chris-lea/+archive/ubuntu/redis-server )
189
- to install a recent version of Redis.
190
-
191
- The following instructions cover building and installing Redis from scratch:
187
+ If you are using Debian 8 or Ubuntu 14.04 and up, then you can simply install
188
+ Redis 2.8 with:
192
189
193
190
``` sh
194
- # Build Redis
195
- wget http://download.redis.io/releases/redis-2.8.23.tar.gz
196
- tar xzf redis-2.8.23.tar.gz
197
- cd redis-2.8.23
198
- make
191
+ sudo apt-get install redis-server
192
+ ```
199
193
200
- # Install Redis
201
- cd utils
202
- sudo ./install_server.sh
194
+ If you are using Debian 7 or Ubuntu 12.04, follow the special documentation
195
+ on [ an alternate Redis installation ] ( redis.md ) . Once done, follow the rest of
196
+ the guide here.
203
197
198
+ ```
204
199
# Configure redis to use sockets
205
200
sudo cp /etc/redis/redis.conf /etc/redis/redis.conf.orig
206
201
@@ -224,7 +219,7 @@ if [ -d /etc/tmpfiles.d ]; then
224
219
fi
225
220
226
221
# Activate the changes to redis.conf
227
- sudo service redis_6379 start
222
+ sudo service redis-server restart
228
223
229
224
# Add git to the redis group
230
225
sudo usermod -aG redis git
0 commit comments