·Qµ²Ãѧó¦h·sªB¤Í¶Ü?·Q´M§ä§A(©p)ªº¥t¤@¥b¶Ü?«ö¦¹§Y¶}©l§¹¥þ§K¶O.
¡¸ («ö¦¹) ³Ì ·s ¹C À¸ ±o ¤À ¤Î ¾± ³¹ ±Æ ¦æ º] ¡¸

 
¼ÐÃD: Linux§@·~¨t²Î¤å¥»¼Ò¦¡¤U¦w¸ËVMwareµêÀÀ¾÷
wijyr
·s¤â¤W¸ô
Rank: 1



UID 0066582
ºëµØ 0
¿n¤À 57
©«¤l 22
«Â±æ 57
ª÷¿ú 2006
¦s´Ú 0
¾\ŪÅv­­ 10
µù¥U 4-5-2008
ª¬ºA Â÷½u
  ¤j ¤¤ ¤p
µoªí©ó 4-5-2008 22:39  ¸ê®Æ  ­Ó¤HªÅ¶¡  µu®ø®§  ¥[¬°¦n¤Í 
Linux§@·~¨t²Î¤å¥»¼Ò¦¡¤U¦w¸ËVMwareµêÀÀ¾÷@ngchk.com E-Mail ¦¹¥DÃDµ¹ªB¤Í
Linux§@·~¨t²Î¤å¥»¼Ò¦¡¤U¦w¸ËVMwareµêÀÀ¾÷Linux¤U¦³«Ü¦hºØµêÀÀ¾÷³nÅé¡A¦ý¬O¦bWindows²ßºD¤F¥ÎVMware¡A¾Þ§@¤ñ¸û²³æ¡A©ó¬O¦blinux¤U¤£§«¤]¥Î¥Î¬Ý¡A©ó¬O¨ìVMwareªº©xºô¡]www.vmware.com¡^¤W¤U¨Ó¤@­Ó³Ì·sªºVMware-server-1.0.3-44356.tar.gz¡]vmwar for linux¡^¡A³q¹L´X¨B²³æªºªí³æ¶ñ¼g´N¥i¥H¥Ó½Ð­Ó§K¶Oªºµù¥U½X¡A¥»¦a¸ÑÀ£«á°õ¦æùØ­±ªºvmware-install.pl¸}¥»°ò¥»¤@¸ô«öÀq»{¦^¨®¤U¥h§Y¥i¡A¦w¸Ë§¹²¦»Ý­nµ¹µêÀÀ¾÷ªº¦w¸Ë¥Ø¿ý¥iŪ¼g³\¥iÅv¡AÀq»{¦ì¸m¬O/var/lib/vmware/¡A±µ¤U¨Ó´N¬O¯A¤Î¨ì¨ãÅé¾Þ§@¤F¡C

³Ì²³æªº¤èªk¬O¤U¸ü¤@­Ó¬Û¦Pª©¥»ªºwindowsª©¥»¡AµM«á±qwindows¤U»·µ{Ãìµ²¹L¥h´N©M¥»¾÷¾Þ§@¤@¼Ë¤F¡A¥»¤H¥Ñ©ó¬O¦b¬ü°êªº¦øªA¾¹¤W¦w¸Ë¡A¥u¦n¦b¥»¦awindows¤U¥ý¦w¸Ë¦n¡]µêÀÀ¾÷¦w¸Ë¦nªº¨t²Î¤å¥ó¦bwindows¤U»P linux³q¥Î¡^¡AµM«á±N¤å¥ó¥´¥]¤W¶Ç¡AµM«á¥Î©R¥O¡Gvmware-cmd -s regeister /var/lib/vmware/Virtual\ Machines/CentOS\ X86/Red\ Hat\ Enterprise\ Linux\ 4.vmx ¥ýµù¥U¡A¦A¥Îvmware-cmd /var/lib/vmware/Virtual\ Machines/CentOS\ X86/Red\ Hat\ Enterprise\ Linux\ 4.vmx start ±Ò°Ê¡C³o¸Ì¥»¤H¹J¨ì­Ó°ÝÃD¡A§Ú­Ì¬ü°ê¦øªA¾¹¬O64¦ìªº¾÷¤l¡A²Ä¤@¦¸¤W¶Ç¥»¦a¦w¸Ë¦nªº64¦ì¨t²Î©~µM±Ò°Ê¤£¤F¡A³ø¿ù¤£¤ä´©64¦ì¡A©ó¬O¦A¤W¶Ç­Ó32¦ìªº§Y¥i¡A¨ãÅé­ì¦]ÁÙ¤£²»¡C³o¼ËµêÀÀ¾÷°_¨Ó«á´N©M¯u¹ê¾÷¤@¼Ë¨Ï¥Î¤F¡I

