ตั้งแต่วันที่ 27 มีนาคม 2025 เป็นต้นไป เราขอแนะนำให้ใช้ android-latest-release
แทน aosp-main
เพื่อสร้างและมีส่วนร่วมใน AOSP โปรดดูข้อมูลเพิ่มเติมที่หัวข้อการเปลี่ยนแปลงใน AOSP
เรียกใช้ Cuttlefish ในเซิร์ฟเวอร์ที่ติดตั้งในองค์กร
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
หน้านี้จะอธิบายวิธีเรียกใช้ Cuttlefish บนเซิร์ฟเวอร์ในองค์กร หากต้องการเรียกใช้ Cuttlefish ในเซิร์ฟเวอร์ที่ติดตั้งในองค์กร คุณต้องอิมเมจ Cuttlefish Docker และเว็บเซอร์วิส Cloud Orchestrator
อิมเมจ Cuttlefish Docker ประกอบด้วยไลบรารีและแพ็กเกจที่จำเป็นทั้งหมดสำหรับการเปิดใช้ Cuttlefish ในคอนเทนเนอร์ อิมเมจ Docker นี้ช่วยให้คุณตั้งค่าโครงสร้างพื้นฐานสําหรับการเรียกใช้อินสแตนซ์ Cuttlefish จากระยะไกลในสภาพแวดล้อมโฮสต์ต่างๆ และช่วยให้คุณเปิด Cuttlefish ได้อย่างอิสระจากการตั้งค่าของเครื่องโฮสต์ เช่น ตัวแปรระบบปฏิบัติการ (Debian, Linux), เวอร์ชันระบบปฏิบัติการ, ตัวแปรสถาปัตยกรรม (x86_64, ARM64) และข้อกําหนดอื่นๆ ในการติดตั้ง
Cloud Orchestrator เป็นเว็บเซอร์วิสสำหรับโฮสติ้ง VM หรือคอนเทนเนอร์ที่คุณใช้เรียกใช้ Cuttlefish ได้
cvdr
คืออินเทอร์เฟซบรรทัดคำสั่งฝั่งไคลเอ็นต์สำหรับการโต้ตอบกับ Cloud Orchestrator
ข้อกำหนดของเซิร์ฟเวอร์สำหรับเรียกใช้อินสแตนซ์ Cuttlefish
ข้อกำหนดของเซิร์ฟเวอร์ (เช่น ข้อกำหนดของ CPU และหน่วยความจำ) สำหรับเรียกใช้อินสแตนซ์ Cuttlefish จะขึ้นอยู่กับจำนวนอินสแตนซ์ Cuttlefish ที่ทำงานพร้อมกันและปริมาณทรัพยากรที่แต่ละอินสแตนซ์ใช้ ตัวอย่างเช่น หากต้องการเรียกใช้อินสแตนซ์ Cuttlefish 40 รายการ ซึ่งแต่ละรายการใช้ CPU 4 คอร์และ RAM 8 GB เซิร์ฟเวอร์จะต้องมีอย่างน้อย 160 คอร์และ RAM 320 GB หากใช้การเร่งกราฟิก คุณจะต้องมี GPU ด้วย นอกจากนี้ CPU ของเซิร์ฟเวอร์ควรมีสถาปัตยกรรม ARM เท่ากับหรือสูงกว่าที่อินสแตนซ์ Cuttlefish ใช้สำหรับบิลด์
ข้อมูลอ้างอิง: ทีม Cuttlefish ใช้การตั้งค่าเซิร์ฟเวอร์ ARM ในองค์กรเพื่อเรียกใช้อุปกรณ์แบบผสมของ Cuttlefish หากต้องการเรียกใช้อินสแตนซ์ CHD 40 รายการพร้อมกัน ทีมจะใช้ 128 คอร์ (เราใช้ ARM v8.2 แต่คุณใช้เวอร์ชันล่าสุดได้) และ RAM 512 GB
ตั้งค่าเซิร์ฟเวอร์ในองค์กรเพื่อเรียกใช้ Cuttlefish
หากต้องการตั้งค่าเซิร์ฟเวอร์ในระบบสำหรับเรียกใช้ Cuttlefish ให้ทําตามวิธีการในหัวข้อเปิดใช้งานเครื่องมือจัดระเบียบระบบคลาวด์ในเซิร์ฟเวอร์ในระบบ
วิธีการเหล่านี้อธิบายวิธีเรียกใช้ Cloud Orchestrator ซึ่งจะดาวน์โหลดและเรียกใช้อิมเมจ Docker ของ Cuttlefish ในฐานะโฮสต์
ใช้ cvdr
เพื่อโต้ตอบกับ Cloud Orchestrator เพื่อสร้าง ลบ และแสดงรายการโฮสต์และอินสแตนซ์ Cuttlefish
ดาวน์โหลดอิมเมจ Cuttlefish Docker
หากต้องการดาวน์โหลดอิมเมจ Docker ของ Cuttlefish ให้ทําตามวิธีการใน android-cuttlefish/docker/README.md ใน GitHub
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# Run Cuttlefish on an on-premise server\n\nThis page describes how to run Cuttlefish on an on-premise server. To run\nCuttlefish on an on-premise server, you must use the Cuttlefish\n[Docker](https://docs.docker.com/get-started/overview/) image and the Cloud\nOrchestrator web service.\n\nThe Cuttlefish Docker image includes all the required dependencies for launching\nCuttlefish in a container. This Docker image lets you set up the infrastructure\nfor running Cuttlefish instances remotely on different host environments and\nlets you launch Cuttlefish independently from your host machine's setup, for\nexample OS variant (Debian, Linux), OS version, architecture variant (x86_64,\nARM64), and other installation dependencies.\n\nThe\n[Cloud Orchestrator](https://github.com/google/cloud-android-orchestration/blob/main/docs/cloud_orchestrator.md)\nis a web service for hosting VMs or containers that you can run Cuttlefish on.\n[`cvdr`](https://github.com/google/cloud-android-orchestration/blob/main/docs/cvdr.md)\nis a client-side command line interface for interacting with the Cloud\nOrchestrator.\n\nServer requirements for running Cuttlefish instances\n----------------------------------------------------\n\nThe server requirements (for example, CPU and memory requirements) for\nrunning Cuttlefish instances depends on the number of Cuttlefish\ninstances running at the same time and the amount of resources each instance\nuses. For example, to run 40 Cuttlefish instances, which each use 4 CPU cores\nand 8 GB of RAM, the server requires at least 160 cores and 320 GB of\nRAM. If using graphical acceleration, GPUs are also required. Also, the server's\nCPU should have an ARM architecture equal to or higher than that used by a\nCuttlefish instance for its build.\n\nFor reference, the Cuttlefish team uses an on-premise ARM server setup for\nrunning Cuttlefish hybrid devices. To run 40 CHD instances at the same time, the\nteam uses 128 cores (we use ARM v8.2 but you can use the latest version) and\n512 GB of RAM.\n\nSet up an on-premise server for running Cuttlefish\n--------------------------------------------------\n\nTo set up an on-premise server for running Cuttlefish, follow the instructions\nin\n[Activate cloud orchestrator at on-premise server](https://github.com/google/cloud-android-orchestration/blob/main/scripts/on-premises/single-server/README.md).\nThese instructions describe how to run Cloud Orchestrator, which downloads\nand runs the [Cuttlefish Docker image](#download-docker-image) as a host.\n\nUse\n[`cvdr`](https://github.com/google/cloud-android-orchestration/blob/main/docs/cvdr.md)\nto interact with Cloud orchestrator to create, delete, and list hosts and\nCuttlefish instances.\n\nDownload the Cuttlefish Docker image\n------------------------------------\n\nTo download the Cuttlefish Docker image, follow the instructions in\n[android-cuttlefish/docker/README.md](https://github.com/google/android-cuttlefish/blob/main/README.md)\non GitHub."]]