Magento 2 After Installation configuration

Cron setup:

See magento user’s cron list:
crontab -u magento_user -l
Edit magento user’s cron:

crontab -u magento_user -e


*/1 * * * * /usr/bin/php -c /etc/php5/apache2/php.ini /var/www/leihut.com/bin/magento cron:run >> /var/www/leihut.com/var/log/magento.cron.log&
*/1 * * * * /usr/bin/php -c /etc/php5/apache2/php.ini /var/www/leihut.com/update/cron.php >> /var/www/leihut.com/var/log/update.cron.log&
*/1 * * * * /usr/bin/php -c /etc/php5/apache2/php.ini /var/www/leihut.com/bin/magento setup:cron:run >> /var/www/leihut.com/var/log/setup.cron.log&

(To find php binary and php.ini which php)

(In php 7, ini file is at  /etc/php/7.0/apache2/php.ini)

Set Magento environment to developer mode:

php bin/magento deploy:mode:set developer
Uncomment the environment settings in main .htaccess file

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s