I wish I had known about this idea before I spent money on extra wire shelves when organizing kitchen pantry cabinets, because this would have been cheaper and sturdier!
Make sure when measuring that you take into account all the strips of wood inside the cabinet that can make the length of shelf need to be shorter than the actual width of the cabinet.
I use acrylic mounting tape for all kinds of projects in my RV because it is super strong yet amazingly easy to remove and has never damaged any of my walls.