7

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.

Kevin Bowen
  • 20,055
  • 57
  • 82
  • 84

4 Answers4

6

gunzip glassfish-3.1.1-web.zip

3

You could use X forwarding when connecting with SSH. Then, the graphical installer should work.

See also:

0

This will guide you through all the installation steps from command line: http://www.nabisoft.com/tutorials/glassfish/installing-glassfish-311-on-ubuntu

pars
  • 9
  • 1
0

sudo aptitude install glassfish, assuming the package name is glassfish. Whether you connect over SSH or not is completely irrelevant.

tripleee
  • 1,542