RDP Monster

How to Deploy OpenClaw (MoltBot/ClawdBot) on Linux VPS – Complete Guide

How to Deploy OpenClaw (MoltBot/ClawdBot) on Linux VPS – Complete Guide

OpenClaw (formerly known as MoltBot or ClawdBot) is the evolution of the open-source personal AI assistant. While the name has changed to reflect its growing ecosystem, the mission remains the same: giving you an AI that runs entirely on your infrastructure.

Unlike standard chatbots like ChatGPT or Gemini which live in a browser tab, OpenClaw connects directly to your daily life via WhatsApp, Telegram, Discord, Signal, and Slack. It provides seamless, proactive interactions while ensuring your data stays under your control, not used to train public models.

Why Self-Hosting is the Future of AI

The “Mac Mini” Trap is a common mistake. We see many enthusiasts spending $600+ on hardware like a Mac Mini or Raspberry Pi to run their “Self-hosted AI”.

Why is this a mistake? Home servers suffer from residential internet latency, power outages, and noise. If your home connection drops for a second, your AI assistant goes offline. Furthermore, keeping a computer running 24/7 at home impacts your electricity bill significantly.

The smartest solution for a Node.js AI Agent like OpenClaw is a high-performance Linux VPS. It runs 24/7 in a secure datacenter with a 10Gbps connection, ensuring your bot replies in milliseconds.

Step 1: Choosing the Right VPS Architecture

OpenClaw is built on a modern architecture that requires Node.js v22 and sufficient RAM to handle the “Gateway” — the service that maintains the WebSocket connections with WhatsApp or Discord.

We recommend the High Performance range from RDP Monster, powered by AMD Ryzen™ 9 7950X. Why Ryzen? AI logic and Node.js are single-thread heavy. The high clock speed of the Ryzen 9 ensures that your bot processes context and generates answers faster than standard cloud servers.

🔥 READER OFFER

Get 10% off with the code:

CLAWD10

View High Performance Linux VPS

Step 2: System Preparation & Dependencies

Before installing the bot, we need to prepare the Linux environment. OpenClaw handles multimedia (voice notes, images), so we need specific libraries.

1

Connect to your VPS via SSH:

ssh root@YOUR_VPS_IP
2

Crucial: Install Node.js 22 and FFmpeg. FFmpeg is mandatory if you want your bot to listen to WhatsApp voice notes and transcribe them.

apt update && apt upgrade -y
# Install Node.js 22 repo
curl -fsSL https://deb.nodesource.com/setup_22.x | bash –
# Install dependencies
apt install -y nodejs ffmpeg git

Step 3: Installation & Onboarding Wizard

OpenClaw simplifies the complex configuration of AI Agents through a CLI (Command Line Interface). We will install it globally.

npm install -g openclaw@latest
openclaw onboard
⚙️ Wizard Settings Guide:
* Gateway Mode: Select Local. This tells OpenClaw to run the server on this VPS.
* Auth: Use Anthropic API Key (Claude 3.5 Sonnet is currently the best model for coding and reasoning) or OpenAI.
* Install Daemon: Select Yes. This automatically sets up a systemd service to keep your bot running even if you close the terminal.

Step 4: Starting the Gateway (The Missing Link)

This is where most tutorials fail. The “Onboard” command creates the config, but it doesn’t start the engine. You need to launch the Gateway and ensure the firewall allows access to the Web Dashboard.

1

Open port 18789. On a secure Linux VPS, ports are closed by default. We use UFW (Uncomplicated Firewall) to allow traffic.

ufw allow 18789/tcp
2

Start the Gateway in background mode:

openclaw gateway –port 18789 –daemon

Note: If you already selected “Install Daemon” in step 3, simply check if it’s running with openclaw health.

✅ Verify Access: Open http://YOUR_VPS_IP:18789 in your browser. You should see the OpenClaw Control Panel, a visual interface to manage your bot’s memory and connections.

Step 5: Connecting Channels (WhatsApp & Discord)

