Would you like to learn how to install InfluxDB on Ubuntu Linux? In this tutorial, we are going to show you how to install, configure and access the InfluxDB database on a computer running Ubuntu Linux.
• Ubuntu 18
• Ubuntu 19
• InfluxDB 1.7.8
Tutorial - InfluxDB Installation on Ubuntu Linux
On the Linux console, use the following commands to set the correct timezone.
Download and install the InfluxDB package on Ubuntu Linux.
Configure the InfluxDB service to start automatically during boot.
Verify the status of the influxDB service.
Here is an example of the influxDB service status.
Now, use the following command to connect to the InfluxDB command-line.
On the influxDB command-line, create an administrative account to manage the service.
In our example, we created a new account named admin and set the password as kamisama123.
Next, let's enable the influxDB authenticaiton.
Edit the influxdb.conf configuration file and enable the feature: auth-enabled
Locate the HTTP section and enable the feature named: auth-enabled
Restart the influxDB service.
Access the influxDB command-line using the admin username and its password.
Congratulations! You have finished the influxDB installation on Ubuntu Linux.