Instant Debian Lamp
Table of Contents
Instant Debian Linux apache2-mpm-worker suexec php5 fcgid mysql
apt-get update
apt-get upgrade
apt-get install apache2-mpm-worker apache2-suexec libapache2-mod-fcgid php5-cgi php5-mysql php5-sqlite php5-curl mysql-server phpmyadmin gdebi-core
wget http://http.us.debian.org/debian/pool/main/a/apf-firewall/apf-firewall_9.7+rev1-1_all.deb
gdebi apf-firewall_9.7+rev1-1_all.deb
/etc/init.d/apf-firewall start
/usr/bin/mysql_secure_installation
Instant Debian Linux Apache2 Mysql5 PHP5
apt-get update
apt-get upgrade
wget http://www.rfxn.com/downloads/apf-current.tar.gz
tar zxvf apf-current.tar.gz
cd apf-x.x-x
./install.sh
vi /etc/apf/conf.apf
# adjust your settings, after you tested ok, remove the debug mode.
/etc/init.d/apf start
apt-get install apache2 libapache2-mod-php5 php5 php5-mysql php5-sqlite php5-curl phpmyadmin postfix
/usr/bin/mysql_secure_installation
done!
nb.
- you need postfix/sendmail/exim to be able to use phpmail
refs:
- http://wiki.debian.org/LaMp
- http://www.debian-administration.org/articles/357
- http://www.rfxn.com/projects/advanced-policy-firewall/
- http://kb.parallels.com/en/875
- http://www.easywebdns.com/tutorials/Linux/php/APC_ON_DEBIAN_LENNY
- http://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-debian-lenny
- http://www.linode.com/forums/viewtopic.php?p=19017
- http://blog.stuartherbert.com/php/2007/12/18/using-suexec-to-secure-a-shared-server/


















Post preview:
Close preview