crate / cratedb-guide

The CrateDB Guide.
https://cratedb.com/docs/guide/
Apache License 2.0
0 stars 0 forks source link

Run CrateDB in UBUNTU #20

Open marregui opened 4 years ago

marregui commented 4 years ago

As per discourse, and related to https://github.com/crate/crate/issues/10058, documented command

sudo apt-get install crate

launches CrateDB with a default configuration, which results in the formation of a cluster, and then users need to do uncomfortable admin to amend.

This gives context for command

sudo apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install crate

which will auto yes the question during the install steps, allowing users to provide a config file upfront (/etc/crate/crate.yml), with the desired cluster topology, name, etc.

Users should be aware of this discovery related feature.

Maybe users should be prompted during the installation process as to whether they want the default config, and when not, point the path to the desired one, so that the contents can be copied over.

nomicode commented 4 years ago

thanks for the report, @marregui! someone from the @crate/docs team will get back to you on here