I have a new machine with Ubuntu Server. On that server I would like to have Apache with some web services.
But how do I install Eclipse on Ubuntu Server? Right now I have no GUI, just command line.
First of all: If it's a production server. Don't do it. Installing a GUI will slow performance and may open more security holes. Also never develop directly on a production server.
Secondarily: If anyone sees this prior to installing Ubuntu Server, you should probably install the desktop version of Ubuntu instead and then install the server-services, since that's quite a lot more well documented and you're probably not going to run Eclipse on a dedicated (production-)server anyway.
And now the answer:
First install the ubuntu-desktop package with
See section one on http://www.ubuntugeek.com/install-gui-in-ubuntu-server.html for more detailed instructions