Skip to content

Commit

Permalink
Update document
Browse files Browse the repository at this point in the history
  • Loading branch information
dandansamax committed Jul 26, 2024
1 parent 0d0684b commit 2b73ef3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
26 changes: 25 additions & 1 deletion crab-benchmark-v0/docs/environment_gcp_setup.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
Reminder: This method is currently under preparation and is not available.

## Setup and Start the VM Instance

TODO
The development image is hosted in the project `capable-vista-420022` with image name `crab-benchmark-v0-0`.

You can use [gcloud](https://cloud.google.com/sdk/docs/install) to create an instance from this image.

```bash
gcloud compute instances create \
crab-instance \
--zone=us-central1-a \
--machine-type=n2-standard-8 \
--image=https://www.googleapis.com/compute/v1/projects/capable-vista-420022/global/images/crab-benchmark-v0-0 \
--enable-nested-virtualization
# You can change instance name, zone, machine type as you want.
# Remember that the CPU must support nested virtualization and should have at least 32G memory.
```

After creating the instance, you can connect it using SSH.

User account information:

* user: `root`; password: `crab`
* user: `crab`; password: `crab`

**IMPORTANT: You must switch to user `crab` before setting up remote desktop.** Use `sudo su crab`.

## Connect the Instance through a remote desktop service

Expand Down
3 changes: 1 addition & 2 deletions crab-benchmark-v0/docs/environment_local_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ After install Ubuntu, you should install crab-server on it and do necessary init
```bash
git clone https://github.com/camel-ai/crab.git ~/crab/
cd ~/crab/crab-benchmark-v0/scripts
chmod +x ubuntu_env_init.sh
./ubuntu_env_init.sh
bash ubuntu_env_init.sh
```

The VM will reboot after initilization. After rebooting, remember its ip address.
Expand Down

0 comments on commit 2b73ef3

Please sign in to comment.