You're about to change the internet. Let's get you setup, shall we?
Look at config/diaspora.yml.example
and config/database.yml.example
for help.
Diaspora is free and open source. You can run it on your own.
Your data is yours. Diaspora is built around privacy.