此内容没有您所选择的语言版本。
2.5.9. Running Enterprise Web Server
To run JBoss Enterprise Web Server, run the following:
- Tomcat (6 or 7, see Procedure 2.24, “Running Tomcat”)
- HTTP server (Procedure 2.25, “Running HTTP”)
Procedure 2.24. Running Tomcat
Important
Both Tomcat 6 and Tomcat 7 can be run in parallel on your system. However, to avoid conflicts each version should use its own port address.
Follow this procedure to start
tomcat
:
- At the shell prompt, become the root user.
- Run the following
start
command with the <VERSION> substituted with the correct Tomcat version (6
or7
):service tomcat<VERSION> start
# service tomcat<VERSION> start
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Go to http://localhost:8080 in your web browser to verify that Tomcat is running. The Apache Software Foundation page appears.
Note
In JBoss Enterprise Web Server installations from the RPM packages, the only supported way of running Tomcat is the running described in this section.
Procedure 2.25. Running HTTP
Follow this procedure to start
httpd
:
- At the shell prompt, become the root user.
- Run the following
start
command:- On Red Hat Enterprise Linux 6 or Red Hat Enterprise Linux 5:
service httpd start
# service httpd start
Copy to Clipboard Copied! Toggle word wrap Toggle overflow