# 1. 목록 업데이트
pkg update && pkg upgrade
# 2. Ubuntu
proot-distro install ubuntu
# 3. 로그인
proot-distro login ubuntu
# 4. 필수 도구 설치
apt update && apt upgrade -y
apt install curl git build-essential -y
# 5. node.js 설치
curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
apt install -y nodejs
# 6. opencalw 설치
npm install -g openclaw@latest
# 7. 패치 파일 생성
cat << eof > /root/fix_bug.js
const os = require('os');
os.networkInterfaces = () => ({});
eof
# 8. 환경 변수 등록
echo 'export NODE_OPTIONS="-r /root/fix_bug.js"' >> ~/.bashrc
source ~/.bashrc
# 9. Gemini 설정
echo 'export GEMINI_API_KEY="본인의_API_키_입력"' >> ~/.bashrc
source ~/.bashrc
# 10. OpenClaw 실행 확인
openclaw onboard
# 11. Openclaw 실행
openclaw gateway run
'Tip > Android' 카테고리의 다른 글
| [Javascript] Gemini로 만든 메모리 게임 (0) | 2026.01.04 |
|---|---|
| [Termux] Putty로 접속시 괘선이 깨지는 경우 (0) | 2025.10.30 |
| CLion를 이용하여 Termux로 원격 개발하기 (0) | 2025.09.11 |
