Determine the length of the PVC clothes rack. Measure a section of 1-inch-diameter PVC pipe with a measuring tape. Cut the pipe to length with a hack saw.
Divide the length of the PVC pipe in half. Mark the center of the pipe and cut it in half with a hack saw.
Apply PVC adhesive to the inside of a 1-inch-diameter PVC T-fitting and to one end of each half of the pipe. Insert the pipe ends into the T-fitting and allow the adhesive to bond for one hour.
Apply PVC adhesive to the inside of two L-shaped, 1-inch-diameter PVC elbows, and to the ends of the pipes. Insert the ends of the pipes into the elbows, with the elbows facing the same direction as the T-fitting. Allow the adhesive to bond for one hour.
Place the clothes rack in the desired location on the ceiling. Drill pilot holes through the elbows and T-fitting into the ceiling joist at a 45-degree angle with a drill. Insert and tighten 4-inch wood screws through the pilot holes to secure the rack to the ceiling joist.