OpenClaw is multi-channel. You can have the same AI assistant available on WhatsApp for personal texts and Discord for server management.

Option A: WhatsApp Integration

OpenClaw uses a library that simulates a Web Browser connection. Run this command to generate a QR code in your terminal:

openclaw channels login whatsapp

Scan it immediately with your phone (Linked Devices > Link a Device).

Option B: Discord Bot

For Discord, you need to create an application in the Discord Developer Portal.
Important: You must enable “Privileged Gateway Intents” (Message Content Intent & Server Members Intent). Without this, your OpenClaw instance cannot read user messages.

Step 6: Security & Pairing

Since your VPS is on the public internet, you don’t want strangers using your API credits. OpenClaw implements a Pairing System (Allowlist). By default, it ignores everyone.

# 1. Send “Hello” from your phone to the bot (It will do nothing)
# 2. Check pending requests on the VPS
openclaw pairing list

# 3. Approve your specific number
openclaw pairing approve whatsapp YOUR_PHONE_NUMBER

Step 7: Features & Advanced Usage

Your AI is now alive on your high-performance VPS. Unlike basic chatbots, OpenClaw has Persistent Memory. It remembers context across days and sessions.

Essential Commands:

  • /think high : Activates “Reasoning Mode” (Chain of Thought). Perfect for complex coding tasks or math.
  • /new : Forces a context reset if you want to change topics completely.
  • /summary : Asks the bot to summarize the last 50 messages (great for group chats).
💡 Next Level with Skills:
OpenClaw isn’t just a chatter. It supports an extensive Skills System. You can install plugins to let it:
– Search the live web (Perplexity/Google style)
– Read and summarize your emails
– Manage your Google Calendar
– Scrape websites for data

Ready to Deploy?

Don’t rely on unstable local hardware. Get a professional environment for your personal AI.

Deploy My AI Assistant

Promo code: CLAWD10 (-10%)

Buy Windows VPS

Powerful Windows VPS Hosting

Enjoy seamless control and high-speed performance with our Windows RDP solutions. Ideal for managing your servers, running applications securely, and boosting your productivity from anywhere.

Dedicated Servers

High-Performance Dedicated Servers

Need maximum control and power? Our Dedicated Servers offer unmatched performance for demanding tasks.

Frequently Asked Questions

How much does it really cost?

There are two distinct costs to consider:
  • Hosting (VPS): This is the rent for your server at RDP Monster (approx. $10-15/month). This keeps your bot alive 24/7.
  • Intelligence (Anthropic API): You pay for what you use directly to Anthropic. For heavy personal use, this rarely exceeds $5 to $10 per month. This is significantly cheaper than a ChatGPT Plus subscription ($20).
  • Why not host it on my own PC?

    It is technically possible, but inconvenient. Your PC must remain on 24/7 (noise, electricity costs). Furthermore, if your home internet drops, the bot dies.
    A Linux VPS offers industrial stability and a 10Gbps connection, ensuring your assistant responds instantly, even at 3 AM when your computer is off.

    🔒 Is my data private?

    This is the biggest advantage of this solution. Unlike "free" online chatbots that sell your data, here you own the infrastructure.

    Messages travel only between your VPS (which you control) and Anthropic's secure servers (to generate the response). No one else reads your conversations.

    Why a "High Performance" VPS (Ryzen) for Clawdbot ?

    Node.js bots rely heavily on processor speed (Single Core performance).
    A standard low-end VPS will take 2 to 3 seconds to "think" before sending the request to the AI. With RDP Monster's Ryzen 9 7950X processors, this latency is reduced to milliseconds. The conversation fluidity feels much more natural.

    Register to our reseller program

    Your informations

    If you have any question, contact us by clicking here !
    Name(Required)
    Enter your email address, you must have an account on manager.rdp.monster !

    Your company

    Enter your website address if you have one
    Quickly explain how you're going to sell services to your customers. For example, talk to people on forums.

    We're using cookies!

    We use cookies to enhance your browsing experience, serve personalized ads or content, and analyze our traffic. By clicking "Accept", you consent to our use of cookies.