How To: Hands Free Bluetooth Peripheral Driver – Windows 7
By dave on April 16, 2012
I had purchased a macbook earlier 2010. One of the main reason I liked my macbook is, the body is made of Aluminium. Most of the bodies you can find these days are made of some sort of chlorine product. They are very heat sensitive and dies in less than a year depending on how [...]
Posted in Windows | Tagged bluetooth hands free driver, mw600 driver, mw600 windows 7 driver, mw600 windows driver, windows 7 | Leave a response
How to fix “Page Allocation Failure”
By dave on March 15, 2012
I have converted almost all my servers into 64bit RHEL. One of the primary reason of this upgrade from 32 bit PAE was massive performance improvement specially reduced time of allocating memory for MySQL. As MySQL is the most resource intensive application in a shared server, any improvement on MySQL can drastically improve the IO [...]
Posted in Cache, Cpanel, File System, IO, Linux, MySQL | Leave a response
A simple bash script to test valid home directories
By dave on February 22, 2012
I had been using this small trick for sometime now. A shared hosting server tends to see lots of account creation and terminations. Sometimes, it happens that the termination process doesn’t delete the whole home directory for different reasons. This is why, I run a regular check to see how many home directories I have [...]
Posted in Cpanel, File System, Linux | Tagged clear home directory, finger, test valid linux user | Leave a response
updatedb – High Load – cPanel Servers
By dave on February 22, 2012
If you are a cPanel admin, you have probably seen a script that would usually consumes a lot of CPU at a certain time everyday as follows: /usr/bin/updatedb -f sysfs?rootfs?bdev?proc?cgroup?cpuset?tmpfs?devtmpfs?binfmt_misc?debugfs?securityfs?sockfs?usbfs?pipefs?anon_inodefs?inotifyfs?devpts?ramfs?hugetlbfs?pstore?mqueue updatedb is actually a daemon type command that usually updates a prebuilt database of files. Updatedb keeps the database coherent. Later on, a command called [...]
Posted in Cpanel, IO, Linux | Tagged cron.daily, high cpu, high load, locate, mlocate, updatedb | Leave a response
FollowSymLink & Web Server Vulnerability
By dave on February 22, 2012
FollowSymLink is an Apache options allows the web server to follow a symbolic link or lets say “Shortcuts”. By default, Apache would follow any symbolic link when its allowed. If you would like to know about “Options” directive that contains the property for Apache can be found here: http://httpd.apache.org/docs/2.0/mod/core.html This directive is defined in the core.c of [...]
Posted in Apache, C99Shell, Cpanel, Hacking, Http, Linux, Security | Tagged c99shell, disable ln, followsymlink, web injection | Leave a response
How to block d0main.php or d0mains.php or php.cpanel.d0mains or cpftpcrack
By dave on February 18, 2012
I run a regular scan on my servers using hex values of regularly updated malware signature databases to keep the server clean from compromised/defaced/intentional attacks. I had been trying to analyze these newly found malwares and trace how they are used to compromise accounts. Most of these malwares use exploits found ages ago and inject [...]
Posted in Apache, C99Shell, Cpanel, DNS, Hacking, Http, Linux | Tagged block d0mains, cpftpcrack, d0mains.php | Leave a response
How to block visitor by country
By dave on February 18, 2012
Many of you might be pretty irritated with the spams and hacking attempts from Russia, Ukraine, Vietnam, Nigeria, Niger etc. They just don’t stop and keep coming everyday. I have seen many of my hosting customers periodically requests for country level blocking without specifying the Ip ranges in .htaccess file. This post will explain a [...]
Posted in Apache, Http | Tagged block china, block country, block niger, block nigeria, block russia, block spam, geoip, maxmind, mod_geoip | Leave a response
How to improve IO performance on cPanel server
By dave on January 24, 2012
I had a server added to our server spool last month with the following configuration: Xeon E3-1230, 8GB RAM, 1TB SATA II in RAID 1. It replaced my old Xeon 5000 series Processor server with No-RAID & 4GB RAM. Since the migration, I was seeing a good amount of IO wait. I knew it is [...]
Posted in Apache, Cache, Cpanel, File System, Hacking, Http, Linux | Tagged apache tweak, cpanel tweak, file system tweak, improve io, io wait, reduce io | Leave a response
How to install mod_geoip in cPanel on Centos Server
By dave on January 18, 2012
The easiest way to geo target your traffic and show different contents for them is to use mod_geoip from MaxMind. mod_geoip can be used with the mod_rewrite which sometimes helps the system administrator to manage certain countries. You can also apply the Location type derivative of Apache on mod_geoip variables. Here is a short how [...]
Posted in Apache, Cpanel, Easyapache, mod_geoip | Tagged apache module, block china, block country, block nigeria, block russia, block spam, centos, geoip, maxmind, mod_geoip, redhat, rhel | Leave a response
How to uninstall Trendy Flash Sitebuilder from Cpanel
By dave on January 7, 2012
Trendy Flash site builder has a Cpanel plugin. Many of you might want to find an alternative to the most popular RVSitebuilder and may have tried it like me. Interestingly enough this Sitebuilder doesn’t come with an uninstall documentation. I tried searching almost everywhere but couldn’t find a clue. You can possibly reverse the command [...]
Posted in Cpanel, Sitebuilder | Tagged cpanel, rvsitebuilder, site builder, trendy, trendy flash sitebuilder, uninstall trendy | Leave a response