Eve ng linux image

How to add Linux servers in Eve-ng

This post will help you to add Linux servers to eve-ng in the easiest way. You can choose any Linux image from the pack below and simply upload it into EVE.

2. Download your desirable image

3. Using WinSCP or FileZilla SSH (TCP 22) to your EVE and upload downloaded image to the location:

/opt/unetlab/addons/qemu/

4. Using Putty or other telnet clients, CLI SSH (TCP 22) to your EVE and go to location:

5. Unzip your uploaded image file, make sure you are using right name of uploaded image. Example for ubuntu desktop image below.

tar xzvf linux-ubuntu-desktop-16.04.4.tar.gz

6. Remove raw zipped image file from EVE

rm -f linux-ubuntu-desktop-16.04.4.tar.gz
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

6. Repeat this procedure for each downloaded image, expecting the right image name in commands

Ready to go images recommended settings:

IMPORTANT NOTE: Before you start the Linux node, edit it with right settings as per the table below. Add node to the Topology, point the mouse and right-click/ Edit. Qemu VGA setting please change manually (overwrite std to qxl). Please be sure you checked all settings for your node, CPU, RAM, Ethernet, qemu vga and console settings. See below:

Credentials and recommended node settings table:

We have used universal credentials in all our Linux images.

for new Kali 2019.3 linux with RDP enabled: root/toor

Источник

Ready to go Linux image pack for EVE

You can choose any of Linux image from the pack below and simply upload into EVE.

2. Download your desirable image

3. Using WinSCP or FileZilla SSH (TCP 22) to your EVE and upload downloaded image to the location: /opt/unetlab/addons/qemu/

4. Using Putty or other telnet client, CLI SSH (TCP 22) to your EVE and go to location:

5. Unzip your uploaded image file, make sure you are using right name of uploaded image. Example for ubuntu desktop image below.

tar xzvf linux-ubuntu-desktop-16.04.4.tar.gz

6. Remove raw zipped image file from EVE

rm -f linux-ubuntu-desktop-16.04.4.tar.gz 
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions 

6. Repeat this procedure for each downloaded image, expecting right image name in commands

Credentials and recommended node settings table:

We have used universal credentials in all our Linux images.

for new Kali 2019.3 linux with RDP enabled: root/toor

Читайте также:  Linux raw to usb

How to create own custom Linux host for EVE:

For this you will need real Linux installation CD ISO distro.

We are using: ubuntu-16.04.2-desktop-amd64.iso. Be sure that distro name has not spaces in the filename! Any Linux Server installation has same procedure.

Create new image directory:

mkdir /opt/unetlab/addons/qemu/linux-ubuntu-desktop-16.04.02/
  1. Use WINSCP or FileZilla SFTP or SCP (port 22) to copy distro ISO image into the newly created directory, path: /opt/unetlab/addons/qemu/linux-ubuntu-desktop-16.04.02/
  2. From cli go to
cd /opt/unetlab/addons/qemu/linux-ubuntu-desktop-16.04.02/
mv ubuntu-16.04.2-desktop-amd64.iso cdrom.iso
cd /opt/unetlab/addons/qemu/linux-ubuntu-desktop-16.04.02/
/opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 30G
  1. Create new lab and add newly created linux-ubuntu-desktop-16.04.02 node
  2. Connect it to your home LAN cloud/internet, this need to get updates from internet
  3. Start node in lab and do install of your Linux, customize it as you like, as you have connected it to home LAN and internet this install will be like normal Linux installation.
  4. Remove cdrom.iso from /opt/unetlab/addons/qemu/linux-ubuntu-desktop-16.04.02/
cd /opt/unetlab/addons/qemu/linux-ubuntu-desktop-16.04.02/ rm -f cdrom.iso

IMPORTANT: Commit the installation to set it as the default image for further use in EVE-NG:

11. On the left side-bar within the lab in the EVE Web-UI choose “Lab Details” to get your lab’s UUID details: In this example: UUID: 3491e0a7-25f8-46e1-b697-ccb4fc4088a2

