Hi there,
I need to set up a new Zammad server to replace an old one that is poorly configured and running a MySQL database. I wish to export/import the database into the new server, so the new one must be MySQL too.
I am hosting the new server on Amazon AWS Lightsail.
I have experimented plenty and successfully installed with Postgres as default, on Ubuntu 18.04 via DEB. Elasticsearch is running and everything seems to be working better than my current install… just no data!
Is there a similar install procedure that will install with MySQL instead?
Below is my complete install procedure, after a fresh instance is set up with Ubuntu 18.04 OS Only, in Lightsail.
Many thanks
James
================================================================
sudo apt-get install apt-transport-https sudo wget
sudo echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
sudo apt-get update
sudo apt-get install openjdk-8-jre elasticsearch
sudo /usr/share/elasticsearch/bin/elasticsearch -plugin install ingest-attachment
sudo sysctl -w vm.max_map_count=262144
sudo systemctl restart elasticsearch
sudo systemctl enable elasticsearch
curl -XGET http://localhost:9200/_status
su root
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/
apt-get update
apt-get install zammad
sudo systemctl restart zammad
zammad run rails r "Setting.set('es_url', 'http://localhost:9200')"
zammad run rake searchindex:rebuild
sudo service nginx restart