DB
raspbian 에 influxDB, grafana설치하기.
Real_G
2021. 5. 31. 14:43
반응형
$ wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add -
$ echo "deb https://repos.influxdata.com/debian buster stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
$ sudo apt update
$ sudo apt install influxdb
$ sudo systemctl unmask influxdb
$ sudo systemctl enable influxdb
$ sudo systemctl start influxdb
grafana 설치 (docker로 설치)
$ sudo curl -sSL https://get.docker.com | sh
$ sudo usermod -aG docker ${USER}
$ groups ${USER}
$ sudo apt-get install libffi-dev libssl-dev
$ sudo pip3 install docker-compose
$ sudo systemctl enable docker
$ sudo reboot
$ docker run -d -p 3000:3000 grafana/grafana
이름을 주려면 이렇게.
docker run -d -p 3000:3000 --name insighter-bsm grafana/grafana
반응형