Introduction
Zammad is a powerful, open-source helpdesk and support ticketing system designed to streamline customer service operations. Whether you’re running a small business or managing enterprise-level support, Zammad offers a modern interface, multi-channel support (including email, chat, and social media), and robust integration options to keep your team efficient and organized.
In this guide, we’ll walk you through the complete process of installing Zammad on Ubuntu 24.04, the latest long-term support (LTS) release. You’ll learn how to set up all required dependencies—including Elasticsearch, and Nginx—as well as how to secure your instance with SSL. By the end of this tutorial, you’ll have a fully functional Zammad instance ready to handle support requests on your own server.
Let’s get started!
Commands
sudo apt-get install apt-transport-https curl
wget -qO – https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo gpg –dearmor -o /usr/share/keyrings/elasticsearch-keyring.gpg
echo “deb [signed-by=/usr/share/keyrings/elasticsearch-keyring.gpg] https://artifacts.elastic.co/packages/8.x/apt stable main” | sudo tee /etc/apt/sources.list.d/elastic-8.x.list
sudo apt-get update && sudo apt-get install elasticsearch
/usr/share/elasticsearch/bin/elasticsearch-reset-password -u elastic
sudo systemctl daemon-reload
sudo systemctl enable elasticsearch.service
sudo nano /etc/elasticsearch/elasticsearch.yml
http.max_content_length: 400mb
indices.query.bool.max_clause_count: 2000
curl -fsSL https://dl.packager.io/srv/zammad/zammad/key | \
gpg –dearmor | sudo tee /etc/apt/keyrings/pkgr-zammad.gpg> /dev/null
echo “deb [signed-by=/etc/apt/keyrings/pkgr-zammad.gpg] https://dl.packager.io/srv/deb/zammad/zammad/stable/ubuntu 24.04 main”| \
sudo tee /etc/apt/sources.list.d/zammad.list > /dev/null
sudo zammad run rails r “Setting.set(‘es_url’, ‘https://localhost:9200’)”
sudo zammad run rails r “Setting.set(‘es_user’, ‘elastic’)”
sudo zammad run rails r “Setting.set(‘es_password’, ‘x5cZ629H+clPySZLBAsQ’)”
zammad run rake zammad:searchindex:rebuild