aws 서버 관련
flask_app 시작 시 sudo systemctl daemon-reload sudo systemctl start flask_app sudo systemctl enable flask_app 파일 수정 후 → sudo systemctl restart flask_app sudo fuser -k 8000/tcp (kill my port 8000) sudo journalctl -u flask_app -n 30 xampp sudo /opt/lampp/lampp restart tail -f /opt/lampp/logs/php_error_log 디스크 공간 관리 현재 상태 확인 → df -h tmpfs 마운트 늘리기 sudo mount -o size=10M,rw,nodev,nosuid -t tmpfs tmpfs /tmp pip killed → pip install <package> —no-cache-dir 용량 늘리기 sudo xfs_growfs / 메모리 현재 상태 : free -h RAM swap