setup portmap service according to ubuntu release