setup redis host code example Example 1: start redis server $ redis-server Example 2: redis cache start sudo /etc/init.d/redis_6379 start