On the back of the rack, attach hooks either end to hang on screws installed into the wall. For a masonry wall, use screws with masonry anchors. For plasterboard walls, use screws with plasterboard anchors.
Tip: If you don’t have a drill press, use a drill – but set up a mirror nearby so you can check you’re holding the drill straight, to ensure the holes fit the dowel.