Spiga

Performing a Command Prompt VMware Server Installation

Performing a Command Prompt VMware Server Installation
The preceding section of this chapter described the VMware Server 2.0 installation process using the graphical wizard. As previously mentioned, the wizard installs all networking options by default. For greater control over this aspect of the installation, it is necessary to resort to installing VMware Server from the command prompt. Before proceeding with the steps in this section, however, it is important to note that the installation process will perform an automatic and unprompted restart of the operating system once the installation is complete. For this reason, it is important to save all work and exit any running applications before beginning a command line based VMware Server installation.
The first step of this process is to unpack the installation image to a temporary location (for example C:\tmp\vmware). This is achieved using the following command line:
VMware-server-2.x.x-xxxxxx.exe /a /s /v TARGETDIR="C:\tmp\vmware" /qn
Once the installation files have been extracted the installation can be performed using the Windows msiexec tool. The syntax for this command is as follows:
msiexec /i "TempPath\VMware Server.msi" [INSTALLDIR="InstallPath"] ADDLOCAL=ALL [REMOVE=feature, feature] [property="value"] /qn
In the above syntax outline, the command line arguments in square brackets are optional and TempPath is the temporary location into which the installation files were extracted in the preceding step (C:\tmp\vmware in the case of this example). If VMware Server is to be installed in a location other than the default (\Program Files\VMware\VMware Server), specify the desired alternate location using the INSTALLDIR= directive.
The optional property="value" directives allow options such as the serial number and whether a desktop shortcut should be created to be passed through to the installer. For example, the following command passes through the serial number and requests a desktop shortcut for access to the VI Web Access interface:
msiexec /i "c:\tmp\vmware\VMware Server.msi" ADDLOCAL=ALL SERIALNUMBER="XXXXX-XXXXX-XXXXX-XXXXX" DESKTOP_SHORTCUT="1" /qn
Of particular importance is the optional REMOVE= directive which is used to define which networking features are to be omitted during the installation process. Options available include Network, DHCP and NAT. If the virtual machines are to have no network access the REMOVE=Network directive should be specified. Similarly, to install VMware Server without the NAT support, but with host only and bridge support, the following command would need to be executed when installing VMware Server:
msiexec /i "c:\tmp\vmware\VMware Server.msi" ADDLOCAL=ALL REMOVE=NAT /qn
This form of installation is also referred to as silent installation. Do not be alarmed, therefore, if nothing appears to be happening once the command is executed. The installation is performed in the background without any user interaction. Once the installation is complete, the installer will automatically restart the computer, at which point VMware Server will be ready for use.
 

0 nhận xét:

Your IP

IP
Blogger Widgets

Copy code, paste your site:

<p><span style="text-align:center; display: block;"><a href="http://win7-vista.blogspot.com/2011/02/get-ip-address-widget-for-your-blogger.html"><img src="http://www.wieistmeineip.de/ip-address/?size=468x60" border="0" width="468" height="60" alt="IP" /></a><br /><small><a href="http://win7-vista.blogspot.com/2011/02/get-ip-address-widget-for-your-blogger.html">Blogger Widgets</a></small></span></p>