compatible with ubuntu and centos