Chapter 3: Tomcat Installation You can find this
Chapter 3: Tomcat Installation You can find this entry by searching for the string port= 8080 . Changing this to another number (higher than 1024 in Linux) will change the Tomcat port number. Changing it to 80 will enable you to connect to Tomcat using the URL http://localhost, providing that the Tomcat server is started with root permissions. The reason for running Tomcat as root is that on Unix (and Linux) systems, non-root processes cannot bind to ports lower than 1024. However, running Tomcat as the super user is a very bad idea, because any badly written (from a security perspective) Web application can compromise your system. If you want Tomcat to listen on port 80, there are a number of other, more secure alternatives to running it as root: . Run Apache Web server on port 80 and configure Apache to send requests to Tomcat. (Chapter 11 discusses this in more detail.) However, this solution just pushes the problem over to Apache because now Apache has to deal with how to bind to port 80 without running as root. . Run Tomcat on a non-privileged port, such as 8080 and use a port redirector such as rinetd to redirect messages coming to port 80 to port 8080. . Run Tomcat on a non-privileged port, such as 8080 and configure the firewall to redirect external requests to port 80 to the internal port 8080. Because production Web sites almost always have a firewall in deployment, this is often the most commonly used procedure. If you have any problems installing, refer to the Troubleshooting and Tips section at the end of this chapter. Building Tomcat from Source While downloading Tomcat from the Apache Web site, you can see that both source codes as well as binary versions of Tomcat are available. This section explains how (and why) you would build and install Tomcat from source. Do You Need to Build Tomcat from the Source Code? The short answer is no. If you are an administrator trying to install a production-ready release of Tomcat, you almost never would need to download and build a source release of Tomcat. If this is the case, feel free to skip this section and move on to the next major section in the chapter, The Tomcat Installation Directory. You would want to download a source release if you are developer who wants to experiment with Tomcat, perhaps even extend it. Or, if you have a bug in your particular Tomcat version, and you want to download the fix for it and patch it in, without waiting for the next official release. In the second case, you would be downloading the patch from the Tomcat Subversion repository. Downloading the Source Release The simplest way to get a source release is to download a labeled release from the Tomcat download site (http://tomcat.apache.org). The usual caveat of verifying the release (MD5 checksum, PGP signature) applies in this case, too. These releases are usually labeled as apache-tomcat-6.x.y.tar.gzor apache-tomcat.6.x.y.zip.
If you looking for unlimited one inclusive web hosting plan please check unlimited web hosting website.