Schools, early learning and childcare settings will be shut and people have been advised to remain indoors as Ireland prepares for one of the “most dangerous storms” it has ever faced.