How to install the latest version of influxdb on Ubuntu
Install the latest version of InfluxDB on Ubuntu
1. Update the system packages
sudo apt update
2. Import the InfluxDB GPG key
wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add -
3. Add the InfluxDB repository to the package manager
For Ubuntu 22.04
echo "deb https://repos.influxdata.com/$(lsb_release -si) $(lsb_release -sc) stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
For Ubuntu 20.04
echo "deb https://repos.influxdata.com/ubuntu focal stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
For Ubuntu 18.04
echo "deb https://repos.influxdata.com/ubuntu bionic stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
4. Update the package manager again:
sudo apt update
5. Install InfluxDB
sudo apt install influxdb
6. Start the InfluxDB service
sudo systemctl start influxdb
7. Verify that InfluxDB is running
sudo systemctl status influxdb
Now you have InfluxDB installed on your Ubuntu system. You can access the InfluxDB command-line interface using the influx command.
Additionally, you can configure InfluxDB by modifying the /etc/influxdb/influxdb.conf file according to your needs.
Please note that the above steps are for installing the latest version of InfluxDB from the official InfluxData repository. Make sure to adjust the repository URL and package manager commands if you are using a different Ubuntu version.
'리눅스' 카테고리의 다른 글
[리눅스] MySQL innodb 설치 (0) | 2013.06.23 |
---|---|
How to set or change timezone on Ubuntu (0) | 2013.06.21 |
우분투에서 텔레포트(teleport)를 설치하는 방법(1) (0) | 2013.06.21 |
CentOS에서 Cband를 설치하고 설정하는 방법 (0) | 2013.06.21 |
[리눅스] MySQL 스키마 백업 및 복원 (0) | 2013.06.21 |