Couldn't the Redis install script just be done with these lines?: sudo apt-get install redis-server php-redis -y sudo systemctl restart redis-server.service