Skip to content

Instantly share code, notes, and snippets.

@cfra
Created July 10, 2018 13:49
Show Gist options
  • Save cfra/2c2e119d4c14499b90cfa87b11b7398a to your computer and use it in GitHub Desktop.
Save cfra/2c2e119d4c14499b90cfa87b11b7398a to your computer and use it in GitHub Desktop.
How to install eve-ng on digitalocean

Installing eve-ng on digitalocean

  1. Create an Ubuntu 16.04 Droplet
  2. Set a root passwd
passwd root
  1. Remove cloud-init
apt-get remove cloud-init
  1. Configure the hostname
echo "eve-ng" > /etc/hostname
sed -i '/127.0.0.1 localhost/i127.0.0.1 eve-ng.test.com eve-ng' /etc/hosts
  1. Reconfigure kernel boot options
sed -i 's/^GRUB_CMDLINE_LINUX_DEFAULT="/&net.ifnames=0 noquiet /' /etc/default/grub
update-grub
  1. Reboot
reboot
  1. Add the eve-ng repo and install
wget -O - http://www.eve-ng.net/repo/eczema@ecze.com.gpg.key | apt-key add - # Blergh
apt-add-repository "deb [arch=amd64] http://www.eve-ng.net/repo xenial main"
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y eve-ng
  1. eve-ng-guacamole_2.0.3-87_amd64.deb failed for some reason (something about creating the database). So fix/fiddle around it:
apt-get install -f
apt-get upgrade
apt-get install eve-ng

You should now be able to login with admin:eve as credentials with HTTP on port 80.

@cmkpl
Copy link

cmkpl commented Oct 12, 2019

can run vm on it?

@natalka1122
Copy link

Works like a charm. Thank you!

@roberttech
Copy link

When i run this command, the following error appears: DEBIAN_FRONTEND=noninteractive apt-get install -y eve-ng

The following packages have unmet dependencies:
eve-ng : PreDepends: eve-ng-guacamole (>= 2.0.3-87) but it is not going to be installed
PreDepends: mysql-server but it is not going to be installed
Depends: eve-ng-guacamole but it is not going to be installed
Depends: linux-headers-4.9.40-eve-ng-ukms+ but it is not going to be installed
Depends: eve-ng-qemu (>= 2.0.5-24) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

@cfra
Copy link
Author

cfra commented Jan 13, 2021

I am sorry to hear that these instructions are no longer working for you.

It has been a long time since I have used eve-ng myself, so I cannot really help you here.

If you find out how to resolve this problem, let me know and I will update the instructions.

@meetpradeepp
Copy link

If someone still comes to this page. Please check the OS version support too. Recently I had this issue when working on Ubuntu 22.04 which is not supported as we speak. Rest command still work. Now there is easier option install is
wget -O - https://www.eve-ng.net/focal/install-eve.sh | bash -i

@SharanHarti
Copy link

I get the following error when I run the 'apt-get update' command. My Ubuntu version is 20.04.5 LTS. Please let me know if anyone has encountered this issue and how to fix this error message.

Get:4 http://www.eve-ng.net/repo xenial InRelease
Err:4 http://www.eve-ng.net/repo xenial InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Reading package lists... Done
E: Failed to fetch http://www.eve-ng.net/repo/dists/xenial/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'http://www.eve-ng.net/repo xenial InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

@meetpradeepp
Copy link

Check your repo link or make sure you change it by below
apt-add-repository "deb [arch=amd64] http://www.eve-ng.net/repo xenial main"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment