install conf and log dir