Need help?

Our experts have had an average response time of 11.7 minutes in August 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

Install influxdb in windows – How to do it

by | Oct 19, 2021

Wondering how to install influxdb in windows? We can help you.

Here at Bobcares, we get requests from our clients to handle similar issues as a part of our Server Management Services.

Today, in this article we will steps followed by our Support Engineers for the installation.

How to install influxdb in windows?

Basically, the InfluxDB 2.0 time series platform is purpose-built to collect, store, process and visualize metrics and events.

System Requirements:

  • Windows 10
  • 64-bit AMD architecture
  • Powershell or Windows Subsystem for Linux (WSL)

Download and install InfluxDB v2.0

Firstly, download InfluxDB v2.0 for Windows.

Then, expand the downloaded archive into C:\Program Files\InfluxData\ and rename it if desired.

Expand-Archive .\influxdb2-2.0.9-windows-amd64.zip -DestinationPath 'C:\Program Files\InfluxData\'
> mv 'C:\Program Files\InfluxData\influxdb2-2.0.9-windows-amd64' 'C:\Program Files\InfluxData\influxdb'

Networking ports

By default, InfluxDB uses TCP port 8086 for client-server communication over the InfluxDB HTTP API.

Start InfluxDB

In Powershell, navigate into C:\Program Files\InfluxData\influxdb and start InfluxDB by running the influxd daemon:

> cd -Path 'C:\Program Files\InfluxData\influxdb'
> ./influxd

See the influxd documentation for information about available flags and options.

Grant network access

When starting InfluxDB for the first time, Windows Defender will appear with the following message:

Windows Defender Firewall has blocked some features of this app.

1. Firstly, select Private networks, such as my home or work network.
2. Then, click Allow access.

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.

To opt-out of sending telemetry data back to InfluxData, include the –reporting-disabled flag when starting influxd.

./influxd --reporting-disabled

Set up InfluxDB

The initial setup process for InfluxDB walks through creating a default organization, user, bucket, and Operator API token.

The setup process is available in both the InfluxDB user interface (UI) and in the influx command line interface (CLI).

Operator token permissions

The Operator token created in the InfluxDB setup process has full read and write access to all organizations in the database.

To prevent accidental interactions across organizations, we recommend creating an All-Access token for each organization and using those to manage InfluxDB.

Set up InfluxDB through the UI

1. Firstly with InfluxDB running, visit localhost:8086.
2. Then, click Get Started

Set up your initial user

1. Firstly, enter a Username for your initial user.
2. Then, enter a Password and Confirm Password for your user.
3. Next, enter your initial Organization Name.
4. Then, enter your initial Bucket Name.
5. Next, click Continue.

InfluxDB is now initialized with a primary user, organization, and bucket. You are ready to write or collect data.

Set up and use the influx CLI

If you set up InfluxDB through the UI and want to use the influx CLI, we recommend setting up a configuration profile.

This lets you avoid having to pass your InfluxDB API token with each influx command.

Complete the following steps to set up a configuration profile that stores your credentials.

1. In a terminal, run the following command:

# Set up a configuration profile
influx config create -n default \
-u http://localhost:8086 \
-o example-org \
-t mySuP3rS3cr3tT0keN \
-a

2. Learn influx CLI commands. To see all available influx commands, type influx -h or check out influx – InfluxDB command line interface

[Need assistance with windows queries? We can help you]

Conclusion

Today, we saw how our Support Techs Install influxdb in windows.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF