# Turn off database creation in install

**URL:** https://forums.foundationdb.org/t/turn-off-database-creation-in-install/2129
**Category:** Using FoundationDB
**Created:** [May 20, 2020, 4:11pm UTC](https://forums.foundationdb.org/t/turn-off-database-creation-in-install/2129 "2020-05-20T16:11:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Daniel-B-Smith](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/daniel-b-smith/32/743_2.png) [@Daniel-B-Smith](https://forums.foundationdb.org/u/Daniel-B-Smith)
#### Post date: [May 20, 2020, 4:11pm UTC](https://forums.foundationdb.org/t/turn-off-database-creation-in-install/2129/1 "2020-05-20T16:11:11Z")

</div>

I’ve had problems trying to install FDB with DEBs built from master into a Docker container where everything seems to work except for `configure new single memory`. My guess is that the problem is that I’m building the images on an underpowered Mac laptop. As a workaround, I’ve installed released images first to set up the database before installing the new images. Is there a way to just disable the call to `configure new single memory` since I need to reconfigure the database before deploying regardless?

---

<div class="post-metadata">

### Author: ![markus.pilman](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/markus.pilman/32/379_2.png) [@markus.pilman](https://forums.foundationdb.org/u/markus.pilman)
#### Post date: [May 20, 2020, 4:58pm UTC](https://forums.foundationdb.org/t/turn-off-database-creation-in-install/2129/2 "2020-05-20T16:58:45Z")

</div>

If you create `/etc/foundationdb/fdb.cluster` the post-install script won’t try to create a new database.

Basically, you can just run this:

```auto
getent group foundationdb >/dev/null || addgroup --system foundationdb
getent passwd foundationdb >/dev/null || adduser --system --disabled-login --ingroup foundationdb --no-create-home --home /var/lib/foundationdb --gecos "FoundationDB" --shell /bin/false foundationdb

chown -R foundationdb:foundationdb /var/lib/foundationdb /var/log/foundationdb
chmod -R 0700 /var/lib/foundationdb/data /var/log/foundationdb

description=`LC_CTYPE=C tr -dc A-Za-z0-9 < /dev/urandom | head -c 8`
random_str=`LC_CTYPE=C tr -dc A-Za-z0-9 < /dev/urandom | head -c 8`
echo $description:$random_str@127.0.0.1:4500 > /etc/foundationdb/fdb.cluster
chown foundationdb:foundationdb /etc/foundationdb/fdb.cluster
chmod 0664 /etc/foundationdb/fdb.cluster

```
