搜索

PythonReactSEOPDF
OpenClaw

Openclaw Self Clone Everything

OpenClaw Clone to New VPS

crazypeace0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install crazypeace/openclaw-self-clone-everything

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

OpenClaw Clone to New VPS

Overview: Deploy OpenClaw to a new VPS using SSH and a non-interactive installer, then copy your ~/.opencl workspace and verify/update credentials.

Prerequisites

  • SSH access to the new VPS: IP address, username, and password (or SSH key)

  • The new VPS runs a supported Linux distribution (verify with the official docs)

  • Ensure outbound connectivity on the new VPS (to fetch the installer)

  • Security: When prompted for passwords, avoid hardcoding them; prefer password prompts or SSH key-based auth.

Procedure

Step 1: Verify SSH connectivity
  • Test access from the current environment to the new VPS.
  • Example (interactive login test):
    ssh USER@VPS_IP
    
  • Replace USER with the provided username and VPS_IP with the target IP.
  • Exit the test SSH session once verified.

If auth uses an SSH key, ensure the private key is available and permissions are tightened (e.g., 600).

Step 2: Install OpenClaw via non-interactive script
  • Run the official installer in non-interactive mode on the new VPS:
    ssh USER@VPS_IP 'bash -c "$(curl -fsSL https://openclaw.ai/install.sh)" -- --no-onboard'
    
  • Explanation:
    • --no-onboard skips the interactive onboarding wizard.
    • This command performs the installation over SSH without prompting.

If the new VPS blocks curl or https://openclaw.ai, download the installer locally and scp/transfer it before running bash install.sh -- --no-onboard.

Step 3: Copy ~/.openclaw from the source to the new VPS
  • Source path (current environment): ~/.openclaw

  • Target directory on the new VPS: ~/.openclaw

  • Create a compressed archive, transfer it, and extract on the new VPS:

    # Compress (on source)
    cd ~ && tar czf openclaw-data.tar.gz --exclude='*.log' --exclude='cache' --exclude='node_modules/.cache' .openclaw
    
    # Transfer
    scp openclaw-data.tar.gz USER@VPS_IP:~/
    
    # Extract (on new VPS)
    ssh USER@VPS_IP 'rm -rf ~/.openclaw && tar xzf ~/o...
    

来源信息

Source
github
Repository
openclaw/skills
Path
skills/crazypeace/openclaw-self-clone-everything
Version
—
Commit
a367e424ba5328e21638b17c23aa259f0b3543d9
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# OpenClaw Clone to New VPS

Overview: Deploy OpenClaw to a new VPS using SSH and a non-interactive installer, then copy your ~/.opencl workspace and verify/update credentials.

## Prerequisites

- SSH access to the new VPS: IP address, username, and password (or SSH key)
- The new VPS runs a supported Linux distribution (verify with the official docs)
- Ensure outbound connectivity on the new VPS (to fetch the installer)

- Security: When prompted for passwords, avoid hardcoding them; prefer password prompts or SSH key-based auth.

## Procedure

### Step 1: Verify SSH connectivity

- Test access from the current environment to the new VPS.
- Example (interactive login test):
  ```bash
  ssh USER@VPS_IP
  ```
- Replace `USER` with the provided username and `VPS_IP` with the target IP.
- Exit the test SSH session once verified.

If auth uses an SSH key, ensure the private key is available and permissions are tightened (e.g., 600).

### Step 2: Install OpenClaw via non-interactive script

- Run the official installer in non-interactive mode on the new VPS:
  ```bash
  ssh USER@VPS_IP 'bash -c "$(curl -fsSL https://openclaw.ai/install.sh)" -- --no-onboard'
  ```
- Explanation:
  - `--no-onboard` skips the interactive onboarding wizard.
  - This command performs the installation over SSH without prompting.

If the new VPS blocks curl or `https://openclaw.ai`, download the installer locally and scp/transfer it before running `bash install.sh -- --no-onboard`.

### Step 3: Copy ~/.openclaw from the source to the new VPS

- Source path (current environment): `~/.openclaw`
- Target directory on the new VPS: `~/.openclaw`

- Create a compressed archive, transfer it, and extract on the new VPS:
  ```bash
  # Compress (on source)
  cd ~ && tar czf openclaw-data.tar.gz --exclude='*.log' --exclude='cache' --exclude='node_modules/.cache' .openclaw

  # Transfer
  scp openclaw-data.tar.gz USER@VPS_IP:~/

  # Extract (on new VPS)
  ssh USER@VPS_IP 'rm -rf ~/.openclaw && tar xzf ~/o...

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.