How to I install Glassfish on Ubuntu from the command line?

I have a Linux machine (Ubuntu) and I installed GlassFish and everything worked fine. The thing is, I was using Linux from the desktop UI and the installer featured a graphical wizard.

I am wondering, if I create a Linux virtual machine on Amazon EC2 or Rackspace, I can only access the Linux from the command line using SSH.

How do I install GlassFish from the command line? Won’t the graphic install wizard attempt to display and fail?

Any help is appreciated.

Answer

gunzip glassfish-3.1.1-web.zip

Attribution
Source : Link , Question Author : Robert Hume , Answer Author : Dave Newton

Leave a Comment