Month: December 2009

Apache: No space left on device

You may receive an error such as the one above while restarting Apache. Most people tend to believe that they are running out of disk space, but that is not the case. The apache error logs will show errors similar to the ones below and you may be surprised to know that this is not…


Using dpkg for new install

After every new OS install, you usually will need to download all the necessary packages that were in the previous installation to maintain the continuity of your old system build. This is definitely time consuming and also trying to remember all of the packages used on the previous system can be difficult, to say the…


Enabling Berkeley DB support in Apache

From eapps.com In order to compile the subversion module for Apache, Apache has to have been built with Berkeley DB support enabled. Because of debates over license conflicts, this option is now disabled by default. Therefore, it’s likely not enabled in your Apache server. You can check whether the Berkeley DB support was enabled in…


Stupid WordPress tricks

This post is published courtesy of Perishable Press. Check out the other terrific info there as well! Perishable Press By the way, this stuff is far from stupid… very nice references here. WORDPRESS SHORTCODES  Save time by replacing your most commonly typed words and phrases with WordPress shortcodes. For example, if you are frequently typing…


Linux CLI Shortcuts

Some of the very useful shortcuts when using the CLI (command line interface) are (the ‘*’ or dash ‘-‘ is not included in the command) * / – root directory * ./ – current directory * ./command_name – run a command in the current directory when the current directory is not on the path *…


Single user mode

Steps for entering/running the single user mode. 1) Reboot the machine. At GRUB [Boot Loader] there will be the listing of the Kernel selection. You will only have about 2 seconds to catch this option during the boot process. You will need to push the Esc key, F1 or Del key to enter this mode….


Docky

Docky is an AWN look-alike which was formerly integrated with GNOME Do. Docky is now an independent application that has maintained many of its goodies like the in-built plug-ins and aspires to bring in more functionality as time goes on. This application is still at an early alpha level but worth a try as it…


Block all ftp access except your country

I recently had a client that, because of constant security breaches, wanted me to block ftp access from everyone except his home country where all of his clients were located. Wait a minute… did you say… access… from everyone??? except your own country???? That fact was slow to dawn on me as the implications of…


Iptables rule limit (numiptent) is too low

If installing csf on a VPS and add too many entries to one of the allow or deny files (/etc/csf/csf.allow or csf.deny) You may come across with a “numiptent” error message while trying to restarting iptables on a VPS. The error looks somewhat like: The VPS iptables rule limit (numiptent) is too low (491/500) –…


Getting website though CLI mirroring

Mirroring a site was never that easy. No software required just a single line command all is done.Let me explain how i did that. 1. Found a site had good AWK manual. 2. Went through the AWK manual and located two good options to the command that worked just well, though i had few wrong…