Note
We currently support Ubuntu 16.04 LTS and 18.04 LTS.
Be sure to use an UTF-8 locale or PostgreSQL will not install.
Elasticsearch is a dependency of Zammad and needs to be provided before installing Zammad. Please take a look at the following page: :ref:`install_elasticsearch` .
locale
If there is nothing with UTF-8 in the name shown like "LANG=en_US.UTF-8" you have to set a new locale.
apt-get install apt-transport-https locales sudo wget locale-gen en_US.UTF-8 echo "LANG=en_US.UTF-8" > /etc/default/locale
wget -qO- https://dl.packager.io/srv/zammad/zammad/key | sudo apt-key add - sudo wget -O /etc/apt/sources.list.d/zammad.list \ https://dl.packager.io/srv/zammad/zammad/stable/installer/ubuntu/16.04.repo
wget -qO- https://dl.packager.io/srv/zammad/zammad/key | sudo apt-key add - sudo wget -O /etc/apt/sources.list.d/zammad.list \ https://dl.packager.io/srv/zammad/zammad/stable/installer/ubuntu/18.04.repo
sudo apt-get update sudo apt-get install zammad
Note: You might need to apt-get install wget apt-transport-https for the above instructions to work.
Go to http://localhost and you'll see:
- "Welcome to Zammad!", there you need to create your admin user and invite other agents.
Add your fully qualified domain name or public IP to server name directive in your web server configuration and restart your web server. The installer will give you a hint where Zammad's web server config file is located.
Warning
Please do not rename the webserver config file for nginx or apache. The update process will re create it, if it does not exist!
/etc/nginx/sites-enabled/zammad.conf
server { listen 80; # replace 'localhost' with your fqdn if you want to use zammad from remote server_name localhost;
sudo systemctl status zammad sudo systemctl stop zammad sudo systemctl start zammad sudo systemctl restart zammad
sudo systemctl status zammad-web sudo systemctl stop zammad-web sudo systemctl start zammad-web sudo systemctl restart zammad-web
sudo systemctl status zammad-worker sudo systemctl stop zammad-worker sudo systemctl start zammad-worker sudo systemctl restart zammad-worker
sudo systemctl status zammad-websocket sudo systemctl stop zammad-websocket sudo systemctl start zammad-websocket sudo systemctl restart zammad-websocket