Install Mailwizz On a Vps

Dimitris

New Member
Hello,
I have a vps with Centos 7 and I want to install mailwizz on it.
Do I need a software like Cpanel to install it or I can do with nginx.
Is there any tutorial how to install nginx with all components so mailwizz work properly?

Thank you
 

Kollydaton

Active Member
Hello,

I recommend you install it via Cpanel. Am not sure if the software could be installed via nginx. Maybe twisted would answer this.

Thank You!
 
Is this a managed VPS? If so, all you most likely have to do is upload mailwizz to a root domain (example.com), a directory (example.com/mailwizz) or a subdomain mailwizz.example.com) of your choosing. During the course of the install, the installation will check to ensure all the necessary PHP modules needed for mailwizz to function are available.

If this is unmanaged, there are plenty of tutorials for installation of Nginx & PHP-FPM (required to execute PHP) on Google and Youtube. Or you can just hire someone.

P.S. Be sure to confirm that your VPS is managed or not first. If you attempt one of the tutorials online and you have a control panel already installed, you'll screw up your server and have a mess to clean up.
 

twisted1919

Administrator
Staff member
@Dimitris - When i install nginx and mailwizz, i follow this: if-not-true-then-false.com/2011/install-nginx-php-fpm-on-fedora-centos-red-hat-rhel/
 
@twisted1919 & anyone else. - Be mindful. A lot of these Nginx tutorials have insecure configs and don't contain "try_files $uri =404;" for executing PHP which can possibly leave your server vulnerable to remote exploit. It's why I can't recommend enough to get on certain mailing lists for services running on your servers.

============================================================================
# Pass all .php files onto a php-fpm/php-fcgi server.
location ~ \.php$ {
# Zero-day exploit defense.
# http://forum.nginx.org/read.php?2,88845,page=3
# Won't work properly (404 error) if the file is not stored on this server, which is entirely possible with php-fpm/php-fcgi.
# Comment the 'try_files' line out if you set up php-fpm/php-fcgi on another machine. And then cross your fingers that you won't get hacked.
try_files $uri =404;
===========================================================================

https://nealpoole.com/blog/2011/04/...trust-the-tutorials-check-your-configuration/
http://linux.ioerror.us/2015/05/which-try_files-nginx-directive-is-best-for-the-zero-day-exploit/
 

booster

New Member
@booster I'll give it a try. Do you have try it? It has all php modules for mailwizz?
I meant that to install and configure Nginx+Apache or Nginx+PHP-FPM or etc. without a deep knowledge of system administration, you can install a turnkey solution VestaCP. If you need to install additional modules, most of system modules are in the repository.
 
Top