5.0
Table Of Contents
- vFabric Web Server Installation and Configuration
- Table of Contents
- 1. About vFabric Web Server Installation and Configuration
- 2. Overview of vFabric Web Server
- 3. Installing vFabric Web Server
- 4. Creating and Using vFabric Web Server Instances
- 5. Configuring vFabric Web Server Instances
- 6. Additional Documentation
Creating and Using vFabric Web
Server Instances
15
VMware vFabric Cloud Application
Platform 5.0 15
prompt# cd /opt/vmware/vfabric-web-server/myserver/bin
3. Start the instance using the ./httpdctl start command:
prompt# ./httpdctl start
You should see a message as follows:
Starting Apache:
Server started OK
4. To test that the vFabric Web Server instance actually started, navigate to the http://host:port URL in your browser,
where host refers to the host computer (you can use localhost if your browser is on the same computer) and port
refers to the HTTP listen port number you provided when you created the instance. The default value is 80
For example, if you are using the default ports on your local computer, you can use this URL:
http://localhost:80
If the instance started successfully, you should see the Welcome page.
5. To stop the instance immediately, even if there are current connections in use:
prompt# cd /opt/vmware/vfabric-web-server/myserver/bin
prompt$ ./httpdctl stop
To stop the instance gracefully:
prompt$ ./httpdctl gracefulstop
6. To restart a currently running instance:
prompt$ ./httpdctl restart
What to do next
• Complete the procedure in Serve a Sample HTML File from your vFabric Web Server Instance.
• Configure your instance as described in Configuring vFabric Web Server.
Windows: Start and Stop vFabric Web Server Instances
You start, stop, or restart a vFabric Web Server instance on Windows by first installing it as Windows service using the
httpdctl.bat script in the bin directory of the instance directory, and subsequently using the Windows Services console to
start or stop it.
Warning: You always use the start script in the bin of the instance directory, such as c:\vmware\vfabric-web-server
\myserver\bin. Do not use the start script in the httpd-2.2\bin sub-directory of the main installation directory.
Prerequisites
• Complete the appropriate procedure in Create vFabric Web Server Instances.
Procedure
1. Log in to your Windows computer as the Administrator user and start a command window.
Note for Windows: Depending on the Windows version, you may not have the required permissions when you start the
command window, even if you logged in as the Administrator user. If some commands in this procedure fail because of