Skip to main content

Purging the MySQL BIN-LOG

Purging the MySQL BIN-LOG

By default MySQL keeps a log of all transactions, if you don’t limit this in “my.cnf” it will keep growing and keep creating “mysql-bin.XXXXX” files. To delete these files and potentially free up lots of disk space do the following: If you are using DirectAdmin first find out the admin user account for MySQL: cat /usr/local/directadmin/conf/mysql.conf […]

Set the correct FROM and REPLY-TO addres...

When using a default install of Magento (>=1.9) on DirectAdmin the emails send by Magento can appear to come from [email protected] or from [email protected]. These addresses can appear in the “From”, “Reply-To” or “Return-Path”. Some email clients show this as [email protected] on behalf off [email protected]  There is a simple fix for both these issues. Mail from [email protected] For […]

Setup a cron-job for Magento on DirectAd...

Setup a cron-job for Magento on DirectAdmin

When using Magento it is important to setup a cron job to run all kinds of maintenance and since version 1.9.1 it is also needed to send some transactional emails. With a cron job the following jobs are performed: Catalog price rules Newsletters Generating Google sitemaps Customer Alerts/Notifications (product price change, product back in stock) […]

Installation of CSF on CentOS with Direc...

Installation of CSF on CentOS with DirectAdmin

One of the first things to do when installing a new DirectAdmin server should be the installation of CSF (ConfigServer Security & Firewall). According to their own website this is: A Stateful Packet Inspection (SPI) firewall, Login/Intrusion Detection and Security application for Linux servers. You can use this software to configure the firewall on your […]