Articles

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

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 secure /tmp and /dev/shm Partition

How to secure /tmp if we didn't partition /tmp when installed CentOS. Also, secure /dev/shm to protect rootkits.

1. Secure /tmp partition
1.1: Backup your fstab file

    cp /etc/fstab /etc/fstab.bak

1.2: Creating tmpMnt partition file (~ 1Gb in size)

    cd /var
    dd if=/dev/zero of=tmpMnt bs=1024 count=1048576

1.3: Format new partition

    mkfs.ext3 -j /var/tmpMnt

It will show

/var/tmpMnt is not a block special device.
Proceed anyway? (y,n)

Just press Y

Drupal 6.19 and 5.23 released

Drupal 6.19 released, fixing security issues

The nineteenth maintenance release of the Drupal 6 series. Only bugfixes have been committed. No security fixes are included in this release. New features are only being added to the forthcoming Drupal 7.0 release.

This release includes the security fixes from Drupal 6.18 which was released alongside Drupal 6.19. No additional security fixes are included.

The complete list of changes committed since Drupal 6.17 are as follows:

Drupal 6.17 released

Drupal 6.17 released, fixing security issues

Drupal 6.17, a maintenance release fixing issues reported through the bug tracking system, is now available for download. There are no security fixes in this release. Upgrading your existing Drupal 6 sites is recommended. For more information about the Drupal 6.x release series, consult the Drupal 6.0 release announcement.

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

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

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

Drupal 6.16 and 5.22 released

Drupal 6.16 and 5.22 released, fixing security issues

More information can be found -> HERE

Drupal 6.16 and 5.22, maintenance releases which fix issues reported through the bug tracking system, as well as security vulnerabilities, are now available for download. Drupal 6.16 also fixes other smaller issues.

Upgrading your existing Drupal 5 and 6 sites is strongly recommended. There are no new features in these releases.

Important update notes

Drupal 6.15 and 5.21 released

Drupal 6.15 and 5.21 released, fixing security issues

More information can be found -> HERE

Drupal 6.15 and 5.21, maintenance releases fixing problems reported using the bug tracking system, as well as critical security vulnerabilities, are now available for download. Both releases fix some other smaller issues as well.

Upgrading your existing Drupal 5 and 6 sites is strongly recommended. There are no new features in these releases.

Important update notes

Drupal 6.14 and 5.20 released

Drupal 6.14 and 5.20 released, fixing security issues

More information can be found -> HERE

Drupal 6.14 and 5.20, maintenance releases fixing problems reported using the bug tracking system, as well as critical security vulnerabilities, are now available for download. Both releases fix some other smaller issues as well.

Upgrading your existing Drupal 5 and 6 sites is strongly recommended. There are no new features in these releases.

Important update notes

Parallels Desktop 4.0.3844 VS VMWare Fusion 2.0.5 on MAC OS X

I just switched to OS X (Leopard) a few weeks ago and I still need to run a few Windows applications that I still couldn’t find anything comparable in MAC OS. Many choices are available for me starting from Bootcamp that I need to reboot every time I want to run Windows applications. Or try either VMWare Fusion or Parallels Desktop to run a virtual machine so that I don’t need to restart computer every time I need to run Windows Application.