¬ÛÃö°Ñ¦Ò¡G

Linux¤U¦w¸ËVMware-gsx-3.2.1

¨Ó¦Û¡Ghttp://www.jjzx.cn/3010.html

Vmware-gsx-3.2.1-19281.tar.gz

# tar -zxvf VMware-gsx-3.2.1-19281.tar.gz

2.¶i¤J¦w¸Ë¥Ø¿ý

# cd vmware-gsx-distrib

3.°õ¦æ¦w¸Ëµ{¦¡

./vmware-install.pl

4.¦w¸Ë¹Lµ{

¦w¸Ë¹Lµ{¤¤»Ý­n¿é¤J§Ç¦C¸¹

Serial: X8TA5-HDWDD-V7H4D-4FUGQ

¦w¸Ë¹Lµ{¤ñ¸û²³æ¡A¥i¥H¤@¸ô¦^¨®

¤@ª½¨ì³Ì«á¦w¸Ë§¹²¦

5¡C¦b¨ä¥L¾÷¾¹¤W±Ò°ÊVMware virtual machine console

¿ï¾Üremote host

host name: 192.168.1.20

user anme: root

password: password

³s±µ¥H«á¡A¥i¥H«ö·Ówindows¤W¨Ï¥Îvmwareªº¤èªk¨Ó³Ð«Ø©M¨Ï¥ÎµêÀÀ¾÷

6¡C³Ð«Ø§¹windowsµêÀÀ¾÷¨Ã¦w¸Ë¦n§@·~¨t²Î«á¡A¥i¥H¥Î

¥\¯àªíVM > install vmware tool... ¨Ó¦w¸ËÅã¥dÅX°Ê

7¡Cvmwareªº±Ò°ÊÃö³¬¥i¥H¥Î¤@¤U©R¥O

# service vmware start

# service vmware stop

8.±Ò°ÊµêÀÀ¾÷¥Î¥H¤U©R¥O

±Ò°ÊµêÀÀ¾÷

vmware-cmd /var/lib/vmware/Virtual\ Machines/Windows2003/winNetEnterprise.vmx start

Ãö³¬µêÀÀ¾÷

vmware-cmd /var/lib/vmware/Virtual\ Machines/Windows2003/winNetEnterprise.vmx stop

¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×

vmware ©R¥O

vmnet-bridge vmstat vmware-config.pl vmware-smbd

vmnet-dhcpd vm-support vmware-loop vmware-smbpasswd

vmnet-natd vmware vmware-mount.pl vmware-smbpasswd.bin

vmnet-netifup vmware-authtrusted vmware-nmbd vmware-uninstall.pl

vmnet-sniffer vmware-cmd vmware-ping vmware-vdiskmanager

¦C¥XµêÀÀ¾÷

vmware-cmd -l

±Ò°ÊµêÀÀ¾÷

vmware-cmd /var/lib/vmware/Virtual\ Machines/Windows2003/winNetEnterprise.vmx start

Ãö³¬µêÀÀ¾÷

vmware-cmd /var/lib/vmware/Virtual\ Machines/Windows2003/winNetEnterprise.vmx stop

vmware-cmd ©R¥O

[ORACLE@test vmware]$ vmware-cmd -h

Usage: /usr/bin/vmware-cmd

/usr/bin/vmware-cmd -s

Options:

Connection Options:

-H specifies an alternative host (if set, -U and -P must als o be set)

-O

specifies an alternative port

-U specifies a user

-P

specifies a password

General Options:

-h More detailed help.

-q Quiet. Minimal output

-v Verbose.

Server Operations:

/usr/bin/vmware-cmd -l

-- lists the registered VMs

/usr/bin/vmware-cmd -s register

-- registers a VM

/usr/bin/vmware-cmd -s unregister

-- unregisters a VM

/usr/bin/vmware-cmd -s getresource

-- retrieves a server resource

/usr/bin/vmware-cmd -s setresource

-- sets a server resource

VM Operations:

/usr/bin/vmware-cmd getconnectedusers

/usr/bin/vmware-cmd getstate

-- gets the execution state of the VM

/usr/bin/vmware-cmd start

-- powers on or resumes a VM

/usr/bin/vmware-cmd stop

-- stops a VM

/usr/bin/vmware-cmd reset

-- resets a VM

/usr/bin/vmware-cmd suspend

-- suspends a VM

/usr/bin/vmware-cmd setconfig

-- sets a configuration variable

/usr/bin/vmware-cmd getconfig

-- retrieves the value for a configuration variable

/usr/bin/vmware-cmd setguestinfo

-- sets a guest info variable

/usr/bin/vmware-cmd getguestinfo

-- retrieves the value for a guest info variable

/usr/bin/vmware-cmd getid

-- retrieves the VM id

/usr/bin/vmware-cmd getpid

-- retrieves the process id of the running VM

/usr/bin/vmware-cmd getproductinfo

-- gets various product information

/usr/bin/vmware-cmd connectdevice

-- connects a virtual device to a VM

/usr/bin/vmware-cmd diSCOnnectdevice

-- disconnects a virtual device from a VM

/usr/bin/vmware-cmd getconfigfile

-- retrieves the path to the configuration file

/usr/bin/vmware-cmd getheartbeat

-- retrieves the heartbeat value of the guest OS

/usr/bin/vmware-cmd getuptime

-- retrieves the uptime of the guest OS

/usr/bin/vmware-cmd getremoteconnections

-- retrieves the number of remote connections to a VM

/usr/bin/vmware-cmd gettoolslastactive

-- retrieves the number of seconds since last notification from the tools

/usr/bin/vmware-cmd getresource

-- retrieves a VM resource

/usr/bin/vmware-cmd setresource

-- sets a VM resource

/usr/bin/vmware-cmd setrunasuser

-- sets the user that the VM runs as

/usr/bin/vmware-cmd getrunasuser

-- retrieves the user that the VM runs as

/usr/bin/vmware-cmd getcapabilities

-- retrieves the access permissions of the current user on a VM

/usr/bin/vmware-cmd addredo

-- adds a redo log to a virtual disk

/usr/bin/vmware-cmd commit

-- commits the redo log of a virtual disk

/usr/bin/vmware-cmd answer

-- answers a question for a VM requesting input

¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×

Linux¤U¦w¸Ë©M¨ø¸üvmware tool

Installing VMware Tools in a Linux or Freebsd Virtual Machine

1. Power on the virtual machine.

2. After the guest operating system has started, prepare your virtual machine to install VMware Tools.

Choose VM > Install VMware Tools.

The remaining steps take place inside the virtual machine.

3. Be sure the guest operating system is running in text mode. You cannot install VMware Tools from a terminal in an X window session.

Some recent distributions of Linux are configured to run the X server when they boot and do not provide an easy way to stop the X server. However, you can switch to a different workspace that is still in text mode and install VMware Tools from that workspace.

To switch between Linux workspaces in a virtual machine, press Ctrl-Alt-Space, release Space without releasing Ctrl and Alt, then press the function key for the workspace you want to use ¡X for example, F2.

Note: If you changed your hot-key combination to something other than Ctrl-Alt, use that combination with Space and the function key.

4. As root (su -), mount the VMware Tools virtual CD-ROM image, change to a working Directory (for example, /tmp), uncompress the installer, then unmount the CD-ROM image.

Note: You do not use an actual CD-ROM to install VMware Tools, nor do you need to download the CD-ROM image or burn a physical CD-ROM of this image file. The GSX Server software contains an ISO image that looks like a CD-ROM to your guest operating system. This image contains all the files needed to install VMware Tools in your guest operating system.

Linux Guests: Some Linux distributions use different device names or organize the /dev directory differently. If your CD-ROM drive is not /dev/cdrom or if the mount point for a CD-ROM is not /mnt/cdrom, modify the following commands to reflect the conventions used by your distribution.

Further, some Linux distributions automatically mount CD-ROMs. If your distribution uses automounting, do not use the mount and umount commands below. You still must untar the VMware Tools installer to /tmp.

mount /dev/cdrom /mnt/cdrom

cd /tmp

tar zxf /mnt/cdrom/vmware-linux-tools.tar.gz

umount /mnt/cdrom

FreeBSD Guests: Some FreeBSD distributions automatically mount CD-ROMs. If your distribution uses automounting, do not use the mount and umount commands below. You still must untar the VMware Tools installer to /tmp.

mount /cdrom

cd /tmp

tar zxf /cdrom/vmware-freebsd-tools.tar.gz

umount /cdrom

5. Run the VMware Tools installer.

cd vmware-tools-distrib

./vmware-install.pl

6. Answer the questions about default directories.

7. Run the configuration program.

vmware-config-tools.pl

8. To change your virtual machine's display resolution, answer yes, then enter the number that corresponds to the desired resolution.

9. Log off of the root account.

exit

10. Start X and your graphical environment.

11. In an X terminal, launch the VMware Tools background application.

vmware-toolbox &

You can run VMware Tools as root or as a normal user. To shrink virtual disks, you must run VMware Tools as root (su -).

Note: To get the greatest benefit from the features of VMware Tools, always run vmware-toolbox in the guest operating system.

Uninstalling VMware Tools

If you need to remove VMware Tools from your Linux guest operating system, log on as root (su -) and run the following command:

vmware-uninstall-tools.pl

==================================

ºÞ²z¤¶­± management interface

»Ý­n¤U¸üVMware-mui-3.2.1-19281.tar.gz

windows¤U¹B¦æ

C:\Program Files\VMware\VMware Management Interface\htdocs\init.pl

linux¤U¹B¦æ

vmware-config-mui.pl

The apache Server and the VMware Management Interface

On GSX Server for Linux hosts, an Apache server is installed with the management interface. Listed here are the commands to start, stop and restart the Apache server.

In order to use these commands, you must first log on as root (su -), then open a terminal session.

To start the Apache server, type

/etc/init.d/httpd.vmware start

To stop the Apache server, type

/etc/init.d/httpd.vmware stop

To restart the Apache server, type

/etc/init.d/httpd.vmware restart

³»³¡
[¼s§i]
 



·í«e®É°Ï GMT+8, ²{¦b®É¶¡¬O 3-12-2008 07:46

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz!  © 2001-2009 Comsenz Inc.
Processed in 0.063476 second(s), 6 queries , Gzip enabled

²M°£ Cookies - Ápô§Ú­Ì - ¨Ï¥Î±ø´Ú/§K³dÁn©ú - Archiver - WAP
­«­nÁn©ú¡G¥»°Q½×°Ï¬O¥H§Y®É¤W¸ü¯d¨¥ªº¤è¦¡¹B§@¡ANGC ­»´ä°Q½×°Ï ¹ï©Ò¦³¯d¨¥ªº¯u¹ê©Ê¡B§¹¾ã©Ê¤Î¥ß³õµ¥¡A¤£­t¥ô¦ó ªk«ß³d¥ô¡C¦Ó¤@¤Á¯d¨¥¤§¨¥½×¥u¥Nªí¯d¨¥ªÌ­Ó¤H·N¨£¡A¨Ã«D¥»ºô¯¸¤§¥ß³õ¡A¥Î¤á¤£À³«H¿à¤º®e¡A¨ÃÀ³¦Û¦æ§PÂ_¤º®e¤§¯u¹ê©Ê¡C©ó¦³Ãö±¡§Î¤U¡A¥Î¤áÀ³´M¨D±M·~·N¨£ (¦p¯A¤ÎÂåÀø¡Bªk«ß©Î§ë¸êµ¥°ÝÃD)¡C ¥Ñ©ó¥»°Q½×°Ï¨ü¨ì¡u§Y®É¤W¸ü¯d¨¥¡v¹B§@¤è¦¡©Ò³W­­¡A¬G¤£¯à§¹¥þºÊ¹î©Ò¦³¯d¨¥¡A­YŪªÌµo²{¦³¯d¨¥¥X²{°ÝÃD¡A½ÐÁpµ¸§Ú­Ì¡CNGC ­»´ä°Q½×°Ï ¦³Åv§R°£¥ô¦ó¯d¨¥¤Î©Úµ´¥ô¦ó¤H¤h¤W¸ü¯d¨¥¡A¦P®É¥ç¦³¤£§R°£¯d¨¥ªºÅv§Q¡C¤Á¤Å¼¶¼g²Ê¨¥Â©»y¡B½ÚÁ½¡B´è¬V¦â±¡¼É¤O©Î¤H¨­§ðÀ»ªº¨¥½×¡A·q½Ð¦Û«ß¡C¥»ºô¯¸«O¯d¤@¤Áªk«ßÅv§Q¡C