The pipe and connectors were bought at a local hardware store, and everything was measured and cut to size. (You can ask your own local hardware store for help with this.). The pieces were attached to the shelving and walls with 1-inch zinc screws.
Idea for open shelves attached to wall with pipe, coupling, and floor flanges. It might be possible to "hang" the shelf from the bracket, which would let you use the bracket as a "book end" for the shelf.