给广大Solaris的初学者,以下是我装机心得,在参考了大量帮助后,做了下整理,希望大家都能有自己的Solaris环境
如何安装我这里不写了,大家可以参考 http://www.douzhe.com/docs/vmware/
我写一下怎么把显卡配置上去
1, 首先大家把ip配好,可以让主机和VM相通
2, 下载显卡驱动 http://www.douzhe.com/down/system/solaris_vmware/vmware_software/sunwxf86-vmware.tar.gz
3, 在主机上通过FTP把该文件传到VM的Solaris上,path随便
例如: FTP> put c:/sunwxf86-vmware.tar.gz
注: root用户可能不能使用ftp,可修改 /etc/ftpd/ftpusers文件,找到root,用“#”屏蔽掉
4, 在Solaris中,找到刚才上传的文件路径,执行一下命令
# gzip -d sunwxf86-vmware.tar.gz
# tar xvf sunwxf86-vmware.tar
# ls
SUNWxf86r SUNWxf86u sunwxf86-vmware.tar
# pkgadd -d . SUNWxf86u
# pkgadd -d . SUNWxf86r 注意大小写
5, 设置显卡文件 /etc/openwin/server/etc/OWconfig,不会用VI的可以通过file manager找到该文
件直接打开修改
package="RESERVED-unassigned"
class="XSCREEN" name="SFWxf86.vmware"
ddxHandler="ddxSFWxf86.vmware.so.1"
ddxInitFunc="SFWxf86Init"
AdapterManufacturer="XF86-VMWARE"
AdapterModel="VMware virtual video adapter";
class="XSCREENCONFIG" name="vmware"
device="SFWxf86.vmware"
res="800x600"
defdepth="24"
size="17-inch (43cm)"
board="xf86/vmware.xqa"
monitor="mfreq/svga.vda"
dpix="58"
dpiy="58"
desktop="800x600"
DisplayChksum="0xcd2e6ec"
hz="56"
MonitorManufacturer="Super VGA"
MonitorModel="35.5 kHz (800x600 @ 56Hz and 1024x768 Interlaced)"
dcm="Adapter";
class="XDISPLAY" name="0"
coreKeyboard="IKBD"
corePointer="ps22b"
listOfScreens="vmware";
class="XINPUT" name="ps22b"
csize="0"
emulTimeout="25"
buttons="3"
strmod="vuid2ps2"
ddxInitFunc="ddxSUNWmouseProc"
ddxHandler="ddxSUNWmouse.so.1"
dev="/dev/kdmouse"
ptrfile="ps22b3be025.ptr"
MouseManufacturer="Built-in"
MouseModel="PS/2 Mouse (2 Button+ 25ms 3 Button Emulation)"
PtrChksum="0x45cafda9";
保存 然后重启solaris,就OK了
#reboot