command-line installation

Poster Content
nk4um Moderator
Posts: 755
May 15, 2005 14:42Tarball Distribution now available
We have added a tarball distribution to our build process.  Its on the download servers now...

http://download.1060.org/
nk4um User
Posts: 4
May 13, 2005 14:14working!
thanks for the tarball. Its working fine now! (btw it should be 3) /etc/system.xml)
nk4um Moderator
Posts: 485
May 13, 2005 11:37Good suggestion
I''ve raised an enhancement request:
http://www.1060.org/bugxter/main/edit_bug?id=66

Now for an immediate solution you can get the tarball here:
www.1060.org/upload/1060-NKSEDK-2.0.6.tar.bz2

The graphical installed performs a number of substitutions based on the installation path. You will need to do these manually. Edit the following files
[install]/bin/start.sh
[install]/etc/bootloader.cfg
[install]/bin/system.xml

look for /home/tab/tmp/ and replace with the install location on your server.

Give this a try and let us know how you get on...
nk4um User
Posts: 4
May 13, 2005 10:23tar.gz
can we have a copy of the tar.gz please? unfortunately, i dont have any gui servers to install it on in the first place...
nk4um Moderator
Posts: 755
February 20, 2005 13:55
This has come up in the past. You need to use the GUI installer to install on a graphical box and then use the following basic procedure to migrate a snapshot over to a headless server...

http://www.1060.org/pipermail/netkernel-admin/2004-July/000024.html

Maybe we should ship a tar.gz as well.
nk4um User
Posts: 2
February 19, 2005 12:56
I tried "java -Djava.awt.headless=true -jar 1060_NetKernel_SE_DK2.0.3.jar" but I''m getting errors.

Code:
- Error -
java.awt.HeadlessException
java.awt.HeadlessException
        at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:121)
        at java.awt.Window.<init>(Window.java:274)
        at java.awt.Frame.<init>(Frame.java:401)
        at java.awt.Frame.<init>(Frame.java:366)
        at javax.swing.SwingUtilities$1.<init>(SwingUtilities.java:1641)
        at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1637)
        at javax.swing.JDialog.<init>(JDialog.java:211)
        at javax.swing.JDialog.<init>(JDialog.java:162)
        at javax.swing.JDialog.<init>(JDialog.java:122)
        at com.izforge.izpack.installer.GUIInstaller$LanguageDialog.<init>(Unknown Source)
        at com.izforge.izpack.installer.GUIInstaller.loadLangPack(Unknown Source)
        at com.izforge.izpack.installer.GUIInstaller.<init>(Unknown Source)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        at java.lang.Class.newInstance0(Class.java:308)
        at java.lang.Class.newInstance(Class.java:261)
        at com.izforge.izpack.installer.Installer.main(Unknown Source)
nk4um User
Posts: 2
February 19, 2005 12:51command-line installation
Is it possible to install NetKernel via command-line?