When ever I am deploying a Symfony 2.0 project onto a production site or even just a new machine I always find it a real pain to remember how to set it up. It is not so much Symfony its dependancies so I am putting the instructions down for a quick reference.
Fist place to go is the Symfony documentation for installation.
Here you will find the download link along with the initial setup instructions for a project. The vendors config requires git to be installed but it is well worth it for ease of updating. Follow the rest of the instructions to complete your Symfony 2.0 setup.
sudo apt-get update sudo apt-get install git-core
sudo apt-get install php-apc
On older releases this can be a little more difficult installation using pecl is further explained here.
You should also note that you need to set the apc.shm_size, I set mine to 30M.
sudo apt-get install php5-intl
Update your php.ini file to increase the memory available to your php scripts,
memory_size = 32M;
I will update this soon to include a local installation of Mac OSX when I first set up my machine I had to build APC and Intl and install the extensions manually.