Month: January 2011

Load testing with Siege

ABOUT SIEGE Siege is an http load testing and benchmarking utility. It was designed to let web developers measure their code under duress, to see how it will stand up to load on the internet. Siege supports basic authentication, cookies, HTTP and HTTPS protocols. It lets its user hit a web server with a configurable…


DSO vs. CGI vs. suPHP vs. FastCGI

  From http://boomshadow.net Updated: This is one of the most common topics that I see customers will ask about. As highly important as PHP handlers are, they often the least understood. They seem complicated, but its not too hard to understand. You don’t have to know that exact science of how it all works, but…


Turn off csf notifications for specific processes

From configserver.com Process Tracking This option enables tracking of user and nobody processes and examines them for suspicious executables or open network ports. Its purpose is to identify potential exploit processes that are running on the server, even if they are obfuscated to appear as system services. If a suspicious process is found an alert…


Cpanel force password change

For changing all users cpanel logins the next time they login go to Main >> Account Functions >> Force Password Change in WHM and then Select All, then Submit From techtrunch.com There is a cPanel script [chpass] to reset each user’s password. Its syntax is as follows /scripts/chpass username password After running the script always…


SQL Buddy

SQL Buddy is an open source, lightweight and intuitive database management tool. Ridiculously easy to install, simply unzip the folder into a web accessible folder on your server and its ready to use. Seriously, the next step is logging in. Complete control of users Logins are handled directly by MySQL. Create as many or as…


Ghostscript install centos linux

From alexxoid.com To update ghostscript package to version 8.70 under Linux Red Hat / CentOS, you need connect an additional repository Black Op. See instructions here. Download blackops GPG Key. wget http://blackopsoft.com/el5/RPM-GPG-KEY-blackop rpm –import RPM-GPG-KEY-blackop rpm -i http://blackopsoft.com/el5/RPMS/noarch/blackop-el5-repo-1.0-2.noarch.rpm or Download the Repository RPM wget http://blackopsoft.com/el5/RPMS/noarch/blackop-el5-repo-1.0-2.noarch.rpm rpm -i blackop-el5-repo-1.0-2.noarch.rpm rpm -i http://blackopsoft.com/el5/RPMS/noarch/blackop-el5-repo-1.0-2.noarch.rpm rpmforge recommends using yum-priorities…


Mysql Commands

From pantz.org This is a list of handy MySQL commands that I use time and time again. At the bottom are statements, clauses, and functions you can use in MySQL. Below that are PHP and Perl API functions you can use to interface with MySQL. To use those you will need to build PHP with…


Re-install phpmyadmin

quick way: /usr/local/cpanel/bin/updatephpmyadmin –force fun way: (Version information: 3.3.8*) cd /usr/local/cpanel/base/3rdparty wget http://downloads.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.3.8/phpMyAdmin-3.3.8-all-languages.tar.bz2 tar -jxvf phpMyAdmin-3.3.8-all-languages.tar.bz2 mv phpMyAdmin/ phpMyAdmin-bak mv phpMyAdmin-* phpMyAdmin/ cd phpMyAdmin-bak cp config.inc.php ../phpMyAdmin/ cd .. chown -R cpanel:cpanel phpMyAdmin


Google Apps – enable domain keys

Google has been an early and consistent supporter of email authentication technologies, which help ensure senders are who they say they are, and in turn help to curb spam. Since we launched Gmail in 2004, we have supported email-signing standards such as DomainKeys and DomainKeys Identified Mail (DKIM) to help validate outbound mail with digital…


Reduce inode usage

From sabarish4u.wordpress.com Inodes basically store information about files and folders, such as (user and group) ownership, access mode (read, write, execute permissions) and file type. On many types of file systems the number of inodes available is fixed at file system creation, limiting the maximum number of files the file system can hold. The inode…