Update 2-redis.md

This commit is contained in:
168912916 859421311 2021-03-20 18:35:32 +01:00 committed by GitHub
parent 9408cd2a0c
commit 70b9955401
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,14 +11,16 @@
```no-highlight
sudo apt install -y redis-server
sudo systemctl start redis-server
sudo systemctl enable redis-server
```
### CentOS
```no-highlight
sudo yum install -y redis
sudo systemctl start redis-server
sudo systemctl enable redis-server
sudo systemctl start redis
sudo systemctl enable redis
```
You may wish to modify the Redis configuration at `/etc/redis.conf` or `/etc/redis/redis.conf`, however in most cases the default configuration is sufficient.