# tar -zxvf VMware-gsx-3.2.1-19281.tar.gz
2.进入安装目录
# cd vmware-gsx-distrib
3.执行安装程序
./vmware-install.pl
4.安装过程
安装过程中需要输入序列号
Serial: X8TA5-HDWDD-V7H4D-4FUGQ
安装过程比较简单,可以一路回车
一直到最后安装完毕
5。在其他机器上启动VMware virtual machine console
选择remote host
host name: 192.168.1.20
user anme: root
password: password
连接以后,可以按照windows上使用vmware的方法来创建和使用虚拟机
6。创建完windows虚拟机并安装好操作系统后,可以用
菜单VM > install vmware tool... 来安装显卡驱动
7。vmware的启动关闭可以用一下命令
# service vmware start
# service vmware stop
8.启动虚拟机用以下命令
启动虚拟机
vmware-cmd /var/lib/vmware/Virtual\ Machines/Windows2003/winNetEnterprise.vmx start
关闭虚拟机
vmware-cmd /var/lib/vmware/Virtual\ Machines/Windows2003/winNetEnterprise.vmx stop
================================
vmware 命令
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
列出虚拟机
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 命令
[oracle@test vmware]$ vmware-cmd -h
Usage: /usr/bin/vmware-cmd
/usr/bin/vmware-cmd -s
Options:
Connection Options:
-H
-O
-U
-P
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
/usr/bin/vmware-cmd
-- gets the execution state of the VM
/usr/bin/vmware-cmd
-- powers on or resumes a VM
/usr/bin/vmware-cmd
-- stops a VM
/usr/bin/vmware-cmd
-- resets a VM
/usr/bin/vmware-cmd
-- suspends a VM
/usr/bin/vmware-cmd
-- sets a configuration variable
/usr/bin/vmware-cmd
-- retrieves the value for a configuration variable
/usr/bin/vmware-cmd
-- sets a guest info variable
/usr/bin/vmware-cmd
-- retrieves the value for a guest info variable
/usr/bin/vmware-cmd
-- retrieves the VM id
/usr/bin/vmware-cmd
-- retrieves the process id of the running VM
/usr/bin/vmware-cmd
-- gets various product information
/usr/bin/vmware-cmd
-- connects a virtual device to a VM
/usr/bin/vmware-cmd
-- disconnects a virtual device from a VM
/usr/bin/vmware-cmd
-- retrieves the path to the configuration file
/usr/bin/vmware-cmd
-- retrieves the heartbeat value of the guest OS
/usr/bin/vmware-cmd
-- retrieves the uptime of the guest OS
/usr/bin/vmware-cmd
-- retrieves the number of remote connections to a VM
/usr/bin/vmware-cmd
-- retrieves the number of seconds since last notification from the tools
/usr/bin/vmware-cmd
-- retrieves a VM resource
/usr/bin/vmware-cmd
-- sets a VM resource
/usr/bin/vmware-cmd
-- sets the user that the VM runs as
/usr/bin/vmware-cmd
-- retrieves the user that the VM runs as
/usr/bin/vmware-cmd
-- retrieves the access permissions of the current user on a VM
/usr/bin/vmware-cmd
-- adds a redo log to a virtual disk
/usr/bin/vmware-cmd
-- commits the redo log of a virtual disk
/usr/bin/vmware-cmd
-- answers a question for a VM requesting input
=============================================
linux下安装和卸载vmware tool
Installing VMware Tools in a Linux or FreeBSD Virtual Machine
会员注册
会员登录
个人空间
发表评论