### Launch pfSense Installer Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-pfsense-fw-2-4 Start the pfSense installer using the prepared disk images. Ensure to select 'shell' upon completion and then 'poweroff' instead of rebooting. ```bash /opt/qemu/bin/qemu-system-x86_64 -hda install.img -hdb virtioa.qcow2 -nographic ``` -------------------------------- ### Start C9800-CL Installation Source: https://www.eve-ng.net/index.php/documentation/howtos/cisco-wireless-c9800-cl Execute this command to start the C9800-CL installation process using the created HDD and ISO image. The '-boot order=dc' flag is crucial for booting from the CD-ROM. ```bash /opt/qemu-2.2.0/bin/qemu-system-x86_64 -nographic -drive file=virtioa.qcow2,if=virtio,bus=0,unit=0,cache=none -machine type=pc-1.0,accel=kvm -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc -cdrom C9800-CL-universalk9.17.04.01.iso -boot order=dc -m 4096 ``` -------------------------------- ### Start CSR Installation Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-csrv1000-16-x-denali-everest-fuji Initiate the CSR installation process using qemu-system-x86_64. It is recommended to use Firefox for this step due to potential display issues with other browsers. ```bash /opt/qemu-2.2.0/bin/qemu-system-x86_64 -nographic -drive file=virtioa.qcow2,if=virtio,bus=0,unit=0,cache=none -machine type=pc-1.0,accel=kvm -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc -cdrom csr1000v-universalk9.16.09.06.iso -boot order=dc -m 4096 ``` -------------------------------- ### Start XRv 9000 ISO Installation Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-xrv-9000 Initiate the XRv 9000 installation process using the specified ISO image. This command requires the correct ISO filename for your version. ```bash /opt/qemu-2.2.0/bin/qemu-system-x86_64  -nographic -drive file=virtioa.qcow2,if=virtio,bus=0,unit=0,cache=none -machine type=pc-1.0,accel=kvm -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc -cdrom **xrv9k-fullk9-x-6.3.3.iso** -boot order=dc  -m 16384 ``` -------------------------------- ### Start Catalyst 8000v Installation Source: https://www.eve-ng.net/index.php/documentation/howtos/catalyst-8000v Launch the Catalyst 8000v installation using this QEMU command. It is recommended to use Firefox for better compatibility with the CLI sliders. ```bash /opt/qemu-2.2.0/bin/qemu-system-x86_64 -nographic -drive file=virtioa.qcow2,if=virtio,bus=0,unit=0,cache=none -machine type=pc-1.0,accel=kvm -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc -cdrom c8000v-universalk9.17.06.02.iso -boot order=dc -m 4096 ``` -------------------------------- ### Install VyOS on HDD Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-vyos Initiate the VyOS installation process on the created virtual disk. This step involves booting the system from the 'cdrom.iso' and following the on-screen installation prompts. ```bash install image ``` -------------------------------- ### Navigate to Image Directory (ISO Install) Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-checkpoint Change to the newly created directory to prepare for image upload and manipulation. ```bash cd /opt/unetlab/addons/qemu/cpsg-R80-10 ``` -------------------------------- ### Example IOU/IOL License File Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-iol-ios-on-linux This is an example of the content for an iourc license file. The license is bound to the server's hostname and domain name. Ensure the license is stored in the correct path. ```bash cat /opt/unetlab/addons/iol/bin/iourc [license] unl01 = 0123456789abcdef; ``` -------------------------------- ### Create XRv 9000 ISO Installation Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-xrv-9000 Create a temporary directory for the XRv 9000 ISO installation files on the EVE-NG server. ```bash mkdir /opt/unetlab/addons/qemu/xrv9k-fullk9-6.3.3 ``` -------------------------------- ### Create Checkpoint Image Folder (ISO Install) Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-checkpoint Use this command to create the directory for the Checkpoint image when installing from an ISO file. ```bash mkdir /opt/unetlab/addons/qemu/cpsg-R80-10 ``` -------------------------------- ### Create Virtual Disk for OPNsense Source: https://www.eve-ng.net/index.php/documentation/howtos/opnsense-firewall Creates a 10GB qcow2 virtual disk image named 'virtioa.qcow2' for the OPNsense firewall installation. ```bash root@eve-ng:~# root@eve-ng:~# cd /opt/unetlab/addons/qemu/opnsense-21.1/ root@eve-ng:/opt/unetlab/addons/qemu/opnsense-21.1# /opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 10G ``` -------------------------------- ### Select Configuration File for Boot Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-vyos During the VyOS installation, you will be prompted to choose a configuration file for boot. Select the second option, '/opt/vyatta/etc/config.boot.default', to proceed. ```text I found the following configuration files: /opt/vyatta/etc/config/config.boot /opt/vyatta/etc/config.boot.default Which one should I copy to vda? [/opt/vyatta/etc/config/config.boot]: /opt/vyatta/etc/config.boot.default ``` -------------------------------- ### Select Serial Console Boot Option Source: https://www.eve-ng.net/index.php/documentation/howtos/catalyst-8000v During the initial boot, select the 'C8000V Serial Console' option from the GRUB menu to proceed with the installation. ```text Press any key to continue. Press any key to continue. Press any key to continue.     GGNU GRUB version 2.02 +-------------------------------------------------------------------------+ | C8000V Virtual (VGA) Console - 2021-11-23_12.52 | |*C8000V Serial Console - 2021-11-23_12.52 | | | | | | | | | | | | | | | | | | | | | +-------------------------------------------------------------------------+ ``` -------------------------------- ### Create Virtual Disk for Forescout CounterACT Source: https://www.eve-ng.net/index.php/documentation/howtos/forescout-counteract-fw This command creates a 80GB qcow2 virtual disk image required for the Forescout CounterACT installation. ```bash cd /opt/unetlab/addons/qemu/forescout-counter-7.0.0/ /opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 80G ``` -------------------------------- ### Prepare Linux Image Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-create-own-linux-host-image Navigate to the image directory and remove any existing ISO files before proceeding with the installation. ```bash cd /opt/unetlab/addons/qemu/linux-ubuntu-desktop-16.04.02/ rm -f cdrom.iso ``` -------------------------------- ### Install GIT on EVE-NG Source: https://www.eve-ng.net/index.php/documentation/howtos/template-icons-and-config-scripts-update-from-git Installs the Git package on your EVE-NG system. Ensure your EVE-NG has internet connectivity and can resolve DNS names. ```bash apt update apt install git ``` -------------------------------- ### Prepare OSSIM Image and Create HDD Source: https://www.eve-ng.net/index.php/documentation/howtos/alienvault-cybersecurity-ossim Navigates to the image directory, renames the uploaded ISO to 'cdrom.iso', and creates a 50GB qcow2 virtual hard disk. This prepares the image for the OSSIM installation. ```bash cd /opt/unetlab/addons/qemu/alienvault-ossim-5.8.5 mv AlienVault_OSSIM_64bits.iso cdrom.iso /opt/qemu/bin/qemu-img create -f qcow2 hda.qcow2 50G ``` -------------------------------- ### Create HDD for Forcepoint FW Installation Source: https://www.eve-ng.net/index.php/documentation/howtos/forcepoint-fw Create a virtual hard disk image (hda.qcow2) with a size of 100GB for the Forcepoint Firewall installation. ```bash /opt/qemu/bin/qemu-img create -f qcow2 hda.qcow2 100G ``` -------------------------------- ### Create pfSense Disk Image Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-pfsense-fw-2-4 Create a virtual disk image in qcow2 format for the pfSense installation. ```bash /opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 2G ``` -------------------------------- ### Create HDD for Forcepoint SMC Installation Source: https://www.eve-ng.net/index.php/documentation/howtos/forcepoint-fw Create a virtual hard disk image (hda.qcow2) with a size of 100GB for the Forcepoint SMC installation. ```bash cd /opt/unetlab/addons/qemu/fpsmc-6.9.0-11011/ /opt/qemu/bin/qemu-img create -f qcow2 hda.qcow2 100G ``` -------------------------------- ### Nexus 9000v Initial Boot Setup - Basic Configuration Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-nexus-9000v-switch After setting the admin credentials, you will be asked if you want to enter the basic configuration dialog. Choose 'no' to skip this and proceed to the switch CLI. ```text Would you like to enter the basic configuration dialog (yes/no): no ``` -------------------------------- ### Create Temporary Folders for CUCM ISO Preparation Source: https://www.eve-ng.net/index.php/documentation/howtos/cisco-cucm These commands create necessary directories on the EVE-NG server to stage the CUCM installation ISO and its extracted contents. ```bash sudo mkdir /mnt/iso sudo mkdir /tmp/cucm ``` -------------------------------- ### Create Virtual Hard Disk Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-create-own-windows-server-on-the-eve Create a virtual hard disk (qcow2 format) for the Windows Server installation. Adjust the size (60G) as needed. ```bash root@eve:~#/opt/qemu/bin/qemu-img create -f qcow2 hda.qcow2 60G ``` -------------------------------- ### Start Dynamips Image for IDLE PC Calculation Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-dynamips-images-cisco-ios Launches a Dynamips emulator instance with specific parameters to begin the IDLE PC calculation process. Use the correct image path and model parameters. ```bash dynamips -P 1700 -t 1710 /opt/unetlab/addons/dynamips/c1710-bk9no3r2sy-mz.124-23.image ``` ```bash dynamips -P 7200 /opt/unetlab/addons/dynamips/c7200-adventerprisek9-mz.152-4.S7.image ``` ```bash dynamips -P 3725 /opt/unetlab/addons/dynamips/c3725-adventerprisek9-mz.124-15.T14.image ``` -------------------------------- ### Locate and Commit Image Changes Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-create-own-linux-host-image After installation, navigate to the specific node's directory using its POD and Node IDs, then commit the changes to set it as the default image. ```bash cd /opt/unetlab/tmp/**0**/3491e0a7-25f8-46e1-b697-ccb4fc4088a2/**8**/ ``` ```bash /opt/qemu/bin/qemu-img commit virtioa.qcow2 ``` -------------------------------- ### Remove Installation Media After Setup Source: https://www.eve-ng.net/index.php/documentation/howtos/juniper-sdwan-128t After the Juniper SDWAN installation is complete and the node has shut down, remove the 'cdrom.iso' file from the image directory. This ensures the appliance boots from the installed system, not the installer. ```bash cd /opt/unetlab/addons/qemu/qemu/128T-518/ rm cdrom.iso ``` -------------------------------- ### Create HDD for Hillstone SG6000 Image Source: https://www.eve-ng.net/index.php/documentation/howtos/hillstone-firewall Create a virtual hard disk image of 2GB using qemu-img for the Hillstone SG6000 installation. ```bash cd /opt/unetlab/addons/qemu/hillstone-sg6000/ /opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 2G ``` -------------------------------- ### Locate and Commit Installed Image Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-checkpoint Navigate to the specific node's directory using its UUID and Node ID, then commit the changes to set the image as default. ```bash cd /opt/unetlab/tmp/**0**/3491e0a7-25f8-46e1-b697-ccb4fc4088a2/**8**/ ``` ```bash /opt/qemu/bin/qemu-img commit hda.qcow2 ``` -------------------------------- ### Create Juniper vQFX Image Directories Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-juniper-vqfx Use these commands to create the necessary directories for the PFE and RE images within the EVE-NG QEMU add-ons path. ```bash mkdir /opt/unetlab/addons/qemu/vqfxpfe-10K-F-17.4R1.16 mkdir /opt/unetlab/addons/qemu/vqfxre-10K-F-17.4R1.16 ``` -------------------------------- ### C9800-CL Serial Console Boot Messages Source: https://www.eve-ng.net/index.php/documentation/howtos/cisco-wireless-c9800-cl These messages indicate the successful boot process from the CD-ROM and the start of the installation to the virtual hard disk. Pay attention to the 'Installing GRUB' and 'Copying image' steps. ```text *Aug 22 18:19:33.393: %IOSXEBOOT-4-BOOT_SRC: (rp/0): CD-ROM Boot *Aug 22 18:19:33.417: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Using Serial console *Aug 22 18:19:33.437: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Installing GRUB to /dev/bootflash *Aug 22 18:19:34.130: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Copying image to /boot *Aug 22 18:19:37.777: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Copying image to /bootflash *Aug 22 18:19:42.965: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Creating grub configuration *Aug 22 18:19:45.443: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Ejecting CD-ROM tray *Aug 22 18:19:45.459: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): CD-ROM Installation finished *Aug 22 18:19:45.466: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Rebooting from HD ``` -------------------------------- ### Modify SNMP Monitoring in CUCM Installation Script Source: https://www.eve-ng.net/index.php/documentation/howtos/cisco-cucm Edits the ihardware.sh script to ensure the hasHwSnmpMonitoring function returns 1, bypassing SNMP checks during the initial setup. ```bash nano /tmp/cucm/Cisco/base_scripts/ihardware.sh function hasHwSnmpMonitoring() { return 1 } ``` -------------------------------- ### Create EVE-NG QEMU Addon Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-citrix-netscaler Prepare the directory structure within EVE-NG where the Netscaler QEMU image will be stored. ```bash mkdir /opt/unetlab/addons/qemu/nsvpx-12.0.53.13 ``` -------------------------------- ### Prepare DCNM Image and Disk Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-dcnm-data-center-network-manager Navigate to the image directory, rename the ISO to 'cdrom.iso', and create a 100GB qcow2 virtual disk for DCNM. ```bash cd /opt/unetlab/addons/dcnm-va.11.1.1 mv dcnm-va.11.1.1.iso cdrom.iso /opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 100G ``` -------------------------------- ### Commit StealthWatch Disk Image Source: https://www.eve-ng.net/index.php/documentation/howtos/cisco-stealthwatch After starting the StealthWatch node and stopping it before the setup prompt, use this command to commit the 'hda.qcow2' disk image from the temporary lab folder to the default image location. ```bash cd /opt/unetlab/tmp/0/72b1903b-4885-4a1c-b9e2-aed46032583a/1/ qemu-img commit hda.qcow2 ``` -------------------------------- ### Remove cdrom.iso after Forcepoint SMC Installation Source: https://www.eve-ng.net/index.php/documentation/howtos/forcepoint-fw After installing the Forcepoint SMC, remove the installation media (cdrom.iso) from the image folder. ```bash cd /opt/unetlab/addons/qemu/fpsmc-6.9.0-11011/ rm cdrom.iso ``` -------------------------------- ### Create Palo Alto Image Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-palo-alto Create the directory structure for the Palo Alto image based on the EVE-NG addon naming convention. This example uses version 8.0.1. ```bash mkdir /opt/unetlab/addons/qemu/paloalto-8.0.1/ ``` -------------------------------- ### Exit QEMU Monitor Source: https://www.eve-ng.net/index.php/documentation/howtos/catalyst-8000v After the installation is complete and the device reboots, use the key combination Ctrl+A then C to access the QEMU monitor and type 'quit' to exit. ```text (qemu) quit ``` -------------------------------- ### Remove cdrom.iso after Forcepoint FW Installation Source: https://www.eve-ng.net/index.php/documentation/howtos/forcepoint-fw After installing the Forcepoint Firewall, remove the installation media (cdrom.iso) from the image folder. ```bash cd /opt/unetlab/addons/qemu/fpfw-6.9.0.25043/ rm cdrom.iso ``` -------------------------------- ### Prepare and Unzip Image Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-aruba-clearpass Create a temporary directory, upload the ClearPass image, and unzip it. ```bash mkdir abc cd abc unzip CPPM-VM-x86_64-6.8.0.109592-KVM-RAW-Cx000V.zip cd CPPM-VM-x86_64-6.8.0.109592-KVM-RAW-Cx000V ``` -------------------------------- ### CSR Installation Progress Log Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-csrv1000-16-x-denali-everest-fuji Monitor the installation progress. This output shows the system messages during the CSR installation and configuration on the EVE-NG. ```text *Aug 22 17:57:59.574: %IOSXEBOOT-4-BOOT_SRC: (rp/0): CD-ROM Boot *Aug 22 17:57:59.598: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Using Serial console *Aug 22 17:57:59.621: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Installing GRUB2 to /dev/bootflash *Aug 22 17:58:00.676: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Copying image to /boot *Aug 22 17:58:02.747: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Copying image to /bootflash *Aug 22 17:58:04.628: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Creating grub configuration *Aug 22 17:58:04.847: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Ejecting CD-ROM tray *Aug 22 17:58:04.863: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): CD-ROM Installation finished *Aug 22 17:58:04.871: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Rebooting from HD *Aug 22 17:58:06.104: %IOSXEBOOT-4-FACTORY_RESET: (local/local): This was not selected via cli. Rebooting like normal ``` -------------------------------- ### Remove Installation CD ISO Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-ise Remove the installation CD ISO file from the image directory after the installation is complete. This frees up space and prevents accidental re-installation. ```bash rm -f /opt/unetlab/addons/qemu/ise-2.7.0.356/cdrom.iso ``` -------------------------------- ### Create Target Image Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-esa-email-security-appliance Create the directory where the EVE-NG QEMU images will be stored. ```bash mkdir /opt/unetlab/addons/qemu/phoebe-10-0-1-087-C000V ``` -------------------------------- ### Create VyOS Disk Image Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-vyos Create a virtual hard disk image for VyOS using qemu-img. This command allocates 10GB of space for the 'virtioa.qcow2' disk, which will host the installed VyOS system. ```bash /opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 10G ``` -------------------------------- ### Commit Installed Image to Default Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-vwlc-virtual-wireless-lan-controller After installing and running the vWLC, commit the installed disk image to be the default for future use. Replace the UUID with your lab's specific UUID. ```bash cd /opt/unetlab/tmp/0/466028c6-3052-4895-a495-683201e576f7/1/ qemu-img commit megasasa.qcow2 ``` -------------------------------- ### Remove Installation CDROM Media Source: https://www.eve-ng.net/index.php/documentation/howtos/forescout-counteract-fw After installation, remove the 'cdrom.iso' file from the image folder. ```bash cd /opt/unetlab/addons/qemu/forescout-counter-7.0.0/ rm cdrom.iso ``` -------------------------------- ### Update and Upgrade EVE-NG Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-alcatel-7750-sr Ensure your EVE-NG installation is up-to-date before proceeding with image installation. ```bash apt-get update apt-get upgrade ``` -------------------------------- ### Remove Installation Media Source: https://www.eve-ng.net/index.php/documentation/howtos/opnsense-firewall Removes the 'cdrom.iso' file after the OPNsense installation is complete and the node has been stopped. ```bash root@eve-ng:~# cd /opt/unetlab/addons/qemu/opnsense-21.1 root@eve-ng:/opt/unetlab/addons/qemu/opnsense-21.1# ls cdrom.iso virtioa.qcow2 root@eve-ng:/opt/unetlab/addons/qemu/opnsense-21.1# rm cdrom.iso root@eve-ng:/opt/unetlab/addons/qemu/opnsense-21.1# ``` -------------------------------- ### Power Off Node Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-vyos After the VyOS installation is complete, shut down the node. This is a necessary step before committing the installed image. ```bash poweroff ``` -------------------------------- ### Remove Unused Image File Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-pfsense-fw-2-4 Delete the original installation image file after the pfSense installation is complete. ```bash rm install.img ``` -------------------------------- ### Create Image Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/radware-alteon-va Creates the necessary directory for the Alteon VA image on the EVE-NG CLI. ```bash mkdir /opt/unetlab/addons/qemu/alteon-va-30.5.0.0 cd /opt/unetlab/addons/qemu/alteon-va-30.5.0.0 ``` -------------------------------- ### Create and Navigate to Temporary Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-aruba-cx-switch Creates a temporary directory named 'abc' in the EVE-NG root and navigates into it. This is the first step in preparing the switch image. ```bash mkdir abc cd abc ``` -------------------------------- ### Install Certbot Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-enable-ssl-eve-community-with-lets-encrypt Installs the Certbot package, a tool used to automatically fetch and renew Let's Encrypt certificates. ```bash apt update apt install certbot ``` -------------------------------- ### Create HDD for StealthWatch Installation Source: https://www.eve-ng.net/index.php/documentation/howtos/cisco-stealthwatch This command creates a 200GB qcow2 virtual hard disk image for the StealthWatch installation. ```bash /opt/qemu/bin/qemu-img create -f qcow2 hda.qcow2 200G ``` -------------------------------- ### Prepare Sophos UTM Image Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-sophos-fw Navigate to the Sophos UTM image directory, create a virtual hard disk, and rename the uploaded ISO to cdrom.iso. ```bash cd /opt/unetlab/addons/qemu/sophosutm-UTM-9.600-5.1 /opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 80G mv asg-9.600-5.1.iso cdrom.iso ``` -------------------------------- ### Create Image Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-aruba-cx-switch Creates the necessary directory structure within EVE-NG's addon directory to store the prepared switch image. ```bash mkdir /opt/unetlab/addons/qemu/arubacx-10.04 ``` -------------------------------- ### Show Boot Options Configuration Source: https://www.eve-ng.net/index.php/documentation/howtos/nokia-vsr-single-node Displays the current boot options (BOF) configuration. This includes image paths, configuration files, and network settings for booting. ```bash A:vSIM# show bof =============================================================================== BOF (Memory) =============================================================================== primary-image cf3:\timos\ primary-config cf3:\config.cfg license-file cf3:\lic address 10.1.1.1/24 active autonegotiate duplex full speed 100 wait 3 persist off no li-local-save no li-separate no fips-140-2 console-speed 115200 =============================================================================== A:vSIM# ``` -------------------------------- ### Create HDD for CSR Installation Source: https://www.eve-ng.net/index.php/documentation/howtos/cisco-wireless-c9800-cl This command creates a virtual hard disk image for the C9800-CL installation. Ensure the path and filename are correct. ```bash root@eve-ng:/opt/unetlab/addons/qemu/c9800cl-17.04.01# /opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 16G root@eve-ng:/opt/unetlab/addons/qemu/c9800cl-17.04.01# ls -l total 878884 -rw-r--r-- 1 root root 899770368 Apr 2 02:08 C9800-CL-universalk9.17.04.01.iso -rw-r--r-- 1 root root 197120 Apr 2 11:22 virtioa.qcow2 root@eve-ng:/opt/unetlab/addons/qemu/c9800cl-17.04.01# ``` -------------------------------- ### Remove XRv 9000 ISO Image Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-xrv-9000 Delete the ISO installation file from the directory after the XRv 9000 has been successfully installed to free up space. ```bash cd /opt/unetlab/addons/qemu/xrv9k-fullk9-6.3.3/ rm -f xrv9k-fullk9-x-6.3.3.iso ``` -------------------------------- ### Create Target Image Folder Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-wsa-web-security-appliance Prepare the destination directory for the Cisco WSA image within the EVE-NG addon structure. ```bash mkdir /opt/unetlab/addons/qemu/coeus-9-1-2-010-S000V ``` -------------------------------- ### Navigate to Image Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/zabbix-monitoring Changes the current directory to the newly created Zabbix appliance folder. ```bash root@eve-ng-master:~# cd /opt/unetlab/addons/qemu/zabbix-6.2.6/ ``` -------------------------------- ### Remove Installation CDROM Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-create-own-windows-host-on-the-eve Removes the 'cdrom.iso' file from the Windows image directory after the installation is complete and committed. This frees up space and prevents accidental re-installation. ```bash root@eve:~#/opt/unetlab/addons/qemu/win-10x64-PRO/ rm -f cdrom.iso ``` -------------------------------- ### Create FortiAnalyzer Image Folder Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-fortinet-images Create the directory for a FortiAnalyzer image in EVE-NG. ```bash mkdir /opt/unetlab/addons/qemu/fortinet-FAZ-v6-build1183/ ``` -------------------------------- ### Commit Installed Image Source: https://www.eve-ng.net/index.php/documentation/howtos/opnsense-firewall Commits the installed OPNsense virtual disk image from the temporary lab location to the default image directory for future use. ```bash root@eve-ng:/opt/unetlab/addons/qemu/opnsense-21.1# cd /opt/unetlab/tmp/0/516ba4d5-b43e-4dd1-a1c2-6ea1358ddddb/1 root@eve-ng:/opt/unetlab/tmp/10/516ba4d5-b43e-4dd1-a1c2-6ea1358ddddb/1# qemu-img commit virtioa.qcow2 Image committed. ``` -------------------------------- ### Create pfSense Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-pfsense-fw-2-4 Create a directory on the EVE-NG server to store the pfSense node files. ```bash mkdir /opt/unetlab/addons/qemu/pfsense-CE-2.4.4/ ``` -------------------------------- ### Create New HDD for CSR Installation Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-csrv1000-16-x-denali-everest-fuji Create a new virtual hard disk image in qcow2 format with a specified size for the CSR installation. ```bash /opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 8G ``` -------------------------------- ### Create Image Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/huawei-usg6000v Creates the necessary directory structure on the EVE-NG server to store the Huawei USG6000v image. ```bash mkdir /opt/unetlab/addons/qemu/huaweiusg6kv-5.1.6 ``` -------------------------------- ### Catalyst 8000v Installation Progress Logs Source: https://www.eve-ng.net/index.php/documentation/howtos/catalyst-8000v Monitor these log messages to track the progress of the Catalyst 8000v installation, including image copying and GRUB configuration. ```text *Aug 22 18:34:34.384: %IOSXEBOOT-4-BOOT_SRC: (rp/0): CD-ROM Boot *Aug 22 18:34:34.416: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Using Serial console *Aug 22 18:34:34.440: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Installing GRUB2 to /dev/bootflash *Aug 22 18:34:35.255: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Copying image to /boot *Aug 22 18:34:38.400: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Copying image to /bootflash *Aug 22 18:34:41.325: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Creating grub configuration *Aug 22 18:34:44.013: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Ejecting CD-ROM tray *Aug 22 18:34:44.029: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): CD-ROM Installation finished *Aug 22 18:34:44.040: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Rebooting from HD ``` -------------------------------- ### Move QCOW2 Image and Create Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-xrv Create the necessary directory for the QCOW2 image and move the converted file into it. ```bash mkdir /opt/unetlab/addons/qemu/xrv-k9-5.1.1 mv hda.qcow2 /opt/unetlab/addons/qemu/xrv-k9-5.1.1 ``` -------------------------------- ### Rename ISO Image for Installation Source: https://www.eve-ng.net/index.php/documentation/howtos/juniper-sdwan-128t After uploading the Juniper SDWAN ISO image to the created directory, rename it to 'cdrom.iso'. This standardized name is used by the EVE-NG QEMU environment during the installation process. ```bash cd /opt/unetlab/addons/qemu/128T-518/ mv 128T-5.1.8-1.el7.OTP.v2.x86_64.iso cdrom.iso ``` -------------------------------- ### Commit Installed VyOS Image Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-vyos Commit the installed VyOS image to make it the default for future use. This involves navigating to the temporary lab directory and using 'qemu-img commit' to finalize the disk image. ```bash cd /opt/unetlab/tmp/0/3491e0a7-25f8-46e1-b697-ccb4fc4088a2/1/ qemu-img commit virtioa.qcow2 ``` -------------------------------- ### Create Windows Server Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-create-own-windows-server-on-the-eve Create a directory for the Windows Server image following EVE-NG naming conventions. ```bash root@eve:~# mkdir /opt/unetlab/addons/qemu/winserver-2012R2/ ``` -------------------------------- ### Start Apache Service Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-enable-ssl-eve-pro-with-lets-encrypt Restarts the Apache web server after the SSL configuration has been updated. ```bash systemctl start apache2 ``` -------------------------------- ### Navigate to Cumulus VX Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cumulus-vx Changes the current directory to the Cumulus VX installation folder. ```bash cd /opt/unetlab/addons/qemu/cumulus-vx-3.7.3 ``` -------------------------------- ### Create FortiManager Image Folder Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-fortinet-images Create the directory for a FortiManager image in EVE-NG. ```bash mkdir /opt/unetlab/addons/qemu/fortinet-FMG-v6-build1183/ ``` -------------------------------- ### Rename ISO Image Source: https://www.eve-ng.net/index.php/documentation/howtos/opnsense-firewall Renames the downloaded OPNsense ISO image to 'cdrom.iso' for use in the installation process. ```bash root@eve-ng:~# cd /opt/unetlab/addons/qemu/opnsense-21.1/ root@eve-ng:/opt/unetlab/addons/qemu/opnsense-21.1# mv OPNsense-21.1-OpenSSL-dvd-amd64.iso cdrom.iso ``` -------------------------------- ### Remove CD-ROM ISO Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-create-own-windows-server-on-the-eve Remove the temporary 'cdrom.iso' file after the Windows Server installation is complete and committed. ```bash root@eve:~#/opt/unetlab/addons/qemu/winserver-2012R2/ rm -f cdrom.iso ``` -------------------------------- ### Mount and Create License File Source: https://www.eve-ng.net/index.php/documentation/howtos/nokia-vsr-single-node Mount the VSR image's file system and create an empty file named '/lic' to store the license. ```bash > mount /dev/sda1 / > touch /lic ``` -------------------------------- ### Create pfSense Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-pfsense-fw-2-3 Create a directory for the pfSense node in the EVE-NG filesystem. This is a prerequisite for uploading the image. ```bash mkdir /opt/unetlab/addons/qemu/pfsense-CE-2.3.5/ ``` -------------------------------- ### Create OPNsense Image Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/opnsense-firewall Creates the necessary directory structure for the OPNsense image within the EVE-NG environment. ```bash root@eve-ng:~# mkdir /opt/unetlab/addons/qemu/opnsense-21.1 ``` -------------------------------- ### Clean Up and Fix Permissions Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-aruba-clearpass Remove temporary files and ensure correct file permissions for the ClearPass installation. ```bash cd .. rm -rf abc /opt/unetlab/wrappers/unl_wrapper -a fixpermissions ``` -------------------------------- ### Remove Installation CD ISO Source: https://www.eve-ng.net/index.php/documentation/howtos/cisco-stealthwatch After preparing the StealthWatch image, remove the 'cdrom.iso' file from the image directory. ```bash rm -f /opt/unetlab/addons/qemu/stealth-SMC-7.1.1/cdrom.iso ``` -------------------------------- ### Load License in VSR CPM using Guestfish Source: https://www.eve-ng.net/index.php/documentation/howtos/nokia-vsr-multi-line-cards Use guestfish to mount the VSR CPM image, create a license file, edit it with the license key, and save the changes. Ensure you follow the insert, paste, escape, and save commands precisely. ```bash root@eve-ng-master:~# cd /opt/unetlab/addons/qemu/timoscpm-ng-22.2.R2-L1 guestfish -a hda.qcow2 > run 100% ⟦▒▒▒▒▒▒▒▒â---Output Ommitted--- > mount /dev/sda1 / > touch /lic > vi /lic ###Hit letter **i** for insert### ###Copy/Paste your Lic Key### 4a2aa800-282d-45dc-a0b3-ce0c05ab9df0 ---Output Ommitted---, the first part of the Lic key is your node UIDD and will be used in template as UUID "/tmp/libguestfsFUq9tM" 1L, 947C written ###Hit ESC key### ###Save your file and quit### :wq! > ###Exit from guestfish## > exit root@eve-ng-master:#/opt/unetlab/addons/qemu/timos-ng-22.2.R2-L1 ``` -------------------------------- ### Create vJunos Router Image Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/vjunos-router Creates the necessary directory on the EVE-NG server to store the vJunos router image. Ensure the path matches the EVE-NG format. ```bash root@eve-ng:~# mkdir /opt/unetlab/addons/qemu/vjunosrouter-23.1R1.15 ``` -------------------------------- ### Verify Image Upload Source: https://www.eve-ng.net/index.php/documentation/howtos/radware-alteon-va Confirms that the Alteon VA OVA image has been successfully uploaded to the created directory. ```bash root@eve-ng:/opt/unetlab/addons/qemu/alteon-va-30.5.0.0# ls AlteonOS-30-5-0-0.ova ``` -------------------------------- ### Navigate to Image Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-f5-bigip Change the current directory to the newly created F5 BIG-IP image folder. ```bash cd /opt/unetlab/addons/qemu/bigip-14.0.0.3-004 ``` -------------------------------- ### Remove CUCM CD-ROM ISO Source: https://www.eve-ng.net/index.php/documentation/howtos/cisco-cucm Remove the cdrom.iso file from the CUCM image directory after installation. This is a cleanup step. ```bash cd /opt/unetlab/addons/qemu/cucm-12.5.1.11900-146/ rm -f cdrom.iso ``` -------------------------------- ### Horizontal Rule Examples Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-syntax-lab-task Shows different ways to create horizontal rules using hyphens, asterisks, or underscores. ```markdown Three or more... --- Hyphens *** Asterisks ___ Underscores ``` -------------------------------- ### Exit QEMU Monitor Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-csrv1000-16-x-denali-everest-fuji After the CSR installation is complete, exit the QEMU monitor by pressing Ctrl+A, then C, and typing 'quit'. ```text (qemu) quit ``` -------------------------------- ### Mount and Edit GRUB Configuration Source: https://www.eve-ng.net/index.php/documentation/howtos/2822-2 Mount the disk image using guestfish and edit the grub.cfg file to enable telnet console by removing 'VMCONSOLE'. ```bash cd /opt/unetlab/addons/qemu/isrv-17.03.02 guestfish -a virtioa.qcow2 run mount /dev/sda5 / vi /grub2/grub.cfg :wq quit ``` -------------------------------- ### Select CSR Serial Console Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-csrv1000-16-x-denali-everest-fuji During the CSR installation boot process, select the 'CSR1000v Serial Console' option when prompted. ```text Press any key to continue. Press any key to continue. Press any key to continue. GNU GRUB version 0.97 (639K lower / 3144696K upper memory) +-------------------------------------------------------------------------+ | CSR1000v Virtual (VGA) Console - 2020-10-31_13.56 | |*CSR1000v Serial Console - 2020-10-31_13.56 | | | | | | | | | | | +-------------------------------------------------------------------------+ UP and DOWN arrow keys to select which entry is highlighted. Press to boot the selected OS or `c' for a command-line. ``` -------------------------------- ### Unmount Original CUCM ISO Source: https://www.eve-ng.net/index.php/documentation/howtos/cisco-cucm Unmounts the original CUCM installation ISO from the /mnt/iso directory after its contents have been copied and modified. ```bash umount /mnt/iso ``` -------------------------------- ### Create Image Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/watchguard-fireboxv Creates a directory to store the Watchguard FireboxV image on the EVE-NG server. ```bash mkdir /opt/unetlab/addons/qemu/watchguard-12.6.4 ``` -------------------------------- ### Navigate to Node Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-save-your-settings-to-be-as-default-on-qemu-node Change directory to the specific location of your QEMU node's image files. Ensure you use the correct Lab UUID, POD ID, and Node ID. ```bash cd /opt/unetlab/tmp/**0**/3491e0a7-25f8-46e1-b697-ccb4fc4088a2/**8**/ ``` -------------------------------- ### Create Juniper SDWAN 128T Image Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/juniper-sdwan-128t Create a directory on the EVE-NG server to store the Juniper SDWAN 128T image. This is the first step in preparing the EVE-NG environment for the new appliance. ```bash mkdir /opt/unetlab/addons/qemu/128T-518 ``` -------------------------------- ### Extract OVA Image Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-vm-ware-esxi Extract the contents of the downloaded OVA image. This step is necessary to access the internal ISO install CD. ```bash tar xvf Nested_ESXi6.5d_Appliance_Template_v1.0.ova ``` -------------------------------- ### Navigate to XRv 9000 ISO Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-xrv-9000 Change the current directory to the location where the XRv 9000 ISO image will be placed for installation. ```bash cd /opt/unetlab/addons/qemu/xrv9k-fullk9-6.3.3/ ``` -------------------------------- ### Navigate to FortiGate Image Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-add-fortinet-images Change to the newly created directory to manage the FortiGate image files. ```bash cd /opt/unetlab/addons/qemu/fortinet-FGT-v6-build1010/ ``` -------------------------------- ### Rename ISO to cdrom.iso for Forcepoint SMC Source: https://www.eve-ng.net/index.php/documentation/howtos/forcepoint-fw Navigate to the image directory and rename the downloaded ISO to cdrom.iso for Forcepoint SMC installation. ```bash cd /opt/unetlab/addons/qemu/fpsmc-6.9.0-11011/ mv smca-6.9.0-11011.x86_64.iso cdrom.iso ``` -------------------------------- ### Rename ISO to cdrom.iso for Forcepoint FW Source: https://www.eve-ng.net/index.php/documentation/howtos/forcepoint-fw Navigate to the image directory and rename the downloaded ISO to cdrom.iso for Forcepoint Firewall installation. ```bash cd /opt/unetlab/addons/qemu/fpfw-6.9.0.25043/ ``` ```bash mv sg_engine_6.9.0.25043_x86-64-small.iso cdrom.iso ``` -------------------------------- ### Create Windows Image Directory Source: https://www.eve-ng.net/index.php/documentation/howtos/howto-create-own-windows-host-on-the-eve Creates the necessary directory structure for the Windows image within the EVE-NG addons path. Ensure the directory name does not contain spaces. ```bash root@eve:~# mkdir /opt/unetlab/addons/qemu/win-10x64-PRO/ ```