12. Find out the POD ID of your used and the Node ID of your newly installed node.

The POD number is assigned to your username, and can be found in the EVE GUI, Management/User Management. The Admin user uses POD number 0 by default.

The Node ID can be obtained by right clicking the node on the topology. In this Example it is 8

12. From the EVE CLI, locate the installed image and commit your changes to be used as default for further use in EVE-NG:

cd /opt/unetlab/tmp/0/3491e0a7-25f8-46e1-b697-ccb4fc4088a2/8/
/opt/qemu/bin/qemu-img commit virtioa.qcow2

Advanced instructions on how to make your image smaller in size (sparsify&compress).

13. After you have done all the steps above and your default image is created, you can compress its HDD and make it smaller.

IMPORTANT: for compressing an image you must have sufficient free space on your EVE host, the free space must exceed the total space (30GByte in this example) of the HDD you plan to shrink. The space needed can vary but will be the total space of the disk to be shrunk plus the size of the final sparsified and compressed image. To be safe you should have double the size of the HDD you want to shrink as free space on your EVE host. In our example we needed 35Gbyte of free HDD space. Once this process is done, the temporary file(s) will be deleted and free space reclaimed.

Читайте также:  Black screen linux что такое

14. From the CLI: go to your windows image directory:

cd /opt/unetlab/addons/qemu/linux-ubuntu-desktop-16.04.02/

and perform the sparsify command:

eve-sparsify --compress virtioa.qcow2 compressedvirtioa.qcow2

15. This will take some time and another compressed image will be created in the same image directory (win-7test)

16. Rename the compressed image name to virtioa.qcow2:

mv compressedvirtioa.qcow2 virtioa.qcow2

