12- Configure VM console
Step 1: Set Up Ubuntu 20.04 VM
To configure AutoVM Console, first install a fresh Ubuntu 20.04 VM with a public IP address through the AutoVM platform (2048 MB RAM, 30 GB Disk, 1 Core CPU is recommended)
Step 2: Create Subdomain
Create a subdomain and forward it to the Ubuntu VM. Use the following subdomain format:
*.console.domain.com
Step 3: Run the following commands
Log in to the console VM via SSH and execute the following commands:
sudo apt update && sudo apt upgrade -y && sudo apt install unzip
wget https://github.com/autovm-projects/console/archive/refs/heads/main.zip && unzip main.zip
bash console.sh
After running the last command, the script will prompt you for specific information. Enter the requested details as follows:
- When asked for the AutoVM backend domain, input it exactly as shown:
http://backend.domain.com
Next, you’ll be prompted to enter the login token. Provide your login token when prompted.
Lastly, you need to enter the domain you created earlier, using the following format:
console.domain.com
The Console VM setup is now complete.