Installs Redis and applies the specified configuration.