Bước 1: Add InfluxData repository
[code lang="bash"]
wget -q https://repos.influxdata.com/influxdata-archive_compat.key
echo "deb [signed-by=influxdata-archive_compat.key] https://repos.influxdata.com/debian stable stable" \
| sudo tee /etc/apt/sources.list.d/influxdata.list
[/code]
Bước 2: Update package index
[code lang="bash"] sudo apt-get update [/code]
Bước 3: Install InfluxDB 2
[code lang="bash"] sudo apt-get install influxdb2[/code]
Bước 4: Start service
[code lang="bash"] sudo service influxdb start[/code]
Bước 5: Now open in Windows browser
[code lang="bash"] http://localhost:8086[/code]
TEST IF INFLUXDB IS RUNNING
sudo service influxdb status
