LispWorks Release Notes and Installation Guide > 11 Configuration on UNIX > 11.7 Configuring your LispWorks installation

NextPrevUpTopContentsIndex

11.7.5 Create and use a save-image script

  1. Change directory to the installation directory, for example:
  2. unix% cd /usr/lib/lispworks
  3. Start the supplied image, without loading any initialization files. For example:
  4. unix% lispworks-6-0-0-sparc-solaris -init - -siteinit -

    If the image will not run at this stage, it is probably not finding a valid key. See Keyfiles and how to obtain them.

  5. Wait for the prompt. Load your local configuration file:
  6. CL-USER 1 > (load "/tmp/my-configuration.lisp")

    Now load all current patches:

    CL-USER 2 > (load-all-patches)
  7. Save the new version of the image. For example:
CL-USER 3 > (save-image "/usr/local/bin/lispworks")

Saving the image takes some time.

You can now use the new image by starting it just as you did the generic image. The generic image will not be required after the installation process has been completed successfully.

Do not try to save a new image over an image that is currently running. Instead, save an image under a unique name, and then, if necessary, replace the new image with the old one after the call to save-image has returned.

11.7.5.1 Testing the newly saved image


LispWorks Release Notes and Installation Guide - 21 Dec 2009

NextPrevUpTopContentsIndex