configure
Prev | OpenSolaris Support Reference | Next

## Name

configure — sets the instance location of an OpenDJ package installation

## Description

The configure command configures an OpenDJ package installation. The command registers the directory server as an SMF service, specifies where the directory server instance will be located, and specifies the user and group names of the instance owner.

This command is available in the OpenSolaris™ package installation only.

## Options

The following options are supported:

`--groupName {groupName}`

  The group name of the instance owner. If no group name is specified, the primary group of the `userName` is used.

`--instancePath {path}`

  The path where the instance will be located. If no path is specified, the default `/var/opendj` is used.

`--userName {userName}`

  The user name of the instance owner. If no user name is specified, the default `ldap` is used.

`-V, --version`

  Displays directory server version information.

`-?, -H, --help`

  Displays usage information.

## Examples

The following example configures the instance path, user name and group name for a directory server package installation:

    $ /usr/opendj/configure \
     --instancePath /var/opendj \
     --userName myUser \
     --groupName myGroup

## Attributes

See attributes(5) for descriptions of the following attributes:

Prev | Up | Next
OpenSolaris Support Reference | Home | opendj