Krueng AI · Install · DGX Spark / EdgeXpert

ติดตั้งฉบับเต็มบน DGX Spark / MSI EdgeXpert Install the full stack on the DGX Spark / MSI EdgeXpert

ฮาร์ดแวร์ระดับนี้รันชุดซอฟต์แวร์ทั้งหมดของ 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.

ฮาร์ดแวร์ที่รองรับSupported hardware

บริการที่จะรันบนเครื่องServices running on the box

①

Avatar ติวเตอร์Avatar tutor

ติวเตอร์ภาษาอังกฤษพูดได้แบบเรียลไทม์ (Wav2Lip + Whisper + Piper + qwen2.5:14b)Real-time talking English tutor (Wav2Lip + Whisper + Piper + qwen2.5:14b)

②

ComfyUI

สร้างภาพประกอบบทเรียน โปสเตอร์ห้องเรียน บัตรคำศัพท์ (SDXL + custom workflows)Generate lesson illustrations, classroom posters, vocab cards (SDXL + custom workflows)

③

Open WebUI

หน้า chatbot สำหรับครู เจ้าหน้าที่ และนักเรียน — เข้าได้ทั้งโรงเรียนChatbot interface for teachers, staff, and students — accessible school-wide

④

เว็บโรงเรียนภายในInternal school website

หน้าเว็บที่นักเรียนเข้าจากมือถือผ่าน Wi-Fi โรงเรียน — รวมทุกบริการในที่เดียวInternal portal students access from their phones over school Wi-Fi — all services in one place

⑤

AI พนักงานออฟฟิศAI office worker

ตัวช่วยร่างเอกสารธุรการ ตอบจดหมาย จัดตารางสำหรับเจ้าหน้าที่Drafts admin docs, replies to letters, organizes schedules for staff

⑥

ฐานความรู้ (RAG)Knowledge base (RAG)

ดัชนีเอกสาร นโยบาย แผนการสอน ของโรงเรียน — ค้นและอ้างอิงได้ทันทีIndexes the school's documents, policies, lesson plans — instantly searchable and referenceable

รองรับผู้ใช้กี่คนConcurrent users

ขั้นตอนการติดตั้งInstall steps

เครื่อง 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.

  1. SSH เข้าเครื่องSSH into the box

    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.

  2. ดึง docker-compose.yml ของ Krueng AIPull the Krueng AI compose file

    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).

  3. ดึง Docker images ทั้งหมด (~23 GB)Pull all Docker images (~23 GB)

    docker compose pull

    ครั้งแรกใช้เวลา ~15-30 นาที ขึ้นกับความเร็วอินเทอร์เน็ต — หลังจากนี้ไม่ต้องดาวน์โหลดอีกFirst time takes ~15-30 min depending on internet speed. After this you won't need to download again.

  4. เริ่มรันทุกบริการBring up all services

    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).

  5. ตั้งค่าเครือข่ายโรงเรียนConfigure school network access

    ตั้ง 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):

    80 / 443
    เว็บโรงเรียนschool portal
    3000
    Open WebUI
    7860
    ComfyUI
    7861
    Avatar ติวเตอร์Avatar tutor
    11434
    Ollama API
    8080
    AI ออฟฟิศAI office
  6. ดัชนีเอกสารของโรงเรียนIndex school documents

    วางเอกสาร (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.

  7. ตั้ง backup รายสัปดาห์Set up weekly backups

    สำคัญ: ฐานความรู้ของโรงเรียนคือทรัพย์สิน — สำรองข้อมูลออกไปยังเครื่อง 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
ฝึกอบรมและการตั้งค่าเฉพาะโรงเรียน: มีคู่มือผ่าน NotebookLM (ภาษาไทย), เนื้อหาบน krueng.ai, และกลุ่มชุมชน — ทั้งหมดฟรี ถ้าต้องการความช่วยเหลือเฉพาะตัวเพิ่ม สมัครซัพพอร์ตพรีเมียม ฿2,500/เดือนได้ Training and school-specific configuration: guides via NotebookLM (Thai), content on krueng.ai, and a community group — all free. For dedicated guided help, the Premium support tier (฿2,500/mo) includes guided training sessions.
ส่งอีเมลปรึกษาฟรีFree email consultation ติดตั้งบนแล็ปท็อปInstall on a laptop ดูแพ็กเกจซัพพอร์ตSupport plans