redis installation script updated with root user validation