redis 설치

2024년 05월 14일

HestiaCP > Server Settings > 방화벽 > 규칙 추가

https://domain.com:8083/add/firewall/


redis.conf 수정

How To Install Redis Configuration On HestiaCP With 4 Steps (azdigi.com)

sudo apt update

sudo apt install redis-server

sudo systemctl enable redis-server

vi /etc/redis/redis.conf

maxmemory 1024mb

maxmemory-policy allkeys-lru

sudo systemctl restart redis-server

sudo apt install php-redis

sudo phpenmod -v 8.3 -s ALL redis

sudo systemctl restart apache2

sudo systemctl restart php8.3-fpm sudo systemctl restart nginx