DirectAdmin

PECL Install Error: /bin/sh: bad interpreter: Permission denied

By BXTra |

When I tried to use PECL to install APC. I got error below : # pecl install apc downloading APC-3.0.19.tgz ... Starting to download APC-3.0.19.tgz (115,735 bytes) .........................done: 115,735 bytes 47 source files, building WARNING: php_bin /usr/local/php5/bin/php appears to have a suffix 5/bin/php, but config variable php_suffix does not match running: phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519

How to install Memcached on CentOS (with DirectAdmin installed) + Memcached PECL

By BXTra |

After I was done with install Memcached on CentOS a while ago, I just know today that there are 2 different PECL modules. One is "Memcache PECL" while another is "Memcached PECL". The one I did before is "Memcache PECL", so, now, I try to install "Memcached PECL" which is newer and require libmemcached library. The content below is almost exactly to my previous Memcache PECL installed. Only a few changes to install Memcached PECL instead.

How to install Memcached on CentOS (with DirectAdmin installed) + Memcache PECL

By BXTra |

I just want to try if Memcached can really help my server load or not. So, I look around to find the way how to do it. There are a couple ways but to me, below are what I did to installed it. Get Libevent which is require to install Memcached. Their homepage is here -> http://www.monkey.org/~provos/libevent/ wget http://www.monkey.org/~provos/libevent-1.4.13-stable.tar.gz tar -xvf libevent-1.4.13-stable.tar.gz cd libevent-1.4.13-stable ./configure;make;make install; Then, get Memcached from http://memcached.org

Cacti, DirectAdmin : Install Spine 0.8.7d as a poller instead of a default one.

By BXTra |
I would like to use Spine instead of default Cacti's poller. At first, I'm thinking about to use Dag repository. It should work easily if I don't have DirectAdmin installed. However, I do have DirectAdmin installed and that caused dependencies problem when I tried to yum install it. So, I need to compile Spine by myself. I checked at Cacti website and found "Compiling Spine for Redhat/Fedora Linux" The steps seem to be easy but it's not. I got and error :

[ HOW-TO] Install XCache on CentOS 5.2 64-bit that has DirectAdmin installed

By BXTra |

First of all, if you are using DirectAdmin in PHP-CGI (suPHP) mode, don't waste your time follow this HOW-TO. Although these steps work with PHP-CGI but you will get nothing from doing it. For PHP-CLI, I found that it help to decrease my server load from about 10 or more down to about 1 but always less than 2. (I have quad core CPU and my problem before is that CPU usage is almost always 100%.) It's useful module that you should have it installed. Step 1 : Get XCache and uncompress it shell> cd /tmp

Yum install perl-DBD-mysql, perl-DBI to use "mysqlreport" under CentOS 5.2 + DirectAdmin

By BXTra |

mysqlreport makes a friendly report of important MySQL status values. mysqlreport transforms the values from SHOW STATUS into an easy-to-read report that provides an in-depth understanding of how well MySQL is running. mysqlreport is a better alternative (and practically the only alternative) to manually interpreting SHOW STATUS.

When I was trying to use mysqlreport under CentOS 5.2 64 bit + DirectAdmin 1.3.2.3 Custom Build 1.1. I got error when run "./mysqlreport"

Steps how to install Cacti on CentOS 5.2 + DirectAdmin

By BXTra |

First of all, I'm not an Linux/DirectAdmin expert. I just played around with them and found the way to do it. I tried to install Cacti on my server but I couldn't find a complete instruction to do it. So, I just gathered all information I found into one place so that it is easier for many others. I hope it can help someone that needs the same thing that I did.

The software I use: