Follow the steps in the Installation Manual. It also describes how to install the web repository and application on different platforms.