[code]
apt-get install python-software-properties -y #可选
sudo apt-get install build-essential #可选
add-apt-repository ppa:nginx/stable
add-apt-repository ppa:zanfur/php5.5
apt-get update
sudo apt-get install nginx
sudo apt-get install php5
[/code]