vmware server 2.0 on Ubuntu Linux

Linux

vmware server 2.0をUbuntu 8.10へ入れてみた。

インストール手順

シリアルキー以外をコピペ。
ほとんどデフォルト値でEnterを押していく。インストール先や、ブリッジするNICの設定などを適宜変更していく。

[matsu@matsu-ubuntu ~/archive]% tar zxvf VMware-server-2.0.0-122956.i386.tar.gz
[matsu@matsu-ubuntu ~/archive]% cd vmware-server-distrib
[matsu@matsu-ubuntu ~/archive/vmware-server-distrib]% sudo ./vmware-install.pl
[sudo] password for matsu:
Creating a new VMware Server installer database using the tar4 format.

Installing VMware Server.

In which directory do you want to install the binary files?
[/usr/bin] /usr/local/bin/

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]

What is the directory that contains the init scripts?
[/etc/init.d]

In which directory do you want to install the daemon files?
[/usr/local/sbin]

In which directory do you want to install the library files?
[/usr/local/lib/vmware]

The path "/usr/local/lib/vmware" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the manual files?
[/usr/local/share/man]

In which directory do you want to install the documentation files?
[/usr/local/doc/vmware]

The path "/usr/local/doc/vmware" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]

The installation of VMware Server 2.0.0 build-122956 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/local/bin/vmware-uninstall.pl".

Before running VMware Server for the first time, you need to configure it by
invoking the following command: "/usr/local/bin/vmware-config.pl". Do you want
this program to invoke the command for you now? [yes]

Making sure services for VMware Server are stopped.

Stopping VMware autostart virtual machines:
   Virtual machines                                                   failed
Stopping VMware management services:
   VMware Virtual Infrastructure Web Access
   VMware Server Host Agent                                           failed
Stopping VMware services:
   VMware Authentication Daemon                                        done
   Virtual machine monitor                                             done

You must read and accept the End User License Agreement to continue.
Press enter to display it.

NOTICE:  BY DOWNLOADING AND INSTALLING, COPYING OR OTHERWISE USING THE
SOFTWARE, YOU AGREE TO BE BOUND BY THE TERMS OF THIS VMWARE MASTER END
USER LICENSE AGREEMENT ("EULA").  IF YOU DO NOT AGREE TO THE TERMS OF
THIS EULA, YOU MAY NOT DOWNLOAD, INSTALL, COPY OR USE THE SOFTWARE, AND
YOU MAY RETURN THE UNUSED SOFTWARE TO THE VENDOR FROM WHICH YOU ACQUIRED
IT WITHIN THIRTY (30) DAYS AND REQUEST A REFUND OF THE LICENSE FEE, IF
ANY, ALREADY PAID UPON SHOWING PROOF OF PAYMENT.  "YOU" MEANS THE
NATURAL PERSON OR THE ENTITY THAT IS AGREEING TO BE BOUND BY THIS EULA,
THEIR EMPLOYEES AND THIRD PARTY CONTRACTORS THAT PROVIDE SERVICES TO
YOU.  YOU SHALL BE LIABLE FOR ANY FAILURE BY SUCH EMPLOYEES AND THIRD
PARTY CONTRACTORS TO COMPLY WITH THE TERMS OF THIS AGREEMENT.

1.      DEFINITIONS

1.1     "Designated Administrative Access" means that access to the
standard user interfaces of a given instance of the Software
(designated in this section) that you may grant to a designated
third party (a) for which you have provided advance written notice
to VMware that you are providing outsourced services and (b) for
whose dedicated benefit you have licensed such instance of the
Software.  Designated Administrative Access is applicable only
where you are 1) an IT outsourcing company that is providing
outsourced IT services to a client company and 2) applicable only
to the following Software: ESX Server, VMware Server and
VirtualCenter.


1.2     "GPL Software" means GPL software licensed to you under the GNU
General Public License as published by the Free Software Foundation
(GPL).  A copy of the GPL is included on the media on which you
received the Software or included in the files you downloaded, if
you acquired the Software by electronic download.

1.3     "Guest Operating Systems" means instances of third-party operating
systems licensed by you and installed in a Virtual Machine and run
using the Software.

1.4     "Licensed Additional Module" means additional modules that may be
provided with and/or used in conjunction with the Software for
which you have paid the applicable license fee and accepted any
applicable additional license terms.

1.5     "Open Source Software" means various open source software
components licensed under the terms of applicable open source
license agreements included in the materials relating to such
software.  Open Source Software is composed of individual software
components, each of which has its own copyright and its own
applicable license conditions.  The Open Source Software licenses
can be found in the open_source_licenses.txt file, other materials
accompanying the software package, the documentation or
corresponding source files available at

