esto me lo copié de acá: http://komunitasweb.com/2009/02/cakephp-tutorial-installing-cakephp-on-ubuntu/
February 10th, 2009
Yes, this is another cakephp on ubuntu. Most of them were not detail enough for beginners. So here I am and here is my version of installing cakephp on ubuntu.
Install Apache Server, MySQL, PHP
sudo apt-get install apache2 mysql-server php5
Download CakePHP 1.2
Go to http://cakephp.org and download latest cakephp. I downloaded cake_126.96.36.19904.tar.bz2
Copy and extract to web root
Open your terminal where you put cakephp you just downloaded.
sudo cp cake_188.8.131.5204.tar.bz2 /var/www/ cd /var/www sudo tar -xvf cake_184.108.40.20604.tar.bz2 sudo mv cake_220.127.116.1104 cakephp
Change tmp folder permisssion
sudo chmod -R 777 cakephp/app/tmp
sudo a2enmod rewrite
Open file /etc/apache2/sites-enabled/000-default and change AllowOverride None to AllowOverride All
sudo vim /etc/apache2/sites-enabled/000-default
<Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory>
<Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>
sudo /etc/init.d/apache2 restart
Open your browser and type address http://localhost/cakephp/ and you’ll see CakePHP message
If you can see CakePHP message in colour, then you have cakephp running in your hand. Congratulation.