Hello and Welcome to LinuxQuestions,
Do you mean you have a CentOS server installed without desktop environment and now want to install what's needed to have a GUI? If so, then just run, as root:
yum groupinstall "X Window System" "GNOME Desktop Environment"
if your repositories are set up correctly and you have connection to the internet.
Looking forward to your participation in the forums. Have fun with Linux.