Category: Linux

Linux Server Managment

jQuery UI Datepicker in WordPress Admin

If you create your own WordPress plugins or themes, you will probably have found yourself in a situation where you have added a date field to a plugin’s admin page – maybe a date associated

WordPress as a true custom CMS – plugins and tips

As fellow WordPress developers may know, WordPress became a fully-fledged CMS platform a while ago with the introduction of custom post types and custom taxonomies. So, as well as pages, posts and links, you can


How to remove Tomcat on cPanel

Want to remove Tomcat from cPanel? Log-into your server as root using ssh: Execute the following command to stop the Tomcat process: # /usr/sbin/stoptomcat …and to remove the next files, enter: # rm -f /usr/sbin/starttomcat


Apache logs

Issues with suhosin or mod_security , then best check your Apache error logs tail -f /usr/local/apache/logs/error_log

Free WordPress Form Plugins

Almost all websites have (or should have) a form of some kind, to be completed by interested visitors. Whether it is a simple newsletter signup, a means of contacting the owner, or something more complex


Rebuilding/Restarting Exim Mail Server

When troubleshooting the Exim log file: tail -f /var/log/exim_mainlog If you need to restart or rebuild Exim, you can dump your databases * /etc/exim.conf * /var/spool/exim/db Which Exim just rebuilds automatically by issuing the following

Firefox Turns Five

Yesterday marked five years since the release of version 1.0 of the Mozilla Firefox web browser. Five years down the road, its success has surely played an important role in the ongoing development of web

CSS Double Body Background Image

So you’re designing a website, and you’ve reached a point where you need two background images behind the whole page, both repeating in at least one direction, but not all your pages will be full

10 reasons websites should not play music automatically

I do a lot of surfing, looking for design inspiration, coding tips, or simply something to amuse me. I often start a surfing session using StumbleUpon or Wikipedia and then simply see where my interest

Website Testing Process

When designing and building websites, any professional will tell you that you should test in as many browsers as possible. In the real world, the number you can actually test in may be quite small,

Why Web Developers should use KeePass

This is a very old post. These days I recommend using LastPass. What is KeePass? KeePass Password Safe, to give it its full name, is a free, open-source, password manager available on multiple platforms and

5 Essential WordPress Plugins

If you create sites using WordPress, I’m sure there are certain plugins you find yourself using over and over again – either because they do so much that they can transform a site, or because

Refreshing Your Firefox Profile

I’m a big fan of Firefox, and it’s been my main web browser for as long as I can remember. Partly because it’s pretty good with web standards, and partly because of its huge range


Linux server tip: force reboot/shutdown

Forcing reboot A Linux Server is not Windows XP and if reboot fail you usually still connect by SSH and do something. This commands will show you how to remotely hard reboot machine. Hard reboot


How To Set Up A Load-Balanced MySQL Cluster With MySQL 5.1

This tutorial is based on Falko Timme’s tutorial for MySQL Cluster 5.0. It shows how to configure a MySQL 5.1 cluster with five nodes: 1 x management, 2 x storage nodes and 2 x balancer

Enabling GZip on WAMP

If you use WAMP ( to develop websites on a local PC, then you probably don’t need to enable gzip (server-side file compression to reduce the amount of data transferred when a web page is


How to update Virtuozzo Node to the newest Kernel

Virtuozzo includes a utility to update itself and the included templates. To run this, you will need to ssh into the hardware node and execute the command: vzup2date In order to update the templates, add


Turbo charging MySQL by setting up the query cache

To make sure MySQL uses the query cache, there are a few variables you need to set in the configuration file . Usually its my.cnf or my.ini so check on your server with the shell


Moving mySQL DBs between servers

Moving mySQL DBs from one server to another: mysqldump -uUSER -pPASSWORD txp_database > txp_database.sql puts the entire thing in one nicely portable text file. on a new server it takes mysql -uUSER -pPASSWORD txp_database <


Taking backup of mysql database using cron

Taking backup of mysql database using cron Create a file called and also an empty directory called mysql_backup. The script should have the following info :