Vmware Workstation/Vmware Workstation 4.0 unter SUSE Linux 8.1 Professional

Aus Mikiwiki
Zur Navigation springen Zur Suche springen

Installation und Konfiguration

Host-only networking (isolated virtual network)
private TCP/IP-network 192.168.247.0)
-----------------------------------------------

Bridged   = VMnet0 (bridged configuration)
Host-only = VMnet1 (host-only configuration) 192.168.205.1 / 172.16.155.1
NAT       = VMnet8 (NAT configuration)
weitere   = VMnet2-7,9

Host computer:
__________________________________________________________________________
|                                                                        |
| VMware DHCP-Server----------------------|                              |
|                                         |                              |
| Virtual Machine                         |                              |
| |            _|__________     __________|_________                     |
| |            | Virtual  |     | Virtual ethernet |                     |
| | Windows XP | ethernet |-----| switch (VMnet1)  |                     |
| |            | adapter  |     |__________________|                     |
| |            |__________|               |                              |
| |_____________|                         |                      ________|___
|                                         |                      | physical |
| Host only-adapter------------------------                      | network  |
| 192.168.247.1-------------------routing or proxy software------| adapter  |
|                                                                |__________|
|________________________________________________________________________|

1. Konfiguration von VMware für Windows 98 SE

$ su - root
# vmware-config.pl
...
You must read and accept the End User License Agreement...
...
Do you accept? (yes/no) yes

Do you want networking for your Virtual Machines? (yes/no/help) yes

Your computer has multiple ethernet network interfaces available: eth0, eth1. Which one do you want to bridge to vmnet0? eth0

Do you wish to configure another bridged network? (yes/no) no

Do you want this script to probe for an unused private subnet? (yes/no/help) yes

The subnet 172.16.153.0/255.255.255.0 appears to be unused.

Do you want to be able to use host-only networking in your Virtual Machines? no

Do you want this script to automatically configure your system to allow your Virtual Machines to access the host's filesystem? (yes/no/help) yes

Creating a host-only network on vmnet1. (this is required to share the host's filesystem).

Configuring a host-only network for vmnet1.

Do you want this script to probe for an unused private subnet? (yes/no/help) yes

The subnet 192.168.247.0/255.255.255.0 appears to be unused.

You have successfully configured VMware Workstation to allow your Virtual Machines to access the host's filesystem. 
Would you like to add a username and password for accessing your host's filesystem at this time? (yes/no/help) yes

Please specify a username that is known to your host: sisis
New SMB password: sisis

Would you like to add another username and password at this time? (yes/no/help) yes

Please specify a username that is known to your host: mik
New SMB password: mik

Would you like to add another username and password at this time? (yes/no/help) no

You can add more usernames at any time by invoking the following command as root: "/usr/bin/vmware-smbpasswd vmnet1 -a <username>"]

You can now run VMware Workstation by invoking the following command: "/usr/bin/vmware".

# exit
$ /usr/bin/vmware

VMWare Workstation serial number: 
Name: Michael

VMware Workstation Dialog: Register later

VMware Workstation <2>
[X] Run the Configuration Wizrad.

VMware Configuration Wizard
Welcome: Next
Select Configuration Type: Create standard virtual machine
Guest operating System: Windows 98
Virtual Machine Display Name and Directory
Display name: Windows 98
Full path of the virtual machine directory: /home/sisis/vmware/win98/
Disk Type Setting: Create a new virtual disk
Virtual Disk Size Setting: 3000 megabytes
CD-ROM Device Setting
[X] CD-ROM enabled: /dev/cdrom
[X] Start with the CD-ROM enabled
Floppy Device Setting
[X] Floppy enabled: /dev/fd0
[X] Start with the floppy enabled

Networking Setting
[X] Bridged networking: connect directly to a local ethernet via an Ethernet network adapter card in your computer.

Confirmation: Done

Settings > Configuration Editor > Memory
Guest Size (MB): 192

Einlegen der "Windows 98 SE"-CD ins CD-Laufwerk.

Power On

Microsoft Windows 98 CD-ROM-Startmenü
2. Von CD-ROM starten
1. Windows 98 Setup von CD-ROM starten

Microsoft Windows 98 Setup
Drücken Sie die Eingabetaste, um Windows zu installieren. Enter
Unzugeordneten Speicherplatz konfigurieren (empfohlen). Enter
Ja, Unterstützung aktivieren. Enter
Neustart
Die Festplatte wird formatiert.

Weiteres Vorgehen wie üblich.

Product key: 

Benutzername: Michael
Kennwort: Michael

Settings > VMware Tools Install... > Install

Danach in der Systemsteuerung: Anzeige > Erweitert
* Einstellen der Auflösung auf 1024x768 Pixel
* Netzwerk > Konfiguration > Primäre Netzwerkanmeldung: Windows-Anmeldung

Verschieben der Virtual Machine

1. Herunterfahren des Gast-OS, Power off der Virtual Machine
2. Kopieren aller Dateien im Originalverzeichnis der Virtual Machine an einen neuen Ort
3. Fertig

2. Konfiguration von VMware für Windows XP Home SP1

Erstellung einer neuen Virtual Machine

VMware Workstation <2>
[X] Run the Configuration Wizard.

VMware Configuration Wizard
Welcome: Next
Select Configuration Type: Create standard virtual machine
Guest operating System: Windows XP Home Edition
Virtual Machine Display Name and Directory
Display name: Windows XP
Full path of the virtual machine directory: /usr/local/vmware/winXP/
Disk Type Setting: Create a new virtual disk
Virtual Disk Size Setting: 3000 megabytes
CD-ROM Device Setting
[X] CD-ROM enabled: /dev/cdrom
[X] Start with the CD-ROM enabled
Floppy Device Setting
[X] Floppy enabled: /dev/fd0
[X] Start with the floppy enabled

Networking Setting
[X] Bridged networking: connect directly to a local ethernet via an Ethernet network adapter card in your computer.

Confirmation: Done

Settings > Configuration Editor > Memory
Guest Size (MB): 224

Einlegen der "Windows XP Home SP1"-CD ins CD-Laufwerk.

Achtung: Konfigurationsänderungen können dazu führen, dass eine erneute Aktivierung notwendig wird. Darum unbedingt vor der Aktivierung durchführen:
- Speichergrösse
- Installation VMware Tools

Power On

Windows XP Home Edition Setup
Drücken Sie die EINGABETASTE, um Windows XP jetzt zu installieren. Enter

Weiteres Vorgehen wie üblich.

Product key: 

Benutzername: Michael
Kennwort: Michael

Das genaue Vorgehen zur Einrichtung von Windows XP Home unter VMware Workstation ist im Dokument windowsxp_konfiguration_vm.html beschrieben.

Verschieben der Virtual Machine

4. Herunterfahren des Gast-OS, Power off der Virtual Machine
5. Kopieren aller Dateien im Originalverzeichnis der Virtual Machine an einen neuen Ort
6. Fertig

Verwendung

FTP-Zugriff von Windows zum Linux-Host.

# ftp 172.16.94.1