ฮาร์ดแวร์ระดับนี้รันชุดซอฟต์แวร์ทั้งหมดของ Krueng AI ได้พร้อมกัน — ติวเตอร์ AI พูดได้, สร้างภาพและวิดีโอประกอบบทเรียน, เว็บโรงเรียนภายใน, AI พนักงานออฟฟิศ, และฐานความรู้ทั่วทั้งโรงเรียน This hardware runs the entire Krueng AI stack concurrently — real-time talking-AI tutor, lesson image and video generation, an internal school website, an AI office assistant, and a school-wide knowledge base.
ติวเตอร์ภาษาอังกฤษพูดได้แบบเรียลไทม์ (Wav2Lip + Whisper + Piper + qwen2.5:14b)Real-time talking English tutor (Wav2Lip + Whisper + Piper + qwen2.5:14b)
สร้างภาพประกอบบทเรียน โปสเตอร์ห้องเรียน บัตรคำศัพท์ (SDXL + custom workflows)Generate lesson illustrations, classroom posters, vocab cards (SDXL + custom workflows)
หน้า chatbot สำหรับครู เจ้าหน้าที่ และนักเรียน — เข้าได้ทั้งโรงเรียนChatbot interface for teachers, staff, and students — accessible school-wide
หน้าเว็บที่นักเรียนเข้าจากมือถือผ่าน Wi-Fi โรงเรียน — รวมทุกบริการในที่เดียวInternal portal students access from their phones over school Wi-Fi — all services in one place
ตัวช่วยร่างเอกสารธุรการ ตอบจดหมาย จัดตารางสำหรับเจ้าหน้าที่Drafts admin docs, replies to letters, organizes schedules for staff
ดัชนีเอกสาร นโยบาย แผนการสอน ของโรงเรียน — ค้นและอ้างอิงได้ทันทีIndexes the school's documents, policies, lesson plans — instantly searchable and referenceable
เครื่อง DGX Spark / EdgeXpert มาพร้อม Ubuntu และ Docker ติดตั้งอยู่แล้ว — เราใช้ Docker Compose เพื่อรันทุกบริการพร้อมกัน DGX Spark / EdgeXpert ships with Ubuntu and Docker pre-installed. We use Docker Compose to bring up all services together.
ssh admin@krueng-spark.local
เปลี่ยน admin และ krueng-spark.local ตามที่ตั้งไว้ในเครือข่ายโรงเรียนReplace admin and krueng-spark.local with the credentials and hostname set up on your school network.
mkdir -p ~/krueng && cd ~/krueng curl -O https://krueng.ai/install/docker-compose.yml curl -O https://krueng.ai/install/.env.example cp .env.example .env
แก้ไข .env เพื่อตั้งโดเมนภายใน, รหัสผ่านผู้ดูแล, และเลือกโมเดล (qwen2.5:14b / typhoon-12b)Edit .env to set the internal domain, admin password, and pick the LLM (qwen2.5:14b / typhoon-12b).
docker compose pull
ครั้งแรกใช้เวลา ~15-30 นาที ขึ้นกับความเร็วอินเทอร์เน็ต — หลังจากนี้ไม่ต้องดาวน์โหลดอีกFirst time takes ~15-30 min depending on internet speed. After this you won't need to download again.
docker compose up -d
ดูสถานะ:Check status:
docker compose ps
ทุก service ควรเป็น Up ในไม่กี่นาที (Wav2Lip ใช้เวลานานสุด ~2-3 นาที)Every service should be Up within a few minutes (Wav2Lip is the slowest at ~2-3 min).
ตั้ง DNS ใน router ของโรงเรียนให้ ai.school.local ชี้มาที่ IP ของเครื่อง — นักเรียนเข้าจากมือถือผ่าน Wi-Fi โรงเรียนได้Point a DNS record (e.g. ai.school.local) on the school router at the box's IP — students reach all services from their phones over school Wi-Fi.
พอร์ตที่บริการรัน (ภายในเครือข่ายโรงเรียน):Ports each service listens on (internal school network):
วางเอกสาร (PDF, Word, txt) ในโฟลเดอร์ ~/krueng/docs/ แล้วรัน:Drop school documents (PDF, Word, txt) into ~/krueng/docs/ and run:
docker compose exec rag-indexer python /app/reindex.py
เพิ่มเอกสารใหม่: วางในโฟลเดอร์เดิม แล้วรัน reindex อีกครั้งAdding new documents later: drop them in the same folder and run reindex again.
สำคัญ: ฐานความรู้ของโรงเรียนคือทรัพย์สิน — สำรองข้อมูลออกไปยังเครื่อง NAS หรือไดรฟ์ภายนอกImportant: the school's knowledge base is an asset — back it up to a NAS or external drive.
sudo cp ~/krueng/install/krueng-backup.sh /etc/cron.weekly/ sudo chmod +x /etc/cron.weekly/krueng-backup.sh