17. now you can test your new compressed image on a lab, just wipe the node and start it.

  • EVE System Requirements
  • Installation
    • Virtual Machine Install
    • Bare Install
    • Google Cloud Install
    • EVE-PRO/LC
    • Configure EVE during first boot
    • Backup EVE-NG content
    • Re-install and re-host EVE-PRO
    • A10 vThunder
    • AlienVault Cybersecurity OSSIM
    • Android Nodes
    • Arista vEOS Switch
    • Arista vEOS Router
    • Aruba ClearPass
    • Aruba CX Switch
    • Aruba Mobility Controller
    • CheckPoint
    • Cyberoam Firewall
    • Cisco ACS
    • Cisco ASAv
    • Cisco CSRv1000 (SD-WAN)
    • Cisco CSRv1000 16.x, 17.x
    • Cisco Catalyst 8000v
    • Cisco Catalyst 9000v
    • Cisco CUCM
    • Cisco DCNM
    • Cisco ND (Nexus Dashboard)
    • Cisco Dynamips images (Cisco IOS)
    • Cisco ESA (Email Security Appliance)
    • Cisco Firepower 6 images
    • Cisco Firepower 7 images
    • Cisco IOL (IOS on Linux)
    • Cisco ISE
    • Cisco ISRv
    • Cisco Nexus 9000v switch
    • Cisco Prime Infra
    • Cisco StealthWatch
    • Cisco vIOS from CML
    • Cisco SDWAN Viptela images set
    • Cisco vWAAS
    • Cisco Wireless C9800-CL
    • Cisco vWLC (Virtual Wireless LAN Controller)
    • Cisco WSA (Web Security Appliance)
    • Cisco SMA Zeus
    • Cisco XRv
    • Cisco XRv 9000
    • Citrix Netscaler
    • Clavister Netwall cOS
    • Cumulus VX
    • Dell OS 10 Switch
    • Extreme EXOS
    • Extreme VOSS
    • F5 BIGIP
    • Fortinet images
    • Forcepoint FW
    • Forescout CounterACT FW
    • Hewlett Packard VSR1000
    • Hillstone Firewall
    • Huawei AR1000v
    • Huawei USG6000v
    • Infoblox DDI
    • Juniper Apstra AOS Server
    • Juniper vJunos EX Switch
    • Juniper vJunos EVO Router
    • Juniper J-Space
    • Juniper vMX
    • Juniper vQFX
    • Juniper VRR
    • Juniper SDWAN 128T
    • Juniper vSRX 3.0 Version 18.X and later
    • Kemp Load Master
    • Kerio Control FW
    • Linux images
    • Mikrotik Cloud router
    • MS Windows Workstation
    • MS Windows Server
    • Nokia VSR Single node
    • Nokia VSR Multi Line cards
    • OPNsense Firewall
    • Palo Alto
    • Palo Panorama
    • pfSense FW 2.4
    • pfSense FW 2.5.2
    • Plixer Scrutinizer Netflow
    • Pulse Secure Connect
    • Radware Alteon VA
    • Riverbed SteelHead Virtual CX
    • Silver Peak
    • SonicWALL FW
    • Sophos FW
    • Stormshield FW UTM
    • TrendMicro vTPS FW
    • Versa Networks SD-WAN
    • Watchguard FireboxV
    • VM Ware ESXi
    • VM ware NSX
    • VM Ware vCenter
    • VM Ware Velocloud SD-WAN
    • VyOS Vyatta
    • Zabbix Monitoring
    • ZScaler Virtual Service Edge (vzen)
    • CBT Nuggets Knox Videos
    • Cisco CML images
    • Commit changes on previously created Qemu image
    • EVE embedded Dockers Setup and Usage
    • Create customized windows image for EVE
    • Designing EVE topology adding objects and text
    • Designing EVE mapping nodes to custom topology
    • Operate with EVE initial configurations
    • Create lab and connect nodes in the EVE
    • Expand HDD on EVE VM
    • Use HTML5 and native console
    • EVE WEB UI Interface functions and features
    • Install local management Telnet, VNC and Wireshark for windows
    • EVE-NG short presentation
    • Template, icons and config scripts update from GIT
    • EVE-PRO Upgrade from v4.x to v5.x
    • EVE Pro v4 content migration to V5 (rsync)
    • Upgrade EVE Professional or Learning Centre to the newest version
    • Upgrade EVE Community to the newest version
    • Enable SSL EVE PRO with Let’s Encrypt
    • Enable SSL EVE Community with Let’s Encrypt
    • Enable SSL EVE Community with Self-Sign
    • Release Notes EVE (PE) Professional
    • Release Notes EVE (CE) Community

    EVE-NG hosting partners. Rent EVE server online.

    Official partnership. Solution tested and approved by EVE-NG Ltd

    Источник

    How To install Ubuntu Linux Operating System on EVE-NG

    • Create a new folder under EVE-NG and upload the same iso image.

    • Once iso image uploaded please rename it with cdrom.iso

    mv imagename.iso cdrom.iso

    • Create a new disk to install the ubuntu image, the disk space depended on your requirement.

    /opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 30G

    • Now go to EVE-NG GUI and create a new lab

    • Select new Ubuntu image from the list

    • Assign the sufficient RAM and CPU cores

    • Select VNC for console output

    • Add node for Management and Internet access to download new patches and software

    • Start ubuntu linux

    • Double click on Linux icon to open VNC console.

    • Follow the below link to install the Ubuntu
    • Shutdown the Ubuntu system

    • Note down the node number

    • Default pod number will be 0 only
    • Check LAB ID:

    • Now you can go to the Temp folder to commit the Ubuntu Image, this commit will also keep the changes what you made to this system before commit.

    Cd /opt/unetlab/tmp/0/paste your lab id/type nodenumber

    • Now commit the change using below command it will take some time wait and do not close or disconnect EVE-NG. otherwise, image will get corrupt and you need start from the scratch.

    /opt/qemu/bin/qemu-img commit virtioa.qcow2

    • Go back to Linux-ubuntu folder and delete cdrom.iso file

    rm -f image.iso

    • Go back to GUI access of Eve-NG, add new node and run it, it should work

    Источник

Оцените статью
Adblock
detector