|
这个脚本是用来在vmware里的suse9.2上安装vmtools的
从老外那里弄来 地址这里
全部帖子如下
[code:1]
I have written a script for doing this on Mandrake 10.1 and Fedora Core 3 (both using Xorg). I have not tested on SuSE 9.2 but this should get the job done.
# Backup, backup, backup!
Snapshot -> Save Snapshot
VM -> Install VMWare Tools
# In the virtual machine:
cd /root
wget http://woody.linif.org/vmconffix.sh
chmod a+x vmconffix.sh
# Will be /media/cdrom on Fedora Core 3
mount /mnt/cdrom
cd /tmp
tar xzf /mnt/cdrom/vmware-linux-tools.tar.gz
umount /mnt/cdrom
cd vmware-tools-distrib
/root/vmconffix.sh /tmp/vmware-tools-distrib/vmware-install.pl
# Done!
# To reconfigure vmware tools, run:
/root/vmconffix.sh /usr/bin/vmware-config-tools.pl
The script is straight forward and commented. The issue is that vmware-config-tools.pl gets the X version by first running:
/usr/X11R6/bin/XFree86 -version
and it expects a response similar to:
XFree86 Version 4.3.0.1
Xorg instead has:
/usr/X11R6/bin/Xorg
and returns:
Release Date: 18 December 2003
X Protocol Version 11, Revision 0, Release 6.7
The config file for Xorg and Xfree86 4.3 are the same format but a different name and as such we set an enviroment variable to tell vmware what file to modify.
As always, use at your own risk and ALWAYS, ALWAYS, ALWAYS backup first (snapshot!). Hope this helps,
Woody[/code:1]
我的问题是
1 vmtools要求在字符模式下运行,现在suse一启动就进x了 如何退到字符模式 装好后如何回来
2 以上那个帖子里 从哪到哪是script的内容 是不是把它贴到一个文本编辑器里 保存成一个文件就好了 文件名有要求吗? 存放的位置有要求吗?
3 运行这个script 有什么特殊的要求吗? 比如 vmtools要解压缩到某个固定的文件夹? 必须用 root登陆?......
4 装这个 系统里面是不是一定要有gcc? 我是默认自动安装的suse9.2 里面有吗?
我知道问题都很菜 老大们帮忙回复一下 谢谢了 |
|