adapt it to centos dis