See FlexDeploy installation instructions for the target application server platform.
WebLogic
Tomcat (Tomcat server installation included)