check status redis server code example
Example 1: redis cache start
sudo /etc/init.d/redis_6379 start
Example 2: install redis
sudo systemctl restart redis.service
sudo /etc/init.d/redis_6379 start
sudo systemctl restart redis.service