Pular para conteúdo

Comandos rápidos

Terminal — Hostinger VPS
ssh root@seu-ip-hostinger
apt update && apt upgrade -y
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs
npm install -g openclaw
openclaw onboard --install-daemon

Se o OpenClaw roda no seu notebook, ele morre quando você fecha a tampa. VPS resolve.

O que você vai ter no final

  • OpenClaw rodando 24/7
  • reinício automático após reboot
  • checklist de segurança básica

1. Criar o VPS

No painel da Hostinger:

  • escolha Ubuntu 22.04 ou 24.04
  • pegue o IP

2. Entrar por SSH

ssh root@SEU_IP

3. Atualizar e instalar Node.js 20

apt update && apt upgrade -y
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs
node -v
npm -v

4. Instalar e configurar OpenClaw

npm install -g openclaw
openclaw onboard --install-daemon

5. Verificar

openclaw status

Segurança mínima (recomendado)

  • habilite firewall
  • use chave SSH quando possível
  • mantenha o sistema atualizado

Próximos passos

Instalar agora
npm install -g openclaw && openclaw onboard