How can Users make there own sites

I want to make a site that allows users to make there own sites.

how can i make users allow to register a site, like https://en.wordpress.com/signup/ or http://edublogs.org/signup/
Do i have install a plugin to do this ?

Its a school project, and i am searching almost a day for a solution:S