Automate Graylog & Elasticsearch service

Hi @Veak,
@aaronsachs has right.

You can use official steps to install elastic, mongo and graylog from apt repository using Ubuntu installation steps to Raspberry ARM64, only some minor changes is required. You don’t need to use tgz installation, so services will start on startup, no manual steps needed.
https://docs.graylog.org/en/4.0/pages/installation/os/ubuntu.html

I’ve one spare Raspberry Pi 3, so I’ve sucessfuly tested and installed Elasticsearch 7.10.2, MongoDB 4.4 and Graylog 4.0 on Ubuntu server 20.04 ARM64 image.

I have followed official steps, and only changes these ones:

  1. MongoDB - I’ve changed repo for version 4.4 and Ubuntu 20.04
    https://docs.mongodb.com/v4.4/tutorial/install-mongodb-on-ubuntu/
  • wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
  • echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list
  • sudo apt-get update
  • sudo apt-get install -y mongodb-org
  • sudo systemctl start mongod
  1. Graylog - changed apt repo string in graylog.list, so it can install on arm64
  • wget https://packages.graylog2.org/repo/packages/graylog-4.0-repository_latest.deb
  • sudo dpkg -i graylog-4.0-repository_latest.deb
  • sudo vim /etc/apt/sources.list.d/graylog.list
deb [ arch=amd64 ] https://packages.graylog2.org/repo/debian/ stable 4.0
  • sudo apt-get update && sudo apt-get install graylog-server

Done.

1 Like