Add centos support. Update repo url to https

Support CentOS