Add RedHat7 and Debian8 distro way support