I recently moved all of my equipment into an unused kitchen cabinet. I went down to the local hardware store and bought some heavy-duty drawer rails (the industrial kind used for heavy drawers) the shelves are mounted to those rails. The rails telescope out past the cabinet face so I can still reach behind the gear to make changes. I can’t seem to stop tinkering, change some wire, try coax instead of optical, move stuff around. You know “routine maintenance”.

If you have a large CD changer 300 to 400 disc 24" may not be deep enough.