I’m going to assume you already have Debian Squeeze installed and running on your Pi.
Open the console (LXTerminal);
Type sudo apt-get update
Let it crunch away…
Type sudo apt-get install nginx
Let it crunch away…
Type sudo service nginx start
Open your Browser go to http://localhost/
If you see the default nginx screen, you’re ready to go!