Template:Installation/Debian/Common
Install Nodejs
Follow the instructions for wheezy here.
Install the database
Skip this step if you already have one.
See the | mysql = MySql | postgres = PostgreSql}} Debian wiki.
Creating a user for Diaspora
As root run:
adduser diaspora
su diaspora
cd ~
The rest of the guide should happen under this user!