Comments on How to Install Magento with Nginx on Ubuntu 16.04
Magento is an open source e-commerce software and content management system for e-commerce websites based on the PHP Zend Framework. It uses MySQL or MariaDB as database backend. In this tutorial, I will show you how to install Magento 2 with Nginx, PHP-FPM, and MariaDB as the database. I will use ubuntu 16.04 (Xenial Xerus) as server operating system.
11 Comment(s)
Comments
HI,
Website successfull installed on VPS( Nginx+PHP ver7.0.8+MariaDB+Ubuntu 16 +MAGENTO 2.1)
I want to send the email just when new order from customer.
But Email the order is not sent by email any customer.
The "Order" and "Order Comments" setting in the System->Configuration->Sale Emails are Enabled.
What can I do? Please help me. Thank very much
Have u setup postfix?
How to Magento root directory support PHP ?
If I add a PHP file to root directory , How to modify nginx.confi
Thank so much for the tutorial. I'm so thankfull but this nginx conf file is crash others configurations for same domain and others domains in my server. What's happening?
Hello there,
Thanks for the great and on-spot tutorial.
One thing is, you need to put this into a code section:
mysql_secure_installation
This needs to be executed.
This is nicely laid out! Thank you!
I did not have any issues executing all of this, but when I hit my browser to go to magento, I get sent to the internet vs bring up magento. Any suggestions on what I might have missed? I did use the www.newmagento.com.
Hi there,
Thank you very much for this excellent article. Yours is the best I have seen so far.
Just wondering if you could clarify the domain issue (also brought up by "jbbankshot") that I got stuck with.
I added to /etc/hosts:
192.168.1.136 www.m2shops.com
(192.168.1.136 is local ngix server ip).
Local visit (on the Magento 2 server itself) seems runs fine(no gui installed, use curl):
curl http://www.m2shops.com
I got correct html content in console.
Then when I open from Chrome on a Windows 10 machine (on the SAME lan):
www.m2shops.com
It tried to visit internet instead of the Magento 2 home page on my local server.
I also tried this from Chrome on Windows 10:
192.168.1.136/www.m2shops.com
Got: "404 Not Found"
Could you shed some light on how to tackle this?
Thanks in advance,
-Mike
Hi,I did setup Magento2 with AWS RDS Behind load balncer, http working well. https not working getting error Blocked loading mixed active content. Connection also showing not secure. Regards,Vishal
Can you answer anybody?
Hi there,
I installed Magento2 using this guide. After the server went into production after months of development I started getting strange issues, like problems in installing modules, system upgrade etc. Then I came to know that one should never install a production server using composer. It is for testing/development purposes only.
I then got stuck as it was produciton site with lots of products/blog posts etc. Well I had to create a new server and then copy everything one by one... hard luck.
Secondly I've seen Magento2 is tightly integtrated with Apache. It gives strange problems with NginX when in production. It does run but it limps. My 2nd advice will be to run it on Apache if you want to save yourself headaches down the line. Though you would need more resources but it's better than not being even able to access Web Setup Wizard without a hack.
Using Composer is fine on production systems as well, it does not matter for a PHP file if you copy it manually or if it got copied by a composer script. Magento works fine on Nginx, many large Magento shops use it and it's also documented by the Magento developers how to run their software n Nginx.