Secure the frame to the wall studs along two sides of the bunk bed (or three sides in a small room). Then add the 2x4s that extend from the wall to posts that anchor the beds in place in the middle of ...