edit
- Download the Ubuntu 16.04 LTS ISO file. The guide specifically notes that Ubuntu 18 is not supported for this method. Other sources indicate Ubuntu 18.x, 19.x, and 20.x are generally unsupported for EVE-NG.
Step-by-Step Installation Guide:
Phase 1: Create the Virtual Machine (VM) in Hyper-V
- Open Hyper-V Manager and click on “New Virtual Machine”.
- Name your VM (e.g., “evelab”).
- Select “Generation 2” for the virtual machine generation.
- Assign Startup Memory: Allocate RAM with dynamic memory enabled.
- Configure Networking: External HyperV Switch.
- Create a Virtual Hard Disk: Virtual hard disk (e.g., 300GB).
- Install Operating System: Ubuntu 22.04.5 LTS ISO file downloaded.
- Click “Next”, then “Finish” to create the VM.
- Once the VM is created, right-click on it in Hyper-V Manager and select “Settings…”.
- Navigate to “Security” and disable “Secure Boot”.
- Go to “Processor” and increase the number of virtual processors 4.
- Click “OK”.
- Connect to the VM and start it to begin the Ubuntu installation.
Phase 2: Ubuntu Server Installation and EVE-NG Pre-installation
- Proceed with the standard Ubuntu 22.04.5 LTS server installation steps within the Hyper-V console.
- After the Ubuntu installation completes and the VM reboots, log in with ghadmin.
- Gain root access.
- Change the root password to What#Time.
- Execute apt-get update followed by apt-get upgrade to update Ubuntu packages. After the upgrade, shut down the server by typing shutdown now.
Phase 3: Enable Nested Virtualization (Hyper-V Specific)
- On your host PC (not inside the VM), open a PowerShell prompt as an administrator.
- Run the following command, replacing “evelab” with the exact name of your virtual machine: . This command exposes hardware-assisted virtualization extensions to the guest OS, which is crucial for EVE-NG to run virtual devices.
Set-VMProcessor -VMName "EVE-NG" -ExposeVirtualizationExtensions $True
- Start your EVE-NG VM again from the Hyper-V console. The warning message “neither Intel VT-x or AMD-V found on Hyper-V” should no longer appear.
Phase 4: Install EVE-NG Community Edition
- Ensure you are logged into the evelab VM as root.
- Execute the EVE-NG installation script by typing: .
wget -O – https://www.eve-ng.net/focal/install-eve.sh | bash -i
◦ Note: The URL https://www.eve-ng.net/focal/install-eve.sh refers to an Ubuntu 20.04 (Focal Fossa) repository. While the initial guide suggested Ubuntu 16.04 LTS, this command implies compatibility with or an update to using Ubuntu 20.04 for the EVE-NG installation script. Be aware of this potential version discrepancy.
- Allow the installation to complete. This process can take some time depending on your Internet connection and disk speed.
- After the installation is finished, reboot the server.
- Once EVE-NG reboots, you will see a login screen. The default root password is eve.
- Proceed with the initial EVE-NG configuration wizard (which includes setting the management IP address, hostname, and domain name). A static IP is often preferred.
- Finally, perform another apt update and apt upgrade within the EVE-NG CLI to ensure all packages are up to date.
After these steps, you should be able to access the EVE-NG web interface by navigating to the assigned IP address in your web browser. The default credentials for the web GUI are usually admin for username and eve for password. Remember that by default, only the VPCS image is preinstalled, and you will need to import other device images to get full value from the program.