Community translations by veiseule.ai — Help improve them on Crowdin
Skip to main content

macOS VM များပေါ်ရှိ OpenClaw (Sandboxing)

အကြံပြုထားသော မူလရွေးချယ်မှု (အသုံးပြုသူအများစုအတွက်)

  • အမြဲဖွင့်ထားနိုင်သော Gateway နှင့် ကုန်ကျစရိတ်နည်းစေရန် အသေးစား Linux VPS ကို အသုံးပြုပါ။ VPS hosting ကို ကြည့်ပါ။
  • Dedicated hardware (Mac mini or Linux box) if you want full control and a residential IP for browser automation. site အများအပြားက data center IPs ကို ပိတ်ထားတဲ့အတွက် local browsing က ပိုကောင်းတတ်ပါတယ်။
  • Hybrid: Gateway ကို စျေးသက်သာသော VPS ပေါ်တွင်ထားပြီး browser/UI automation လိုအပ်သည့်အချိန်တွင် သင့် Mac ကို node အဖြစ် ချိတ်ဆက်ပါ။ Nodes နှင့် Gateway remote ကို ကြည့်ပါ။

macOS သာလျှင်ရနိုင်သော စွမ်းရည်များ (iMessage/BlueBubbles) လိုအပ်သည့်အခါ သို့မဟုတ် နေ့စဉ်အသုံးပြုနေသော Mac မှ တင်းကျပ်စွာ ခွဲခြားထားလိုသည့်အခါ macOS VM ကို အသုံးပြုပါ။

macOS VM ရွေးချယ်စရာများ

သင့် Apple Silicon Mac ပေါ်ရှိ Local VM (Lume)

သင့်ရှိပြီးသား Apple Silicon Mac ပေါ်တွင် Lume ကို အသုံးပြုပြီး sandboxed macOS VM အတွင်း OpenClaw ကို လည်ပတ်စေပါ။

ဤနည်းဖြင့်—

  • isolation အပြည့်ရှိသော macOS ပတ်ဝန်းကျင် (host ကို သန့်ရှင်းစွာ ထိန်းထားနိုင်သည်)
  • BlueBubbles မှတစ်ဆင့် iMessage ထောက်ပံ့မှု (Linux/Windows တွင် မဖြစ်နိုင်)
  • VM များကို clone လုပ်၍ ချက်ချင်း reset ပြန်လုပ်နိုင်ခြင်း
  • အပို hardware သို့မဟုတ် cloud ကုန်ကျစရိတ် မလိုအပ်ခြင်း

Hosted Mac ဝန်ဆောင်မှုများ (cloud)

cloud ပေါ်တွင် macOS လိုအပ်ပါက hosted Mac providers များကိုလည်း အသုံးပြုနိုင်သည်—

  • MacStadium (hosted Macs ဝန်ဆောင်မှု)
  • အခြား hosted Mac vendor များလည်း အသုံးပြုနိုင်သည်; ၎င်းတို့၏ VM + SSH စာရွက်စာတမ်းများကို လိုက်နာပါ

macOS VM သို့ SSH ဝင်ရောက်နိုင်ပါက အောက်ပါ အဆင့် 6 မှ ဆက်လုပ်ပါ။


အမြန်လမ်းကြောင်း (Lume, အတွေ့အကြုံရှိသူများ)

  1. Lume ကို ထည့်သွင်းပါ
  2. lume create openclaw --os macos --ipsw latest
  3. Setup Assistant ကို ပြီးစီးစေပြီး Remote Login (SSH) ကို ဖွင့်ပါ
  4. lume run openclaw --no-display
  5. SSH ဝင်ပြီး OpenClaw ကို ထည့်သွင်း၊ ချန်နယ်များကို ဖွဲ့စည်းပြင်ဆင်ပါ
  6. ပြီးပါပြီ

လိုအပ်ချက်များ (Lume)

  • Apple Silicon Mac (M1/M2/M3/M4)
  • host ပေါ်တွင် macOS Sequoia သို့မဟုတ် ထို့ထက်နောက်ပိုင်း
  • VM တစ်ခုလျှင် disk space ~60 GB
  • ~20 မိနစ်ခန့်

1. Lume ကို ထည့်သွင်းခြင်း

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/trycua/cua/main/libs/lume/scripts/install.sh)"

~/.local/bin သည် PATH ထဲတွင် မရှိပါက—

echo 'export PATH="$PATH:$HOME/.local/bin"' >> ~/.zshrc && source ~/.zshrc

အတည်ပြုရန်—

lume --version

စာရွက်စာတမ်းများ - Lume Installation


2. macOS VM ကို ဖန်တီးခြင်း

lume create openclaw --os macos --ipsw latest

This downloads macOS and creates the VM. A VNC window opens automatically.

မှတ်ချက်: သင့်အင်တာနက်ချိတ်ဆက်မှုအပေါ် မူတည်၍ download သည် အချိန်ယူနိုင်ပါသည်။


3. Setup Assistant ကို ပြီးစီးစေခြင်း

