I want to know if it's possible to install ubuntu server (if there is an other Linux distribution that solves this I'm open to suggestion) with both GUI and CLI so that i can choose to boot it with either GUI or CLI.
Background
I'm new to Linux servers (have been using desktop linux for a few years however). I like to set up a Linux for mail, I started to install ubuntu server. What i notice quickly was that the CLI is not that good for configuring all those files for a email server. Both the lack of having multipliable configure files open at the same time and the lack of copy paste. So what i would like to do is to boot the server in a GUI environment to configure everything then when I'm done i boot the server in to CLI so i wont have a GUI that eats up ram.