Virtualmin on Debian 5 + Eaccelerator + ZendOptimizer

Install
##############
hostname -f

wget http://software.virtualmin.com/gpl/scripts/install.sh
chmod +x install.sh
./install.sh

goto
https://192.168.0.3:10000/
192.168.0.3 — WEBSERVER IP
………
Set MySQL password     e4657dgfjhe678

apt-get install php5-mysql php5-curl php5-gd

http://www.howtoforge.com/eaccelerator_php5_debian_etch
php -v
PHP 5.2.6-1+lenny9 with Suhosin-Patch 0.9.6.2 (cli) (built: Aug  4 2010 03:25:57)

apt-get install build-essential php5-dev
cd /tmp
wget http://bart.eaccelerator.net/source/0.9.6.1/eaccelerator-0.9.6.1.tar.bz2
tar xvfj eaccelerator-*
cd eaccelerator-*
phpize
./configure
make
make install

nano /etc/php5/conf.d/eaccelerator.ini
########
extension=»eaccelerator.so»
eaccelerator.shm_size=»16″
eaccelerator.cache_dir=»/var/cache/eaccelerator»
eaccelerator.enable=»1″
eaccelerator.optimizer=»1″
eaccelerator.check_mtime=»1″
eaccelerator.debug=»0″
eaccelerator.filter=»»
eaccelerator.shm_max=»0″
eaccelerator.shm_ttl=»0″
eaccelerator.shm_prune_period=»0″
eaccelerator.shm_only=»0″
eaccelerator.compress=»1″
eaccelerator.compress_level=»9″
#########

mkdir -p /var/cache/eaccelerator
chmod 0777 /var/cache/eaccelerator
/etc/init.d/apache2 restart

#########################################
ZEND Enc
#########################################
cd /tmp
wget http://downloads.zend.com/optimizer/3.3.9/ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz
tar zvfx ZendOptimizer*.tar.gz

cp ZendOptimizer-3.3.9-linux-glibc23-i386/data/5_2_x_comp/ZendOptimizer.so /usr/lib/php5/
nano /etc/php5/conf.d/zend.ini
####
zend_extension=/usr/lib/php5/ZendOptimizer.so
####
/etc/init.d/apache2 restart
php -m
php -i | grep Zend

кто сидит на каких портах
netstat -tap

note
********************
/usr/share/webmin/changepass.pl /etc/webmin root XXXX
— пароль рут сменить
##############

Добавить комментарий

Ваш e-mail не будет опубликован.