VNC window အတွင်း—

  1. ဘာသာစကားနှင့် ဒေသကို ရွေးချယ်ပါ
  2. Apple ID ကို ကျော်ပါ (နောက်မှ iMessage လိုပါက sign in လုပ်နိုင်သည်)
  3. အသုံးပြုသူအကောင့်တစ်ခု ဖန်တီးပါ (username နှင့် password ကို မှတ်သားထားပါ)
  4. အပိုဆောင်း feature များအားလုံးကို ကျော်ပါ

Setup ပြီးဆုံးပါက SSH ကို ဖွင့်ပါ—

  1. System Settings → General → Sharing ကို ဖွင့်ပါ
  2. "Remote Login" ကို ဖွင့်ပါ

4. VM ၏ IP လိပ်စာကို ရယူခြင်း

lume get openclaw

IP လိပ်စာကို ရှာပါ (အများအားဖြင့် 192.168.64.x)။


5. VM သို့ SSH ဝင်ရောက်ခြင်း

ssh youruser@192.168.64.X

youruser ကို သင်ဖန်တီးခဲ့သော အကောင့်ဖြင့် အစားထိုးပြီး IP ကို သင့် VM ၏ IP ဖြင့် အစားထိုးပါ။


6. OpenClaw ကို ထည့်သွင်းခြင်း

VM အတွင်း—

npm install -g openclaw@latest
openclaw onboard --install-daemon

onboarding မေးခွန်းများကို လိုက်နာပြီး သင့် model provider (Anthropic, OpenAI စသည်) ကို သတ်မှတ်ပါ။


7. ချန်နယ်များကို ဖွဲ့စည်းပြင်ဆင်ခြင်း

config ဖိုင်ကို ပြင်ဆင်ပါ—

nano ~/.openclaw/openclaw.json

သင့် ချန်နယ်များကို ထည့်ပါ—

{
  "channels": {
    "whatsapp": {
      "dmPolicy": "allowlist",
      "allowFrom": ["+15551234567"]
    },
    "telegram": {
      "botToken": "YOUR_BOT_TOKEN"
    }
  }
}

ထို့နောက် WhatsApp သို့ login လုပ်ပါ (QR scan)—

openclaw channels login

8. VM ကို headless အဖြစ် လည်ပတ်စေခြင်း

VM ကို ရပ်တန့်ပြီး display မပါဘဲ ပြန်စတင်ပါ—

lume stop openclaw
lume run openclaw --no-display

The VM runs in the background. OpenClaw's daemon keeps the gateway running.

အခြေအနေ စစ်ဆေးရန်—

ssh youruser@192.168.64.X "openclaw status"

Bonus: iMessage ပေါင်းစည်းမှု

This is the killer feature of running on macOS. Use BlueBubbles to add iMessage to OpenClaw.

VM အတွင်း—

  1. bluebubbles.app မှ BlueBubbles ကို download လုပ်ပါ
  2. သင့် Apple ID ဖြင့် sign in လုပ်ပါ
  3. Web API ကို ဖွင့်ပြီး password တစ်ခု သတ်မှတ်ပါ
  4. BlueBubbles webhooks များကို သင့် Gateway သို့ ညွှန်ပါ (ဥပမာ: https://your-gateway-host:3000/bluebubbles-webhook?password=<password>)

OpenClaw config ထဲသို့ ထည့်ပါ—

{
  "channels": {
    "bluebubbles": {
      "serverUrl": "http://localhost:1234",
      "password": "your-api-password",
      "webhookPath": "/bluebubbles-webhook"
    }
  }
}

Gateway(ဂိတ်ဝေး) ကို ပြန်လည်စတင်ပါ။ Now your agent can send and receive iMessages.

အသေးစိတ် setup: BlueBubbles channel


Golden image ကို သိမ်းဆည်းခြင်း

နောက်ထပ် customize မလုပ်မီ သန့်ရှင်းသော အခြေအနေကို snapshot လုပ်ထားပါ—

lume stop openclaw
lume clone openclaw openclaw-golden

အချိန်မရွေး reset ပြန်လုပ်ရန်—

lume stop openclaw && lume delete openclaw
lume clone openclaw-golden openclaw
lume run openclaw --no-display

၂၄/၇ လည်ပတ်စေခြင်း

VM ကို ဆက်လက် လည်ပတ်စေရန်—

  • သင့် Mac ကို plug in ထားပါ
  • System Settings → Energy Saver တွင် sleep ကို ပိတ်ပါ
  • လိုအပ်ပါက caffeinate ကို အသုံးပြုပါ

For true always-on, consider a dedicated Mac mini or a small VPS. See VPS hosting.


Troubleshooting

ပြဿနာ ဖြေရှင်းနည်း
VM သို့ SSH မဝင်နိုင် VM ၏ System Settings တွင် "Remote Login" ဖွင့်ထားကြောင်း စစ်ဆေးပါ
VM IP မပေါ်လာ VM အပြည့်အဝ boot ဖြစ်အောင် စောင့်ပြီး lume get openclaw ကို ထပ်မံ chạy ပါ
Lume command မတွေ့ ~/.local/bin ကို PATH ထဲသို့ ထည့်ပါ
WhatsApp QR မစကန်နိုင် openclaw channels login ကို chạy လုပ်စဉ် VM ထဲတွင် login ဝင်ထားကြောင်း သေချာပါ

ဆက်စပ် စာရွက်စာတမ်းများ