Duntuk - duntuk.com - DUNTUK
General Information:
Latest News:
Enable Zend OPcache for PHP 5.5 or Install ZendOpcache for PHP 5.3 or PHP 5.4 20 Aug 2013 | 12:27 pm
Zend Opcache is part of PHP 5.5, however, it's not enabled by default. It's a successor to APC cache--meaning APC cache is never going to be compatible with PHP 5.5 or higher Opcache is also around 1...
wget download all files from a directory with resume 19 Jun 2013 | 10:31 am
Here is how you download all files from a directory using wget with automatic resume of partially downloaded files (in case your connection gets cut off) wget -r -c --no-parent http://www.whateveradd...
New Server Checklist for DirectAdmin (2013 edition) 19 Jun 2013 | 08:14 am
Setup DirectAdmin with an SSL certificate source: http://help.directadmin.com/item.php?id=15 If you don't own a certificate, you can create your own: Or... If you already have your own certificate ...
How to create a new /tmp location using ext2 10 Jun 2013 | 02:55 am
Increasing the size of /tmp is not a practical thing to do on a busy server, mainly because you won't be able to dismount /tmp because it's constantly used by various services--trying to find and kill...
How to permanently raise ulimit 'open files' and MySQL 'open_files_limit' 30 May 2013 | 03:46 pm
The default ulimit (maximum) open files limit is: 1024--Which is very low, especially for a web server environment hosting multiple heavy database driven sites. This ulimit 'open files' setting is al...
How to optimize and auto repair all MySQL databases using SSH 27 May 2013 | 02:44 pm
Here's a simple command to optimize and auto repair all tables in your MySQL database. This is the same thing as using PHPMyAdmin, however, you don't need to do this one by one for each database, sel...
How to move MySQL database -- the simple way 27 May 2013 | 02:15 pm
There are plenty of articles about how to move mysql to another directory or partition by telling you to mess with the my.cnf by changing all the references of datadir and socket to the new location. ...
MySQL dump all databases via mysqldump -- the proper way 24 May 2013 | 02:49 am
Here's a command that properly dumps all databases, in case you wanted to restore a full backup. For whatever reason, many sites are using improper characters ( ' –– ' , ' – ' ) to display this mysql...
Add "You Save" amount and percentage to Special Price in Magento 25 Apr 2013 | 02:49 am
In order to display a "You Save" for "Special Price" products in magento--to make it look similar to amazon's price display--you can do the following: Copy app/design/frontend/base/default/template/c...
How to set date and time automatically in CentOS 19 Apr 2013 | 12:36 am
tzselect Answer the 3 locations questions. Then create a symlink to your local time. rm -rf /etc/localtime ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime The symlink will be accordin...