Install Zammad Helpdesk System on Ubuntu 22.04

Install Zammad Helpdesk System on Ubuntu 22.04

  • Update repository ubuntu
apt update && apt install wget apt-transport-https gnupg2 libimlib2 libimlib2-dev -y
  • Setting locales
apt install locales -y
locale-gen en_US.UTF-8
echo "LANG=en_US.UTF-8" | sudo tee /etc/default/locale
  • Install Database MariaDB 10.10
curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s -- --mariadb-server-version=10.10
apt install mariadb-server mariadb-client -y
  • Jalankan secure installation
mysql_secure_installation
  • Setting encoding database server
  • Tambahkan character-set-server dan di bawah baris [mysqld]
nano /etc/mysql/mariadb.conf.d/50-server.cnf

[mysqld]
character-set-server  = utf8mb4
collation-server      = utf8mb4_general_ci
  • Restart service mariadb
systemctl restart mariadb
  • Install Web Server Apache dan Enable Apache Headers
apt install apache2 -y
a2enmod headers
systemctl restart apache2
  • Tambahkan Elasticsearch repository
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb https://artifacts.elastic.co/packages/8.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-8.x.list
apt update
  • Install Zammad
wget -qO- https://dl.packager.io/srv/zammad/zammad/key | sudo apt-key add -
echo "deb https://dl.packager.io/srv/deb/zammad/zammad/stable/ubuntu 22.04 main" | sudo tee /etc/apt/sources.list.d/zammad.list
apt update && apt install zammad -y
  • Install plugin attachment dan restart service elasticsearch
/usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-attachment
systemctl enable elasticsearch
systemctl restart elasticsearch
  • Start Service Zammad
systemctl enable zammad
systemctl start zammad
  • Set Elasticsearch server address dan build serch index
zammad run rails r "Setting.set('es_url', 'http://localhost:9200')"
zammad run rake searchindex:rebuild
  • Disable default apache webpage
a2dissite 000-default.conf
systemctl restart apache2

  • Akses Zammad Web Interface
  • Set up new system > buat akun admin user
  • Masukan nama organisasi dan setting email untuk notifikasi
  • Tampilan dashboard Zammad
  • Buat user baru pada dashboard zammad

  • Pengujian
  • Masuk dengan user yang barusan sudah di buat lalu buat tiket baru
  • Cek notifkasi pada dashboard zammad, akan muncul tiket baru. Ganti agent/owner ticket lalu reply ticket
  • Tampilan tiket di user area

herdiana3389

A system administrator with skills in system administration, virtualization, linux, windows, networking, cloud computing, container, etc.