eve-ng

首先先下載 eve ng

Free EVE Community Edition Links and Infoova

再下載Linux Client integration pack

安裝上面的套件, 有缺用apt -f install補齊, 再用Virtualbox VMware 匯入ova

bin跟CiscoIOUKeygen3f.py去餵一下狗就有.

匯入完成後開啟我全按ENTER用預設值跑完它.

預設有安裝SSH, 用filezilla 連過去把bin跟CiscoIOUKeygen3f.py上傳到 /opt/unetlab/addon/iol/bin/

cd /opt/unetlab/addons/iol/bin

python CiscIOUKeygen.py | grep -A 1 ‘license’ > iourc

/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

如果出現少NETMAP就在bin目錄裡touch一下

用chromium開虛擬機拿到的IP, 登入新增node選cisco iol, 隨便抓一台, 選一下capture, 如果出現wireshark錯誤.

sudo dpkg-reconfigure wireshark-common #選yes

chmod +x /usr/bin/dumpcap #如果沒有就安裝

如果出現End of file on pipe magic during open

開wireshark,  Edit -> Preferences -> Capture -> ‘Working directory, 我是選any.

搞定收工.

加入window server
mkdir /opt/unetlab/addons/qemu/winserver-2012R2/
cd /opt/unetlab/addons/qemu/winserver-2012R2/
mv 2012.R2VL.ESD.ENU.June2016.iso cdrom.iso
/opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 60G

加入linux server
cd /opt/unetlab/addons/qemu/
tar xzvf linux-ubuntu-desktop-16.04.4.tar.gz
rm -f linux-ubuntu-desktop-16.04.4.tar.gz
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

加入windows
mkdir /opt/unetlab/addons/qemu/win-7test/
cd /opt/unetlab/addons/qemu/win-7test/
mv Windows7SP1Ultimate_64_Bit.iso cdrom.iso
/opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 30G

關於linux, 官方有給一個它做好的連結省得重新安裝. Download Linux Images Here
這是有可能的帳號
root/root
user/Test123
root/Test123

另外, 移除這個vmware

sudo vmware-installer -l

sudo vmware-installer -u PRODUCT-NAME

P.S:爛vmware的方向鍵

echo “xkeymap.nokeycodeMap = true” >> /etc/vmware/config

調硬碟大小, 由於是LVM格式有點麻煩.

我用了gparted開機後先deactive, 調了大小, 後再active

開機後埶行

lvextend -l +100%FREE /dev/mapper/eve–ng–vg-root

resize2fs /dev/mapper/eve–ng-vg-root

如果會查uuid的話用 blkid 或 cat /dev/disk/by-uuid

發佈留言