create conf dir and file.