How to configure Redis in Homestead?

the configuration of Redis was not found in official document . How should I configure it?

add: configure requirepass in the configuration file of Redis, but this Redis is on Homestead, not locally. Because of my unfamiliarity with Homestead, I don"t know how to solve this problem all the time.

the problem has been resolved.


redis is installed by default and used directly.
cache and other configurations in laravel can be written directly to redis.


problem has been solved. The solution can be found in my article: how to configure Redis in Homestead?

Menu