Which cylinder, which valve and what's the intended motion? (And have you looked for the specification sheets for those components?)
By including the air compressor in the list, it seems that you actually want to know how to assemble the entire pneumatic system. For that, see
here (FRC 2013 documentation) and
here (an outdated draft, but many useful concepts).