adapted to centos install