You need to know a markup language to create the web pages and a scripting language to make them interact with people using the site. The languages you choose must be supported by the server it runs on. It will help if you have the same server system on a local machine to test your scripts.
Choose your tools, get books or find web sites with extensive information on how to use them and wade in. If you're new at it, don't expect quick and easy results.