We no longer support this.
If you need to install MailWizz in a VPS, please use a specialised service like the one offered at https://www.roboset.io/services/mailwizz-vps-install
Please make sure you run this only on a fresh VPS running CentOS 7 where you will be running just MailWizz mainly. DigitalOcean or Linode are both perfect choices.
Before anything else, make sure on your VPS, SELinux is disabled. The only command you have to run is:
bash <(curl -s https://www.mailwizz.com/frontend/files/mailwizz-docker-setup.sh) What the above will do is to update the existing packages from your server, install a few new ones that are required for the installer, then clone the mailwizz-docker repository on your server, and start the installer. Once the installer starts, you will be asked a series of questions, please be very careful when answering and write your answers down (passwords for example). The installer will try to install latest version of php, latest version of mysql and nginx or caddy as web servers, depending on your choices.
Following docker containers will be created:
mailwizz-mysql, mailwizz-webserver, mailwizz-php, mailwizz-pma Once the install is complete, you can start using MailWizz. A few docker / docker-compose commands that might help you:
If you want to stop the running containers, you have to run:
docker-compose stop If you have restarted your server and have to start the containers:
docker-compose start (make sure you are in /root/mailwizz-docker when running the above commands) Please note that after you start/restart your container, you will have to manually start the cron jobs daemon by running:
docker exec -it mailwizz-php /bin/bash -c '/etc/init.d/cron start' If you want to stop then start just one of the containers:
docker stop mailwizz-php && docker start mailwizz-php You can at anytime login in any of the running containers
docker exec -it mailwizz-php /bin/bash If you need more info, please visit the Docker website.