Yum up some packages:
yum install php-pear php-devel httpd-devel
Install APC using pear (the pear installer is smarter than the pecl installer):
When the installer asks about APXS, say ‘no’.
pear install pecl/apc
Tell PHP to load APC:
echo extension=apc.so > /etc/php.d/apc.ini
Restart Apache:
/sbin/service httpd graceful
Posted September 14, 2008 by Casey
Categories: Technology. Tags: apc, Centos, documentation, install, linux, php, rhel, system administration. 3 Comments.
Using info from CentOS forums, Sunny Walia and Ryan Boren, here’s how I got memcached running on my Dotster VPS:
Install libevent:
wget http://www.monkey.org/~provos/libevent-1.3e.tar.gz
tar zxvf libevent-1.3e.tar.gz
cd libevent-1.3e
./configure
make
make install
Install memcached
wget http://danga.com:80/memcached/dist/memcached-1.2.5.tar.gz
tar zxvf memcached-1.2.5.tar.gz
cd memcached-1.2.5
./configure
make
make install
We will start the server to use 30 megs of ram (-m 30), listen on ip 127.0.0.1 (-l 127.0.0.1) and run on port 11211 [...]
Posted September 7, 2008 by Casey Bisson
Categories: Technology. Tags: Centos, documentation, install, memcached, red hat, rhel, step by step, vps. Be the first one.
At work I use Red Hat Enterprise Linux, but my personal stuff is served from machines running CentOS. Both distros were just bumped to version 5, bringing with them support for current components of the LAMP stack.
I care because I want Apache 2.2.4, and while it’s pretty easy to get MySQL & PHP 5 on [...]
Posted May 9, 2007 by Casey Bisson
Categories: Technology. Tags: apache 2.2, Centos, centos 5, linux, release. Be the first one.