http://www.vmware.com/download/open_source.html.
1.6 "Processor" means a single, physical chip that houses no more than four (4) processor cores. 1.7 "Sample Programs" means sample client management programs or scripts that may be distributed with the Software. 1.8 "Server" means a single physical computer of a type that meets the specifications as set forth in the applicable product documentation posted at http://www.vmware.com/support/pubs/. Multiple computers that share processing power or operate in a networked configuration as a single logical computer, such as a "server farm" or similar arrangement, constitute multiple Servers for the purpose of this EULA. 1.9 "Software" means software products that are licensed to you under this EULA, including, but not limited to, any related components purchased or provided with the Software, application programming interfaces, associated media, printed materials, online or electronic documentation, and any updates and maintenance releases thereto. 1.10 "Software License Key" means, if applicable, a serial number issued to you by VMware to activate and use the Software. A separate, additional Software License Key may be required to activate and use each Licensed Additional Module. 1.11 "VMware Tools" means a suite of utilities and drivers that may enhance the performance and functionality of your Guest Operating System. VMware Tools may include some or all of the following, depending on your Guest Operating System: an SVGA driver, a mouse driver, the VMware Tools control panel and support for features such as shared folders, drag and drop in Windows guests, shrinking virtual disks, time synchronization with the host, VMware Tools scripts, and connection and disconnection of devices while the virtual machine is running. 1.12 "Virtual Machine" means an instance of a Guest Operating System and any application programs installed thereon, running on a computing device on which the Software is installed, or suspended to disk or any other storage media accessible by the computing device. 2. EVALUATION LICENSES 2.1 General. If available, the Software and each Licensed Additional Module may be activated with no-cost evaluation Software License Key(s). You acknowledge that Evaluation Software License Keys have an expiration date ("Expiration Date") and that VMware is not obligated to permit further use of the Software. 2.2 Evaluation License. If you activate the Software or any Licensed Additional Module with an evaluation Software License Key ("Evaluation Product") you may use the Evaluation Product until the Expiration Date only to evaluate the suitability of the Evaluation Product for licensing on a for-fee basis. You may acquire evaluation Software License Key(s) for Licensed Additional Modules. In such case, the Licensed Additional Modules are licensed to you subject to the terms of this "EVALUATION LICENSES" section. 2.3 Evaluation Product Warranty Disclaimer. During the use of the Evaluation Product, the limited 90-day warranty referenced in Section 7.1 below is not applicable to you. THE EVALUATION PRODUCT IS PROVIDED TO YOU "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE. VMWARE AND ITS LICENSORS BEAR NO LIABILITY FOR ANY DAMAGES RESULTING FROM USE (OR ATTEMPTED USE) OF THE EVALUATION PRODUCT THROUGH AND AFTER THE EXPIRATION DATE. 2.4 No Support. VMware has no duty to provide support to you during your use of the Evaluation Product. 3. GRANT AND USE RIGHTS FOR SOFTWARE. 3.1 License. The Software is licensed, not sold. Subject to the terms of this EULA, VMware hereby grants you a non-exclusive, non- transferable license, without rights to sublicense, to use the object code of the Software for the purpose as set forth in the applicable documentation for the Software and to the extent permitted by your payment of applicable license fees under a VMware approved licensing model and/or your Software License Key subject to the software product specific terms specified in this EULA. Depending upon the model utilized to compute the applicable license fees paid by you to use the Software (whether per Processor, per Virtual Machine, per user, or any other VMware approved licensing model), an applicable Software License Key may limit your usage of the Software accordingly. You may use the documentation accompanying the Software in connection with permitted uses of the Software. If the Software is a version that you have converted or exchanged from a valid licensed prior version, you agree that by using the Software you will no longer use the prior version. VMware reserves the right to require the certification of the destruction of such previous version of the Software. 3.2 License Limitations. You may not copy the Software except for a reasonable number of machine-readable copies of the Software for backup or archival purposes and except as expressly permitted in this EULA. You may not remove any titles, trademarks or trade names, copyright notices, legends, or other proprietary markings on the Software. You are not granted any rights to any trademarks or service marks of VMware. VMware retains all rights not expressly granted to you in this EULA. 3.3 Restrictions. You may not (i) sell, lease, license, sublicense, distribute or otherwise transfer in whole or in part the Software or the Software License Key to another party; (ii) provide, disclose, divulge or make available to, or permit use of the Software in whole or in part by, any third party (except Designated Administrative Access) without VMware's prior written consent; or (iii) modify or create derivative works based upon the Software. Except to the extent expressly permitted by applicable law, and to the extent that VMware is not permitted by that applicable law to exclude or limit the following rights, you may not decompile, disassemble, reverse engineer, or otherwise attempt to derive source code from the Software, in whole or in part. You may use the Software to conduct internal performance testing and benchmarking studies, the results of which you (and not unauthorized third parties) may publish or publicly disseminate; provided that VMware has reviewed and approved of the methodology, assumptions and other parameters of the study. Please contact VMware at [email protected] to request such review. 3.4 GPL Software. You can redistribute and/or modify the GPL Software under the terms of the GPL. You may obtain a copy of the source code corresponding to the binaries for the GPL Software (the "GPL Source Files") by downloading the GPL Source Files from VMware's Web site at http://www.vmware.com/download/open_source.html, or by sending a request, with your name and address, to Vmware at the address specified under the heading "Contact Information" below, in which case Vmware will mail a copy of the GPL Source Files to you on a CD or equivalent physical medium. This offer to obtain a copy of the GPL Source Files is valid for three years from the date you acquired this Software product. 3.5 VMware Tools. You may distribute the VMware Tools to any third party provided that (i) you do not modify the VMware Tools; (ii) you distribute the VMware Tools in object code format only and solely in conjunction with, and as part of, the Virtual Machine you create with the Software; (iii) you do not use VMware's name, logo or trademarks to market the Virtual Machine you create with the Software and (iv) you agree to indemnify, hold harmless, and defend VMware from and against any claims or lawsuits, including attorneys' fees, that arise or result from the use or distribution of the Virtual Machine you create. Notwithstanding the foregoing, you may refer to VMware names, logos or trademarks to indicate that the Virtual Machine you create with the Software are compatible with or designed for use with the Software. 3.6 Licenses required for third-party software. The Software enables you to run multiple instances of third-party guest operating systems and application programs. You are responsible for obtaining any licenses necessary to operate any such third-party software, including Guest Operating Systems. 3.7 Sample Programs. The Software may include Sample Programs. You may use and distribute Sample Programs under the terms set forth in the applicable Sample Programs files. VMware does not provide support services for Sample Programs. 3.8 VMware License Programs. VMware makes available VMware License programs (for e.g., VMware Academic License). If you have received the Software pursuant to these VMware License programs, the then- current terms and conditions posted on
http://www.vmware.com/download/eula/vmtn.html
for that program shall apply for use of the products under such VMware License programs. 3.9 Audit Rights. You will maintain accurate records as to your use of the Software as authorized by this EULA, for at least two (2) years from the last day on which support and subscription services ("Services") expired for the applicable Software. VMware, or persons designated by VMware, will, at any time during the period when you are obliged to maintain such records, be entitled to inspect such records and your computing devices, in order to verify that the Software is used by you in accordance with the terms of this EULA and that you have paid the applicable license fees and Services fees for the Software; provided that VMware may conduct no more than one (1) audit in any twelve (12) month period. You shall promptly pay to VMware any underpayments revealed by any such audit. Any such audit will be performed at VMware's expense during normal business hours, provided that you shall promptly reimburse VMware for the cost of such audit and any applicable fees if such audit reveals an underpayment by you of more than five percent (5%) of the amounts payable by you to VMware for the period audited. 4. TITLE. VMware retains all right, title, and interest in and to the Software and the Software License Key and in all related copyrights, trade secrets, patents, trademarks, and any other intellectual and industrial property and proprietary rights, including registrations, applications, renewals, and extensions of such rights. 5. SUPPORT AND SUBSCRIPTION SERVICES NOT INCLUDED VMware will not provide any support services under this EULA. This EULA does not give you any rights to any updates or upgrades to the Software or to any extensions or enhancements to the Software developed by VMware at any time in the future. VMware may offer support and subscription services separately. If you have purchased VMware support and subscription services with the Software, these services are provided to you under the Support Contract Terms and Conditions posted on VMware's Web site at
VMware Support Offerings & Services
VMware is here to help customers find the correct level of support from developer assistance to a comprehensive customer...
and by accepting the terms of this EULA you are accepting these Support Contract Terms and Conditions. Any supplemental software code or related materials that VMware provides to you as part of any support and subscription services are to be considered part of the Software and are subject to the terms and conditions of this EULA. VMware may use any technical information you provide to VMware for any VMware business purposes without restriction, including for product support and development. VMware will not use information in a form that personally identifies you. 6. TERMINATION 6.1 Termination. VMware may terminate this EULA immediately and without notice if you fail to comply with any term of this EULA. 6.2 Effect of Termination. In the event of termination, you must destroy all copies of the Software and Software License Key. In addition you must remove all copies of the Software, including all backup copies, from the Server and all computers and terminals on which it is installed. From time to time, VMware may change the terms of this EULA. VMware will notify you of such change. Your continued use of the Software will indicate your agreement to the change. 7. LIMITED WARRANTY AND LIMITATION OF LIABILITY 7.1 Limited Warranty. VMware warrants that the media, if any, on which the Software is delivered will be free of defects and that the Software will substantially conform to the description contained in the applicable end user documentation with respect to the particular Software licensed under this EULA in each case for a period of 90 days after the date of shipment of the Software License Key to you ("Warranty Period"). If during the Warranty Period the media is defective and the version of that Software is still commercially available, your sole remedy will be that VMware shall, at its option, repair or replace the defective media returned to VMware within the Warranty Period. If you are returning a defective media, please email VMware at [email protected] to request a Return Authorization number (RMA) and further instructions. If during the Warranty Period the Software does not substantially conform to the description contained in the applicable end user documentation, your sole remedy will be that VMware shall, at it option, correct the defects in the Software or refund the license fees you paid, if any, related to the Software provided that (a) the Software has been properly installed and used at all times and in accordance with the instructions in the applicable end user documentation; (b) no modification, alteration or addition has been made to the Software product by persons other than VMware or VMware's authorized representative; and (c) VMware receives written notice of the non- conformity within ninety (90) days following shipment. EXCEPT FOR THE PRECEDING EXPRESS LIMITED WARRANTY, TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE MANDATORY LAW, VMWARE AND ITS LICENSORS PROVIDE THE SOFTWARE WITHOUT ANY WARRANTIES OF ANY KIND, EXPRESS, IMPLIED, STATUTORY, OR IN ANY OTHER PROVISION OF THIS EULA OR COMMUNICATION WITH YOU, AND VMWARE AND ITS LICENSORS SPECIFICALLY DISCLAIM ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. 7.2 LIMITATION OF LIABILITY. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE MANDATORY LAW, IN NO EVENT WILL VMWARE AND ITS LICENSORS BE LIABLE FOR ANY LOST PROFITS OR BUSINESS OPPORTUNITIES, LOSS OF USE, BUSINESS INTERRUPTION, LOSS OF DATA, OR ANY OTHER INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES UNDER ANY THEORY OF LIABILITY, WHETHER BASED IN CONTRACT, TORT, NEGLIGENCE, PRODUCT LIABILITY, OR OTHERWISE. BECAUSE SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, THE PRECEDING LIMITATION MAY NOT APPLY TO YOU. VMWARE AND ITS LICENSORS' LIABILITY UNDER THIS EULA WILL NOT, IN ANY EVENT, EXCEED THE LICENSE FEES, IF ANY, PAID BY YOU FOR THE SOFTWARE LICENSED TO YOU UNDER THIS EULA. THE FOREGOING LIMITATIONS SHALL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, REGARDLESS OF WHETHER VMWARE OR ITS LICENSORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES AND REGARDLESS OF WHETHER ANY REMEDY FAILS OF ITS ESSENTIAL PURPOSE. 8. GENERAL 8.1 Entire Agreement. This Agreement sets forth VMware's entire liability and your exclusive remedy with respect to the Software and supersedes the terms of any purchase orders and any other communications or advertising with respect to the Software. You acknowledge that this Agreement is a complete statement of the agreement between you and VMware with respect to the Software, and that there are no other prior or contemporaneous understandings, promises, representations, or descriptions with respect to the Software. 8.2 Headings. Headings under this EULA are intended only for convenience and shall not affect the interpretation of this EULA. 8.3 Waiver and Modification. No failure of either party to exercise or enforce any of its rights under this EULA will act as a waiver of those rights. This EULA may only be modified, or any rights under it waived, by a written document executed by the party against which it is asserted. 8.4 Severability. If any provision of this EULA is found illegal or unenforceable, it will be enforced to the maximum extent permissible, and the legality and enforceability of the other provisions of this EULA will not be affected. 8.5 Governing Law. This EULA will be governed by California law and the United States of America, without regard to its choice of law principles. The United Nations Convention for the International Sale of Goods shall not apply. 8.6 Government Restrictions. You may not export or re-export the Soft- ware except in compliance with the United States Export Administration Act and the related rules and regulations and similar non-U.S. government restrictions, if applicable. The Software and accompanying documentation are deemed to be "commercial computer software" and "commercial computer software documentation," respectively, pursuant to DFAR Section 227.7202 and FAR Section 12.212(b), as applicable. Any use, modification, reproduction, release, performing, displaying, or disclosing of the Software by the U.S. Government shall be governed solely by the terms of this EULA. 8.7 Contact Information. If you have any questions about this EULA, or if you want to contact VMware for any reason, please direct all correspondence to: VMware, Inc., 3401 Hillview Avenue, Palo Alto, CA 94304, United States of America or email [email protected]. 8.8 Other. VMware and VMTN are trademarks and/or registered trademarks of VMware, Inc. in the United States and/or various jurisdictions. 9. SOFTWARE PRODUCT SPECIFIC TERMS AND CONDITIONS In addition to the above, the following Software products shall also be subject to the following terms and conditions set forth below. In the event of any conflict between the following product-specific terms and conditions and the preceding sections, the product-specific terms and conditions shall control. 9.1 VMware Server: (a) Additional Definitions: "Redistributable Components" means the Programming API library that may be provided in conjunction with the Software and licensed under the Redistributable Components product specific terms and conditions. "VirtualCenter Server Software" is a proprietary component of the Software which includes, without limitation, the management agent software that is installed on each managed Server and a proprietary Web Service Interface. "VMware Virtual Infrastructure Client Software" is a proprietary client component of the Software that provides the user interface and enables management of the Software. "VMware WebAccess" is a proprietary component that provides console access to and management of Virtual Machines created with the Software. "Web Service Interface" means a programmatic interface to perform management operations on Servers that are activated for management by the VirtualCenter Server Software through software programs written by you or a third party. (b) Additional License Terms: VMware grants you a nonexclusive, nontransferable license, without rights to sublicense, to (i) install or have installed a single instance of the Software and each Licensed Additional Module on a single Server, unless permitted by VMware to have multiple instances on a single Server or to have multiple instances on multiple Servers; (ii) use the Software and each Licensed Additional Module solely for information processing and computing purposes, including the hosting of computer application- based services from a Virtual Machine and provision of such services via an internal or external network, provided such services may not consist of services to a third party that provide primarily computing or processing power (such as utility computing or grid computing) or any computer application-based service that is traded, rented, leased or sold on a Virtual Machine basis; and (iii) use and reproduce the VMware Virtual Infrastructure Client Software or VMware WebAccess (in object code form only) for the purposes of installation and operation on an unlimited number of your own internal computers or terminals solely for the purpose of accessing the Server on which the Software is installed; (iv) internally use and reproduce the Redistributable Components to create programs that interface with the Redistributable Components to manage Virtual Machines ("Your Management Programs"); and (v) internally use Your Management Programs solely for the purpose of managing Virtual Machines operated on VMware software products installed on your own internal Servers and computers. Subject to the above, each copy of the Software may not be used by any other person, whether or not such person is employed by or otherwise associated with your entity. Distributing the Software. VMware Server is intended for your personal non-commercial use only. If you are interested in distributing the Software for internal or external use, promotion, review or as part of a solution, please apply now at http://www.vmware.com/go/distribution. Do you accept? (yes/no) yes Thank you. None of the pre-built vmmon modules for VMware Server is suitable for your running kernel. Do you want this program to try to build the vmmon module for your system (you need to have a C compiler installed on your system)? [yes] Using compiler "/usr/bin/gcc". Use environment variable CC to override. What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.6.27-11-generic/build/include] Extracting the sources of the vmmon module. Building the vmmon module. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config0/vmmon-only' make -C /lib/modules/2.6.27-11-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic' CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o CC [M] /tmp/vmware-config0/vmmon-only/linux/driverLog.o CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o CC [M] /tmp/vmware-config0/vmmon-only/common/comport.o CC [M] /tmp/vmware-config0/vmmon-only/common/cpuid.o CC [M] /tmp/vmware-config0/vmmon-only/common/hashFunc.o CC [M] /tmp/vmware-config0/vmmon-only/common/memtrack.o CC [M] /tmp/vmware-config0/vmmon-only/common/phystrack.o CC [M] /tmp/vmware-config0/vmmon-only/common/task.o CC [M] /tmp/vmware-config0/vmmon-only/common/vmx86.o CC [M] /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o LD [M] /tmp/vmware-config0/vmmon-only/vmmon.o Building modules, stage 2. MODPOST 1 modules CC /tmp/vmware-config0/vmmon-only/vmmon.mod.o LD [M] /tmp/vmware-config0/vmmon-only/vmmon.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic' cp -f vmmon.ko ./../vmmon.o make: Leaving directory `/tmp/vmware-config0/vmmon-only' The vmmon module loads perfectly into the running kernel. None of the pre-built vmci modules for VMware Server is suitable for your running kernel. Do you want this program to try to build the vmci module for your system (you need to have a C compiler installed on your system)? [yes] Extracting the sources of the vmci module. Building the vmci module. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config0/vmci-only' make -C /lib/modules/2.6.27-11-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic' CC [M] /tmp/vmware-config0/vmci-only/linux/driver.o CC [M] /tmp/vmware-config0/vmci-only/linux/driverLog.o CC [M] /tmp/vmware-config0/vmci-only/linux/vmciKernelIf.o CC [M] /tmp/vmware-config0/vmci-only/common/vmciContext.o CC [M] /tmp/vmware-config0/vmci-only/common/vmciDatagram.o CC [M] /tmp/vmware-config0/vmci-only/common/vmciDriver.o CC [M] /tmp/vmware-config0/vmci-only/common/vmciDs.o CC [M] /tmp/vmware-config0/vmci-only/common/vmciEvent.o CC [M] /tmp/vmware-config0/vmci-only/common/vmciGroup.o CC [M] /tmp/vmware-config0/vmci-only/common/vmciHashtable.o CC [M] /tmp/vmware-config0/vmci-only/common/vmciProcess.o CC [M] /tmp/vmware-config0/vmci-only/common/vmciQueuePair.o CC [M] /tmp/vmware-config0/vmci-only/common/vmciResource.o LD [M] /tmp/vmware-config0/vmci-only/vmci.o Building modules, stage 2. MODPOST 1 modules CC /tmp/vmware-config0/vmci-only/vmci.mod.o LD [M] /tmp/vmware-config0/vmci-only/vmci.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic' cp -f vmci.ko ./../vmci.o make: Leaving directory `/tmp/vmware-config0/vmci-only' The vmci module loads perfectly into the running kernel. None of the pre-built vsock modules for VMware Server is suitable for your running kernel. Do you want this program to try to build the vsock module for your system (you need to have a C compiler installed on your system)? [yes] Extracting the sources of the vsock module. Building the vsock module. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config0/vsock-only' make -C /lib/modules/2.6.27-11-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic' CC [M] /tmp/vmware-config0/vsock-only/linux/af_vsock.o CC [M] /tmp/vmware-config0/vsock-only/linux/driverLog.o CC [M] /tmp/vmware-config0/vsock-only/linux/util.o /tmp/vmware-config0/vsock-only/linux/util.c: In function ‘VSockVmciLogPkt’: /tmp/vmware-config0/vsock-only/linux/util.c:157: warning: format not a string literal and no format arguments CC [M] /tmp/vmware-config0/vsock-only/linux/vsockAddr.o LD [M] /tmp/vmware-config0/vsock-only/vsock.o Building modules, stage 2. MODPOST 1 modules CC /tmp/vmware-config0/vmmon-only/vmmon.mod.o LD [M] /tmp/vmware-config0/vmmon-only/vmmon.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic' cp -f vmmon.ko ./../vmmon.o make: Leaving directory `/tmp/vmware-config0/vmmon-only' The vmmon module loads perfectly into the running kernel. None of the pre-built vmci modules for VMware Server is suitable for your running kernel. Do you want this program to try to build the vmci module for your system (you need to have a C compiler installed on your system)? [yes] Extracting the sources of the vmci module. Building the vmci module. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config0/vmci-only' make -C /lib/modules/2.6.27-11-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic' CC [M] /tmp/vmware-config0/vmci-only/linux/driver.o CC [M] /tmp/vmware-config0/vmci-only/linux/driverLog.o CC [M] /tmp/vmware-config0/vmci-only/linux/vmciKernelIf.o CC [M] /tmp/vmware-config0/vmci-only/common/vmciContext.o CC [M] /tmp/vmware-config0/vmci-only/common/vmciDatagram.o CC [M] /tmp/vmware-config0/vmci-only/common/vmciDriver.o CC [M] /tmp/vmware-config0/vmci-only/common/vmciDs.o CC [M] /tmp/vmware-config0/vmci-only/common/vmciEvent.o CC [M] /tmp/vmware-config0/vmci-only/common/vmciGroup.o CC [M] /tmp/vmware-config0/vmci-only/common/vmciHashtable.o CC [M] /tmp/vmware-config0/vmci-only/common/vmciProcess.o CC [M] /tmp/vmware-config0/vmci-only/common/vmciQueuePair.o CC [M] /tmp/vmware-config0/vmci-only/common/vmciResource.o LD [M] /tmp/vmware-config0/vmci-only/vmci.o Building modules, stage 2. MODPOST 1 modules CC /tmp/vmware-config0/vmci-only/vmci.mod.o LD [M] /tmp/vmware-config0/vmci-only/vmci.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic' cp -f vmci.ko ./../vmci.o make: Leaving directory `/tmp/vmware-config0/vmci-only' The vmci module loads perfectly into the running kernel. None of the pre-built vsock modules for VMware Server is suitable for your running kernel. Do you want this program to try to build the vsock module for your system (you need to have a C compiler installed on your system)? [yes] Extracting the sources of the vsock module. Building the vsock module. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config0/vsock-only' make -C /lib/modules/2.6.27-11-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic' CC [M] /tmp/vmware-config0/vsock-only/linux/af_vsock.o CC [M] /tmp/vmware-config0/vsock-only/linux/driverLog.o CC [M] /tmp/vmware-config0/vsock-only/linux/util.o /tmp/vmware-config0/vsock-only/linux/util.c: In function ‘VSockVmciLogPkt’: /tmp/vmware-config0/vsock-only/linux/util.c:157: warning: format not a string literal and no format arguments CC [M] /tmp/vmware-config0/vsock-only/linux/vsockAddr.o LD [M] /tmp/vmware-config0/vsock-only/vsock.o Building modules, stage 2. MODPOST 1 modules WARNING: "VMCIDatagram_CreateHnd" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined! WARNING: "VMCIDatagram_DestroyHnd" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined! WARNING: "VMCI_GetContextID" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined! WARNING: "VMCIDatagram_Send" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined! CC /tmp/vmware-config0/vsock-only/vsock.mod.o LD [M] /tmp/vmware-config0/vsock-only/vsock.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic' cp -f vsock.ko ./../vsock.o make: Leaving directory `/tmp/vmware-config0/vsock-only' Unable to make a vsock module that can be loaded in the running kernel: insmod: error inserting '/tmp/vmware-config0/vsock.o': -1 Unknown symbol in module There is probably a slight difference in the kernel configuration between the set of C header files you specified and your running kernel. You may want to rebuild a kernel based on that directory, or specify another directory. The VM communication interface socket family is used in conjunction with the VM communication interface to provide a new communication path among guests and host. The rest of this software provided by VMware Server is designed to work independently of this feature. If you wish to have the VSOCK feature you can install the driver by running vmware-config.pl again after making sure that gcc, binutils, make and the kernel sources for your running kernel are installed on your machine. These packages are available on your distribution's installation CD. [ Press the Enter key to continue.] Do you want networking for your virtual machines? (yes/no/help) [yes] Configuring a bridged network for vmnet0. Please specify a name for this network. [Bridged] The following bridged networks have been defined: . vmnet0 is bridged to eth0 All your ethernet interfaces are already bridged. Do you want to be able to use NAT networking in your virtual machines? (yes/no) [yes] no Do you want to be able to use host-only networking in your virtual machines? [no] None of the pre-built vmnet modules for VMware Server is suitable for your running kernel. Do you want this program to try to build the vmnet module for your system (you need to have a C compiler installed on your system)? [yes] Extracting the sources of the vmnet module. Building the vmnet module. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config1/vmnet-only' make -C /lib/modules/2.6.27-11-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic' CC [M] /tmp/vmware-config1/vmnet-only/driver.o CC [M] /tmp/vmware-config1/vmnet-only/hub.o CC [M] /tmp/vmware-config1/vmnet-only/userif.o CC [M] /tmp/vmware-config1/vmnet-only/netif.o CC [M] /tmp/vmware-config1/vmnet-only/bridge.o CC [M] /tmp/vmware-config1/vmnet-only/filter.o CC [M] /tmp/vmware-config1/vmnet-only/procfs.o CC [M] /tmp/vmware-config1/vmnet-only/smac_compat.o CC [M] /tmp/vmware-config1/vmnet-only/smac.o CC [M] /tmp/vmware-config1/vmnet-only/vnetEvent.o CC [M] /tmp/vmware-config1/vmnet-only/vnetUserListener.o LD [M] /tmp/vmware-config1/vmnet-only/vmnet.o Building modules, stage 2. MODPOST 1 modules CC /tmp/vmware-config1/vmnet-only/vmnet.mod.o LD [M] /tmp/vmware-config1/vmnet-only/vmnet.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic' cp -f vmnet.ko ./../vmnet.o make: Leaving directory `/tmp/vmware-config1/vmnet-only' The vmnet module loads perfectly into the running kernel. Please specify a port for remote connections to use [902] Please specify a port for standard http connections to use [8222] Please specify a port for secure http (https) connections to use [8333] The current administrative user for VMware Server is ''. Would you like to specify a different administrator? [no] yes Please specify the user whom you wish to be the VMware Server administrator matsu Using matsu as the VMware Server administrator. insserv: warning: script 'S01linux-restricted-modules-common' missing LSB tags and overrides insserv: warning: script 'K04gdm' missing LSB tags and overrides insserv: warning: script 'K04vbesave' missing LSB tags and overrides insserv: warning: script 'K04powernowd.early' missing LSB tags and overrides insserv: warning: script 'K04xserver-xorg-input-wacom' missing LSB tags and overrides insserv: warning: script 'K04NetworkManager' missing LSB tags and overrides insserv: warning: script 'K04udev' missing LSB tags and overrides insserv: warning: script 'K03loopback' missing LSB tags and overrides insserv: warning: script 'K03udev-finish' missing LSB tags and overrides insserv: warning: script 'K04httpd' missing LSB tags and overrides insserv: warning: script 'K17acpi-support' missing LSB tags and overrides insserv: warning: script 'NetworkManager' missing LSB tags and overrides insserv: warning: script 'acpi-support' missing LSB tags and overrides insserv: warning: script 'gdm' missing LSB tags and overrides insserv: warning: script 'linux-restricted-modules-common' missing LSB tags and overrides insserv: warning: script 'loopback' missing LSB tags and overrides insserv: warning: script 'powernowd.early' missing LSB tags and overrides insserv: warning: script 'udev' missing LSB tags and overrides insserv: warning: script 'udev-finish' missing LSB tags and overrides insserv: warning: script 'vbesave' missing LSB tags and overrides insserv: warning: script 'xserver-xorg-input-wacom' missing LSB tags and overrides insserv: warning: script 'httpd' missing LSB tags and overrides insserv: script vmware: service VMware already provided! insserv: exiting now! illegal runlevel specified for vmware: r In which directory do you want to keep your virtual machine files? [/var/lib/vmware/Virtual Machines] The path "/var/lib/vmware/Virtual Machines" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] Please enter your 20-character serial number. Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel: 秘密のシリアルキー Creating a new VMware VIX API installer database using the tar4 format. Installing VMware VIX API. In which directory do you want to install the VMware VIX API binary files? [/usr/local/bin] In which directory do you want to install the VMware VIX API library files? [/usr/local/lib/vmware-vix/lib] The path "/usr/local/lib/vmware-vix/lib" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] In which directory do you want to install the VMware VIX API document pages? [/usr/local/doc/vmware-vix] The path "/usr/local/doc/vmware-vix" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] The installation of VMware VIX API 1.6.0 build-122956 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: "/usr/local/bin/vmware-uninstall-vix.pl". Enjoy, --the VMware team Starting VMware services: Virtual machine monitor done Virtual machine communication interface done Virtual ethernet done Bridged networking on /dev/vmnet0 done VMware Server Authentication Daemon (background) done Shared Memory Available done [matsu@matsu-ubuntu ~/archive]%

注意点

VMware Server 2.0は、ローカルホストのみで使う場合はHTTPで管理画面へアクセスできます。しかし、リモートホストから管理画面へアクセスする場合は必ずSSLで接続しなければなりません。
SSLで接続する際に、個人証明書の提出が求められますがキャンセルすることで回避できます。

わざわざViewerをPCへインストールしなくても利用できるのは楽ですね。

リモートのvmwareにアクセスするための設定

ポートの穴あけ。
TCPの8333と902.

8333は、HTTPSによるvmwareの管理画面のため。
902は、各vmのコンソールへ接続するためのポート。コンソールにつなげる必要が無ければあけなくても良い。

vmware server 2.0

↓管理画面。Webでアクセスする。

console

↓コンソール。上記管理画面から、VMのコンソールを立ち上げたところ。Firefoxの場合はExtensionのインストールが必要になる。

トラブル

httpsで8333にアクセスしたときに、ブラウザのタイトルが「Loading…」となって何も表示されなかった。vmware serverを再起動したら表示されるようになった。。。。

# /etc/init.d/vmware restart

コメント