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.

@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