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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: