

This guide shows how to compile Graylog 3 from source on Ubuntu 18.04.

Before following this guide, you need to have setup an SSH key and added this to your Github account. If you are unsure of how to so this please see this guide
- Install Openjdk 8, maven and webpack:
sudo apt install openjdk-8-jre openjdk-8-jdk maven webpack
2. Install the Graylog CLI Development tool:
This tool is available here: https://github.com/Graylog2/graylog-project-cli/releases
At the time of writing this is the latest version:
wget https://github.com/Graylog2/graylog-project-cli/releases/download/0.22.0/graylog-project.linux
mv graylog-project.linux /usr/local/bin/graylog-project
chmod 755 /usr/local/bin/graylog-project
3. Initialise/download/bootstrap the graylog sources/project:
cd /path/to/empty/folder
graylog-project bootstrap github://Graylog2/graylog-project.git
After this has completed you should be left with two folders, graylog-project and graylog-project-repos.
4. Compile Graylog
cd graylog-project
mvn package
Depending on your computer this can take a while.