Obsidian/Recognition/Work Related/프로젝트/스마트계류장/9.기타/Filebeat 재배포.md

624 B

Filebeat 재배포


systemctl stop filebeat.service &&
systemctl disable filebeat.service &&
rm -f /usr/lib/systemd/system/filebeat.service &&
systemctl daemon-reload &&
systemctl reset-failed &&
ps -ef | grep filebeat



cd /home/gmt/app &&
rm -rf filebeat &&
tar -xvf filebeat.tar &&
rm -f filebeat.tar &&
cd filebeat $$
chmod -R 755 /home/gmt/app/filebeat &&
chown -R gmt:gmt /home/gmt/app/filebeat &&
sh /home/gmt/app/filebeat/filebeat_service_reg/service_reg.sh &&
ll


nano /etc/sudoers

gmt    ALL=(ALL)       ALL

tss_fusion
tss_asde
tss_ana
tss_ai_location



cd /home/gmt/app/filebeat/ && ./start.sh