用不了。redhat 7是centos 7的企业版本,centos 6是redhat 6的社区版本。所以redhat 7在版本上是比centos 6要新的,版本不统一的yum源按理是不能用的。出现任何异常都是有可能的。