Tips Blog

Welcome to our technical tips blog – solutions and answers for numerous Joomla, Wordpress, Magento, Linux, MySQL and other problems.
 

Install multiple Redis instances on ports 6379 and 6380 for Magento

Create the directory for the new instance $ sudo install -o redis -g redis -d /var/lib/redis2 Create a new configuration file $ sudo cp -p /etc/redis/redis.conf /etc/redis/redis2.conf Edit the new configuration file $ sudo nano /etc/redis/redis2.conf pidfile /var/run/redis/redis-server2.pid logfile /var/log/redis/redis-server2.log

read more

Standard nginx and LetsEncrypt set up

1) Add the DOMAIN.conf file as shown below to /etc/nginx/sites-available 2) Create a symbolic link to DOMAIN.conf in /etc/nginx/sites-enabled ln -s /etc/nginx/sites-available/DOMAIN.conf /etc/nginx/sites-enabled 3) Comment out the “return” redirect line and ssl_certificate, ssl_certificate_key lines. 4) Restart nginx 5) Create your

read more

Clearing Magento logs

To clean the Magento logs. The settings are under System > Configuration > Advanced > System > Log Cleaning. If it hasn’t been working, then you manually clean the logs. cd /var/www/website.com/httpdocs/shell display the size of the log files php

read more

Magento 1.9 – Enable / Disable Symlinks

They’ve taken out enable/disable symlinks in Magento 1.9 for security reasons, but AOE Scheduler likes them, so if you really need to do it use : UPDATE core_config_data SET value = ‘0’ WHERE path = ‘dev/template/allow_symlink’;