server構築メモ
install
yum install -y mysql-server
yum install -y httpd
yum install -y memcached
yum install -y php
yum install -y php-mbstring php-mysql php-pecl-apc php-pecl-memcache
yum install -y php-gd
yum install mod_perl
yum install postfix
yum install perl-CPAN
yum install perl-YAML
cpan HTML::TreeBuilder
cpan CGI-Lite
cpan CGI
cpan Cache::Memcached::Fast
memcached同期関連
yum install -y libevent-devel c++
cd /usr/local/src ; wget http://downloads.sourceforge.net/repcached/memcached-1.2.8-repcached-2.2.tar.gz
tar zxvfp memcached-1.2.8-repcached-2.2.tar.gz ; cd memcached-1.2.8-repcached-2.2;
cp /usr/bin/memcached /usr/bin/memcached.org
./configure --enable-replication
make ; make install