Sign in
Categories
Your Saved List Become a Channel Partner Sell in AWS Marketplace Amazon Web Services Home Help

Solid install of magento with apache on Ubuntu; tiny permission problem/maybe email problem?

  • By MoMath Sysadmin
  • on 10/04/2015

The install behaved as described immediately upon installation. The instructions for removing the bitnami corner banner were clear and worked fine. I used this as an upgrade from a previous installation at an outdated level of magento, so I experienced some glitches that were due to the version difference, no skin off Bitnami. The only small point that seemed to be a characteristic of this Bitnami installation is that the apache httpd is running under user "daemon" but a number of the configuration directories that Magento needs to save files in were owned by user "bitnami" so I was getting errors from Magento not being able to save configuration changes until I ran chown on the appropriate directories in ~bitnami/apps/magento/htdocs to change the owner to daemon. And right now I am in the midst of trying to configure email so the Magento install can email receipts to customers, but I haven't quite figured that out yet. Other than that, everything has been very solid with this install. I am also going to want to figure out how to run CXS or some other virus/intrusion watchguard program(s) on the running images, maybe something like LFD to block repeated failed logins. Bitnami might want to consider making some of those things standard on images like this that are used for fairly high-security end uses. But overall: Thanks, Bitnami, for your nice work.

Follow-up (Oct 17): I did eventually get Magento emailing to customers to work, but it was quite a bear, involving changes to the code in app/code/core/Mage/Core/Model/Email/Template.php and app/code/core/Mage/Core/Model/Email/Queue.php to use Zend_Mail_Transport_Smtp in place of Zend_Mail_Transport_Sendmail. I am not sure if this difficulty was an issue with Bitnami's configuration of this Magento install, or my not understanding how I was supposed to set up email, or there being another Magento module I should have installed in order to set up outgoing email of SMTP. But I did eventually get it working by modifying those two files.

Another important tip: Don't forget to put your SSL certificates on the new instance; this image uses self-signed certificates out of the box, which are surely not appropriate for e-commerce.


There are no comments to display