Requirements
| Resource | Minimum | Recommended |
|---|---|---|
| Host OS | Windows 10/11 or macOS 12+ | Latest version |
| RAM | 4 GB available for VM | 8 GB available for VM |
| Disk | 25 GB free | 40 GB free |
| CPU | 2 cores, VT-x/AMD-V enabled | 4 cores |
| Network | Internet connection | Stable broadband |
VMware Editions
| Edition | Platform | License |
|---|---|---|
| VMware Workstation Player | Windows | Free for personal use |
| VMware Workstation Pro | Windows | Paid (now free for personal use) |
| VMware Fusion | macOS (Intel) | Paid |
| VMware Fusion Player | macOS (Intel + Apple Silicon) | Free for personal use |
Step 1: Download VMware
Windows
- Go to: https://www.vmware.com/products/desktop-hypervisor/workstation-and-fusion
- Download VMware Workstation Player (or Pro)
- Run the installer with default settings
- Restart if prompted
macOS
- Go to: https://www.vmware.com/products/desktop-hypervisor/workstation-and-fusion
- Download VMware Fusion (or Fusion Player for free personal use)
- Open the DMG and drag VMware Fusion to Applications
- Launch and complete the initial setup
Step 2: Download Ubuntu ISO
- Go to: https://ubuntu.com/download/server
- Download Ubuntu Server 24.04 LTS
- Intel/AMD systems: Download the standard x86_64 ISO
- Apple Silicon Macs: Download the ARM64 ISO from https://ubuntu.com/download/server/arm
- Save the ISO file (approximately 2.5 GB)
Step 3: Create the Virtual Machine
VMware Workstation Player (Windows)
- Open VMware Workstation Player
- Click Create a New Virtual Machine
- Select Installer disc image file (ISO) and browse to the Ubuntu ISO
- Click Next
- VMware may detect "Ubuntu 64-bit" — click Next
- Name the VM:
codehero - Location: Leave default or choose a folder with enough space
- Click Next
- Disk size: 40 GB
- Select "Store virtual disk as a single file"
- Click Next
- Click Customize Hardware:
- Memory: 4096 MB (or more)
- Processors: 2 (or more)
- Network Adapter: Change from NAT to Bridged (connects directly to your physical network)
- Click Close then Finish
- The VM starts automatically
VMware Fusion (macOS)
- Open VMware Fusion
- Click + (Add) or File > New
- Select Create a custom virtual machine (or drag the Ubuntu ISO)
- Choose Linux > Ubuntu 64-bit (or Ubuntu 64-bit ARM for Apple Silicon)
- Click Continue
- Firmware: UEFI (default)
- Click Continue
- Virtual disk: Create a new virtual disk, 40 GB
- Click Continue
- Click Customize Settings
- Save as
codehero - In the Settings window:
- Processors & Memory: 2 CPUs, 4096 MB RAM
- Network Adapter: Change to Bridged Networking > Autodetect
- Close Settings
- Click the Play button to start the VM
Step 4: Install Ubuntu
- When the VM boots from the ISO, select Try or Install Ubuntu Server
- Follow the installation wizard:
- Language: Select your language
- Keyboard: Select your keyboard layout
- Type of Install: Ubuntu Server
- Network: Auto-detected. Note the IP address if shown.
- Proxy: Leave empty
- Mirror: Leave default
- Storage: Use an entire disk > select the virtual disk > Done > Done > Continue
- Profile Setup:
- Your name:
Claude Admin - Server name:
codehero-server - Username:
claude - Password: Choose a password (remember it)
- Your name:
- Ubuntu Pro: Skip for now
- SSH: Check "Install OpenSSH server"
- Featured Snaps: Skip
- Wait for installation to finish (5-10 minutes)
- Select Reboot Now
- Press Enter if asked to remove the installation medium
- If the VM boots back into the installer, power off the VM, remove the ISO from the CD/DVD settings, and start the VM again
First Login
At the login prompt:
- Username:
claude - Password: the password you chose
Step 5: Install CodeHero
Run these commands inside the VM. First, copy the ZIP file provided with your CodeHero PRO license into the VM, then:
sudo apt update
sudo apt install -y unzip wget net-tools
sudo su
cd /root
unzip codehero-pro-release-4.6.3.zip
cd codehero
chmod +x setup.sh
./setup.sh
Wait 10-15 minutes for installation to complete.
Find Your VM IP Address
hostname -I
Write down the IP (e.g., 192.168.1.110).
Step 6: Access the Dashboard
On your host machine, open a browser and go to:
https://YOUR_VM_IP:9453
Default Login
- Username:
admin - Password:
admin123
Change Default Passwords
sudo /opt/codehero/scripts/change-passwords.sh
Browser Security Warning
| Browser | How to Proceed |
|---|---|
| Chrome | Click "Advanced" then "Proceed to site (unsafe)" |
| Firefox | Click "Advanced..." then "Accept the Risk and Continue" |
| Safari | Click "Show Details" then "visit this website" |
| Edge | Click "Advanced" then "Continue to site (unsafe)" |
Daily Usage
Start the VM
GUI (Workstation Player): Open VMware, select the VM, click Play.
GUI (Fusion): Open VMware Fusion, double-click the VM.
Command line (vmrun):
# Start
vmrun start "/path/to/codehero.vmx"
# Start without GUI (headless)
vmrun start "/path/to/codehero.vmx" nogui
Default VM locations:
- Windows:
C:\Users\YourName\Documents\Virtual Machines\codehero\codehero.vmx - macOS:
~/Virtual Machines.localized/codehero.vmwarevm/codehero.vmx
Stop the VM
GUI: VM menu > Shut Down Guest (graceful) or Power Off (force).
Command line:
# Graceful shutdown
vmrun stop "/path/to/codehero.vmx" soft
# Force power off
vmrun stop "/path/to/codehero.vmx" hard
Suspend the VM
vmrun suspend "/path/to/codehero.vmx"
Saves the current state to disk. Resuming is faster than a full boot.
Delete the VM
GUI: Right-click the VM > Delete from Disk.
Command line:
vmrun deleteVM "/path/to/codehero.vmx"
SSH into the VM
ssh claude@YOUR_VM_IP
Troubleshooting
VM Won't Start: "VT-x/AMD-V is not available"
- Enable virtualization in your BIOS/UEFI (VT-x for Intel, AMD-V for AMD)
- On Windows: Disable Hyper-V if it conflicts (VMware and Hyper-V can conflict on some systems):
bcdedit /set hypervisorlaunchtype offRestart after this change.
No Network Connection
- Verify the network adapter is set to Bridged
- In VMware settings, check the correct physical adapter is selected
- Inside the VM:
sudo systemctl restart systemd-networkd ip addr show
Cannot Access Dashboard
- Confirm the VM IP:
hostname -I - Ensure
https://is used (nothttp://) - Check services:
sudo systemctl status codehero-web codehero-daemon - Check firewall:
sudo ufw allow 9453 sudo ufw allow 9867
VM Runs Slowly
- Increase RAM to 8192 MB in VM settings
- Increase CPU cores to 4
- Ensure 3D acceleration is disabled (can cause issues with server VMs)
- Install VMware Tools for better performance:
sudo apt install -y open-vm-tools
VM Boots Back Into Installer After Reboot
The ISO is still attached:
- Power off the VM
- Go to VM Settings > CD/DVD
- Change to "Use physical drive" or disconnect the ISO
- Start the VM again
VMware Tools Installation
For better performance and integration, install VMware Tools:
sudo apt install -y open-vm-tools
sudo reboot