2.3 KiB
| title | seotitle | description | menu | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Set up InfluxDB | Run the initial InfluxDB setup process | The initial setup process for walks through creating a default organization, user, and bucket. |
|
The initial setup process for InfluxDB walks through creating a default organization,
user, and bucket.
The setup process is available in both the InfluxDB user interface (UI) and in
the influx command line interface (CLI).
Start the influxd daemon
In order to setup InfluxDB via the UI or the CLI, first start the influxd daemon by running:
influxd
See the influxd documentation for information about
available flags and options.
{{% note %}}
InfluxDB "phone-home"
By default, InfluxDB sends telemetry data back to InfluxData. The InfluxData telemetry page provides information about what data is collected and how it is used.
Top opt-out of sending telemetry data back to InfluxData, include the
--reporting-disabled flag when starting influxd.
influxd --reporting-disabled
{{% /note %}}
Set up InfluxDB through the UI
- With
influxdrunning, visit localhost:9999. - Click Get Started
Set up your initial user
- Enter a Username for your initial user.
- Enter a Password and Confirm Password for your user.
- Enter your initial Organization Name.
- Enter your initial Bucket Name.
- Click Continue.
InfluxDB is now initialized with a primary user, organization, and bucket. You are ready to collect data.
Set up InfluxDB through the influx CLI
Begin the InfluxDB setup process via the influx CLI by running:
influx setup
- Enter a primary username.
- Enter a password for your user.
- Confirm your password by entering it again.
- Enter a name for your primary organization.
- Enter a name for your primary bucket.
- Enter a retention period (in hours) for your primary bucket. Enter nothing for an infinite retention period.
- Confirm the details for your primary user, organization, and bucket.
InfluxDB is now initialized with a primary user, organization, and bucket. You are ready to collect data.