Introduction
Zammad is an open-source customer support system that allows businesses to manage customer communication across multiple channels. This tutorial will guide you through the process of installing Zammad on Debian 12.
Prerequisites
Before you begin, ensure you have:
- A Debian 12 server or virtual machine
- SSH access to the server
- Root or sudo privileges
Step 1: Update System
Update the package repository and installed packages:
sudo apt update
sudo apt upgrade -y
Step 2: Install Dependencies
Install necessary dependencies for Zammad:
sudo apt install -y curl apt-transport-https dirmngr
Step 3: Add Zammad Repository
Add the Zammad repository key:
curl -sS https://dl.packager.io/srv/zammad/zammad/key | sudo apt-key add -
Add the Zammad repository:
echo "deb https://dl.packager.io/srv/zammad/zammad/stable/debian/12 zammad main" | sudo tee /etc/apt/sources.list.d/zammad.list
Step 4: Install Zammad
Update the package repository and install Zammad:
sudo apt update
sudo apt install -y zammad
Step 5: Configure Zammad
Run the Zammad configuration tool:
sudo zammad run rails r "Setting.set('es_url', 'http://localhost:9200')"
sudo zammad run rake searchindex:rebuild
sudo zammad run rails r "Setting.set('es_url', '')"
Step 6: Start Zammad Service
Start and enable the Zammad service:
sudo systemctl start zammad
sudo systemctl enable zammad
Step 7: Access Zammad
Open a web browser and navigate to your server's IP address or domain name:
http://your_server_ip_or_domain
You will be prompted to complete the setup process for Zammad, including creating an administrator account and configuring email settings.
Conclusion
Congratulations! You have successfully installed Zammad Customer Support System on Debian 12. You can now use Zammad to manage customer communication and support tickets for your business.