To make those sort of racks I welded some RHS to angle iron and bolted the angle iron to the wall. The RHS was for the horizontal supports.
It worked, but I used galvanised steel and just a little bit of salt water made it corrode quicker than I thought it would. Maybe I should dry my gear?

Now, I store all the boards and sails vertically, separated by lengths of electrical conduit placed into holes in pine battens that run horizontally across the wall. It takes up the whole space, but at least you don't have to struggle to get boards up high.