how to create config file redis code example Example 1: redis cache start sudo /etc/init.d/redis_6379 start Example 2: install redis brew install redis