Install LAMP

To Aide Memoire below are steps to install LAMP on ubuntu (was done on 7.10 will updated below for 8.04.1 9.04)

Add sudo apt-get in front of below as appropriate

install php5-cgi php5-mysql php5-xcache
install php5 libapache2-mod-php5
install php5-cli mysql-client mysql-server
install apache2
a2enmod rewrite
/etc/init.d/apache2 force-reload
install subversion
install phpmyadmin
install nano


nano may already be packaged in the distro or you can use other text editor

use nano to add
include /etc/phpmyadmin/apache.conf
to end of file /etc/apache2/apache2.conf

Restart Apache
/etc/init.d/apache2 restart

If you are not having enough RAM in your Linux box, read optimization or install LEMP.

You can now proceed to install blogware.

No comments:

Post a Comment