- Download Ubuntu Server 16.04.6 LTS: http://tw.archive.ubuntu.com/ubuntu-cd/16.04/ubuntu-16.04.6-server-amd64.iso
- If you need to create bootable USB, follow instruction here:
- Windows: https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-windows#1
- MAC: https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-macos#0
- Or use this tool ISO to USB https://www.balena.io/etcher/, works on Linux/Mac and Windows.
-
Boot from USB or ISO
-
Select: Install Ubuntu Server
-
Select English
-
Select Location
-
Select Keyboard: (most likley English (US))
-
Select primary network interface
-
Configure Network:
- IP Address: x.x.x.x/x
- Gateway
- Name Server
-
Enter Hostname: EVE-NG-LAB
-
domain name
-
ubuntu archive mirror country: canada
-
select ubuntu archive mirror: ca.archive.ubuntu.com
-
enter proxy if applicable
-
Enter full name of new user
-
enter username
-
enter password
-
Encrypt Home directory: NO
-
Select Timezone
-
Partitioning
- Guide - use entire Disk and setup LVM
- select disk
- select YES remove existing logical data
- Select YES to partition disk
- use all disk space
- write changes to disk - YES
-
Select No automatic updates
-
software to install
- standard system utilities
- OpenSSH Server
-
install Grub Yes, select bootable device
-
Set clock to UTC
-
remove bootable device and reboot
-
ssh to host and login with user (alt-f1 to see prompt)
-
set root password
sudo su
sudo passwd root
-
verify hostname and local hosts file, edit as required
cat /etc/hostname
cat /etc/hosts
-
Edit permissions for root user to allow SSH access to EVE server
nano /etc/ssh/sshd_config
- Find and edit PermitRootLogin to “yes” =>
PermitRootLogin yes
- Confirm edit with ctrl+o followed by enter And ctrl+x for Exit
sudo service ssh restart
-
ssh as root to eve server
-
Update the Ubuntu grub CMD Line with the following customized command:
sed -i -e 's/GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=0 noquiet"/' /etc/default/grub
update-grub
-
Rename server interface name to eth0
-
nano /etc/network/interfaces
-
Confirm edit with ctrl+o followed by enter And ctrl+x for Exit, the file should look something like this:
# The primary network interface auto eth0 iface eth0 inet static address 192.168.2.35 netmask 255.255.255.0
-
-
Reboot server
-
note: if system has more then one network interface, it is possible that connectivity is lost after reboot, you will need to do following steps to remap primary adapter to eth0:
sed -i -e 's/GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=0 biosdevname=0 noquiet"/' /etc/default/grub
update-grub
- Start EVE Pro installation
wget -O - http://www.eve-ng.net/repo/install-eve-pro.sh | bash -i
- Optional for Broadcom NetExtreme II ethernet drivers:
apt install firmware-bnx2x -o Dpkg::Options::="--force-overwrite"
- reboot
- ssh to server you will be guide through EVE NG setup
- Enter root password
- Enter hostname
- Enter domain name
- Use static IP
- enter managment ip
- enter dns domain name
- enter ntp server ex: 0.north-america.pool.ntp.org
- config proxy setting as required
- system will reboot
- ssh to server and apply updates
apt update
andapt upgrade
- Install eve-ng-dockers
-
apt install eve-ng-dockers
-
verification after install type
dc images
and should have a display like this:root@eve-ng:~# dc images REPOSITORY TAG IMAGE ID CREATED SIZE eve-gui-server latest a2c79ab18203 6 minutes ago 3.11GB eve-wireshark latest f8aa7c52f776 19 minutes ago 889MB eve-firefox latest f14896f741bd 20 minutes ago 1.49GB eve-desktop latest fc2fb674b7d5 22 minutes ago 2.4GB dockergui-rdp latest 7355d235dc9a 30 minutes ago 553MB phusion/baseimage 0.9.22 877509368a8d 2 years ago 225MB
-
- loging to https://eve-ng.lab (note: Eve works best with Firefox).
- Login with default user: admin Password: eve
- Go to Licensing/License Upload (top of screen) and paste licence
- verify license - Licensing/License information
Reference: https://www.eve-ng.net/images/EVE-COOK-BOOK-1.10.pdf