proxy代理   soft软件   IT 业界特快   norton 诺顿病毒库   代理列表   search FTP搜索   whois IP地理位置   blog 追求完美  
money理财   life生活   RSS聚合门户   firefox WEB浏览器   免费域名   typeset 假古文   AntiVirus 反病毒   ipcn 站点导航  

« 关注数码相机 | Main | X-Win32 exceed xmanager KEA!X 等图形方式访问Linux/UNIX桌面 »

September 27, 2005

vmware gsx server 在windows Linux 系统下的自动启动

版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。
https://windtear.net/archives/2005/09/27/000784.html http://windtear.net/archives/2005/09/27/000784.html

两件事
windows 系统跑vmware gsx server
Linux 系统跑vmware gsx server

windows 系统跑服务用 srvinstw.exe & srvany.exe (参考)
Linux 系统跑服务用 init.d

gsx server 之前
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vmwarelinux\Parameters]
"Application"="C:\\program files\\vmware\\programs\\vmware.exe -q -x C:\\linux.vmx"

gsx server 之后 (只是路径变化)
C:\Program Files\VMware\VMware GSX Server\vmware.exe -q -x C:\Linux.vmx

不过需要注意 vmx 配置文件要设好自动启动和关闭
gui.powerOnAtStartup = TRUE
gui.exitAtPowerOff = TRUE
(Linux系统加了引号 "TRUE")

Linux 系统
/usr/sbin/vmware-serverd
/usr/bin/vmnet-bridge -d /var/run/vmnet-bridge-0.pid /dev/vmnet0 eth0
/usr/bin/vmnet-bridge -d /var/run/vmnet-bridge-2.pid /dev/vmnet2 eth1
/usr/lib/vmware/bin/vmware-vmx -C /opt/lib/vmware/Virtual Machines/Windows 2000 Server.vmx -@ ""
 \_ vmware [Floppy]

# cat /etc/xinetd.d/vmware-authd
# default: on
# description: The VMware remote access authentification daemon
service vmware-authd
{
    disable         = no
    port            = 902
    socket_type     = stream
    protocol        = tcp
    wait            = no
    user            = root
    server          = /usr/sbin/vmware-authd
}

Linux 系统的 /usr/bin/vmware 是个脚本
/etc/vmware/ 目录是一些配置

# /usr/lib/vmware/bin/vmware-vmx
VMware GSX Server Error:
NOTE: To run the user interface, use vmware and not vmware-vmx
Usage information for vmware-vmx follows

Usage: vmware-vmx [<flags>] [configfile]
where <flags> are:
       -s name=value        set variable NAME to VALUE
       -q                   exit at power off
       -x                   power on when program starts
       -X                   as -x, also go to full screen mode
       -v                   print program version

Press "Enter" to continue...


2005-04-26 18:34 个人空间 杂记 - 台式机加内存后赶紧再装vmware gsx server 3.0跑起来飞快 ...
2005-01-27 12:01 我爱网络 openvpn 2.0rc6 to service @windows
本blog WWW

Posted by windtear at September 27, 2005 8:39 PM

本站使用中的任何问题,请与 windtear @ windtear.net 联系
Copyright© 1999-2024 Windtear. All rights reserved.