Telegraf, InfluxDB, Chronograf 설치 가이드
이 문서는 Telegraf, InfluxDB 및 Chronograf를 순서대로 설치하는 방법을 안내한다.
설치 단계
1.
Telegraf 설치
sudo yum localinstall telegraf-1.x.x.x86_64.rpm
sudo service telegraf start
sudo service telegraf status
Shell
복사
2.
InfluxDB 설치
sudo yum localinstall influxdb-1.7.3.x86_64.rpm
sudo service influxdb start
sudo service influxdb status
Shell
복사
3.
Chronograf 설치
sudo yum localinstall chronograf-1.7.7.x86_64.rpm
sudo service chronograf start
sudo service chronograf status
Shell
복사
설치 로그
•
Telegraf 설치
sudo service telegraf stop
sudo service telegraf start
sudo service telegraf status
Shell
복사
•
InfluxDB 설치
sudo service influxdb stop
sudo service influxdb start
sudo service influxdb status
influx
Shell
복사
•
Chronograf 설치
sudo service chronograf start
sudo service chronograf status
Shell
복사
참고 명령어
•
파일 권한 변경
sudo chmod g+w /usr/local/source/tomcat8.5.37/
sudo chmod -R g+w /usr/local/source/tomcat8.5.37/
sudo chown -R oliver:oliver source/
Shell
복사
•
네트워크 확인
netstat -anlp | grep 8086
ping 10.0.0.5
telnet 10.0.0.5 8086
sudo netstat -anlp | grep -i 8086
Shell
복사
•
설정 파일 편집
sudo vi /etc/telegraf/telegraf.conf
sudo vi /etc/influxdb/influxdb.conf
sudo vi /etc/default/chronograf
Shell
복사