How can I generate a frequency of 5 GHZ with a crystal
Through frequency multiplication, e.g. 50x100MHz, or 100x50MHz etc.

This can be done either directly using frequency multipliers, or indirectly using phase locked loop, and locking 5 GHz oscillator to crystal reference oscillator.