To re-run the package group selection from the Ubuntu server installation use:

sudo tasksel

If you want to view the avalable tasks use:

sudo tasksel --list-tasks

Just make sure you have the install CD in.

Package Groups