-2026 05 18-
Step1
Apache2와 Flask연동
ip addr
sudo apt update
sudo apt -y install net-tools
sudo apt -y install lrzsz
sudo hostnamectl set-hostname IP075
sudo ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
교수 - 조교 - 학생 연동시키기
Step2(Zabbix설치)
왜 설치하는가? 모니터링 하기 위해
wget https://repo.zabbix.com/zabbix/7.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_7.0-1+ubuntu24.04_all.deb
sudo dpkg -i zabbix-release_7.0-1+ubuntu24.04_all.deb
sudo apt update
sudo apt -y install zabbix-agent2
nano /etc/zabbix/zabbix_agent2.conf
>192.168.0.7
Server = 192.168.0.7
ServerActive = 192.168.0.7
Hostname = IP075
systemctl restart zabbix-agent2
Step3(Packetbeat설치)
왜 설치 하는가? 받은 패킷을 다른곳으로 보내주기 위해
집에서 접속
ssh: jeonjucom.kr 22075
web: http://jeonjucom.kr:8075
ftp: jeonjucom.kr 21075
curl -fsSL https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo gpg --dearmor -o /usr/share/keyrings/elastic.gpg
echo "deb [signed-by=/usr/share/keyrings/elastic.gpg] https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
sudo apt update
sudo apt -y install packetbeat
sudo nano /etc/packetbeat/packetbeat.yml
Output.ElasticSearch
localhost:9200 > 192.168.0.129
sudo systemctl start packetbeat
sudo systemctl enable packetbeat
systemctl status packetbeat
sudo journalctl -u packetbeat -f