Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To generate the installer, a directory is created containing and contains the server files. This is the default Apache DS server files layout, shared by almost every installer.
Here's the layout this directory:

...

********************.ADD SOME TEXT.********************

Linux Deb installer

Installer Generation layout

To generate the installer, a directory is created and contains a specific structure to be used with the dpkg command line utility.
Here's the layout this directory:

The DEBIAN directory contains the files needed by the dpkg command line utility to generate the Debian package:

  • control holds the package information, such as the name and version of the package, target architecture, etc.
  • postinst is a shell script that will be run at the end of the installation. We use it to set the proper permissions for executable files.

The three other directories at the root of the layout correspond to installed files and their location on the target system, the root of the layout acting as the root of the filesystem (tick).
This way, for example, the file apacheds-1.5.2-SNAPSHOT-default inside the etc > init.d directories will be installed at /etc/init.d/apacheds-1.5.2-SNAPSHOT-default.

Installation layout

The installer installs the following files on the target system:

  • Server files are installed at /opt/apacheds-1.5.2-SNAPSHOT
  • Instances files are installed at /var/lib/apacheds-1.5.2-SNAPSHOT
  • An init script is installed at /etc/init.d/apacheds-1.5.2-SNAPSHOT-default

Linux Bin installer

Mac OS X installer

...