DSCREATE(8) Generated Python Manual DSCREATE(8)

# [NAME](#NAME)

dscreate

# [SYNOPSIS](#SYNOPSIS)

**dscreate** \[-h] \[-v] \[-j] {from-file,interactive,create-template,ds-root} ...

# [POSITIONAL ARGUMENTS](#POSITIONAL_ARGUMENTS)

[**dscreate** *from-file*](#dscreate)

Create an instance of Directory Server from an inf answer file

[**dscreate** *interactive*](#dscreate~2)

Start interactive installer for Directory Server installation

[**dscreate** *create-template*](#dscreate~3)

Display an example inf answer file, or provide a file name to write it to disk.

[**dscreate** *ds-root*](#dscreate~4)

Prepare a root directory in which non root user can create, run and administer instances.

# COMMAND *'dscreate* *from-file'*

usage: dscreate from-file \[-h] \[-n] file

[**file**](#file)

Inf file to use with prepared answers. You can generate an example of this with 'dscreate create-template'

# OPTIONS *'dscreate* *from-file'*

[**-n**, **--dryrun**](#n)

Validate system and configurations only. Do not alter the system.

# COMMAND *'dscreate* *interactive'*

usage: dscreate interactive \[-h]

# COMMAND *'dscreate* *create-template'*

usage: dscreate create-template \[-h] \[--advanced] \[template\_file]

[**template\_file**](#template_file)

Write example template to this file

# OPTIONS *'dscreate* *create-template'*

[**--advanced**](#advanced)

Add advanced options to the template - changing the advanced options may make your instance install fail

# COMMAND *'dscreate* *ds-root'*

usage: dscreate ds-root \[-h] root\_dir \[bin\_dir]

[**root\_dir**](#root_dir)

A directory that will be used as virtual root.

[**bin\_dir**](#bin_dir)

A directory in which administration wrappers are installed. (Should be in PATH)

# [OPTIONS](#OPTIONS)

[**-v**, **--verbose**](#v)

Display verbose operation tracing during command execution

[**-j**, **--json**](#j)

Return the result as a json message

# [COMMENTS](#COMMENTS)

Example of install by a non root user:  
PATH=$HOME/bin:$PATH # Should be in .profile  
dscreate ds-root $HOME/mydsroot $HOME/bin  
hash -d dscreate # bash command to insure new dscreate wrapper will be used  
dscreate interactive  
\# Note: Make sure to use non priviledged port number (i.e &gt; 1000)

# [AUTHOR](#AUTHOR)

```
"Red Hat, Inc., and William Brown" <389-devel@lists.fedoraproject.org>
```

1980-01-01 lib389 3.3.1

---

Document: dscreate(8) from py3.13-lib389 3.3.1-r8 (Chainguard OS)
Source: https://github.com/389ds/389-ds-base.git
