Linux操作系统文本模式下安装VMware虚拟机
http://tech.ddvip.com 2007年09月07日 社区交流
内容摘要:通过几步简单的表单填写就可以申请个免费的注册码,本地解压后执行里面的vmware-install.pl脚本基本一路按默认回车下去即可,安装完毕需要给虚拟机的安装目录可读写权限,默认位置是/var/lib/vmware/,接下来就是涉及到具体操作了。
-- 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
责编:豆豆技术应用