After you've installed the Web and application services packages of Linux, refer to their individual documentation sites for more detailed information.
Apache 2.0 Documentation
Tomcat 4 documentation
MySQL documentation
PHP Hypertext Preprocessor documentation
Perl documentation