You create a new vFabric Web Server instance with the
newserver command. The command creates a new directory that
contains the instance-specific configuration files.
newserver command format depends on your operating
newserver.pl : Perl script for Linux operating
newserver.vbs: VBScript file for Windows operation
The command-line options for the two flavors are exactly the same. Where appropriate, the following procedure calls out the different usage depending on whether you are on Linux or Windows.
Complete the appropriate procedure in Installing vFabric Web Server.
Log on to your computer as
root (Linux) or the
Administrator user (Windows) and open a terminal (Linux) or command
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
a lack of permissions, start a new command window and use the
runas command to execute commands from the new window
instead of the original one:
prompt> runas /user:administrator "cmd.exe /k"
Change to the directory in which you installed vFabric Web Server. For example, on Linux:
prompt# cd /opt/vmware/vfabric-web-server
newserver command to create the new
instance; the command prompts you for information about the new
The only required command option is
which you specify the name of your vFabric Web Server instance. On
Linux, use the Perl flavor; for example:
prompt# ./newserver.pl --server=myserver
On Windows, use the
cscript command to invoke the
prompt> cscript newserver.vbs --server=myserver
In both preceding examples, the way you specify the options is
exactly the same. In the examples, the new instance is called
myserver and its server directory is
For additional options, see newserver Prompts and Command Reference.
Enter values for the
newserver prompts as the
command requests information about your new instance. You can use the
default values for many of the prompts, or even leave them blank.
newserver Prompts and Command Reference provides additional information about the prompts.
Start the vFabric Web Server instance and verify that it is working correctly. See Linux: Start and Stop vFabric Web Server Instances and Windows: Start and Stop vFabric Web Server Instances.
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.