LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1983|回复: 20

请教安装vmware的问题

[复制链接]
发表于 2007-7-1 00:35:18 | 显示全部楼层 |阅读模式
我按照http://bbs.linuxsky.net/thread-3960-1-1.html的方法安装vmware
在安装到第三步后,应用程序-系统工具里有vmware的菜单,我点 击后在任务栏里显示一个启动信息,就没有反应了。于是,我按第四步安装,但网站上已经没有那个文件一了,我找了一下,有个vmware-any-any-update109.tar.gz,下载后安装了。
但这时,应用程序-系统工具里就没有vmware的菜单了,我不知道vmware到底安装好没有,也不知道怎么启动。

-------------------------------------
Linux下如何安装Windows?

Linux下如何安装Windows?
对于Linux我们怎样在它下面安装Windows呢?呵呵,答案就是先安装一个虚拟机,比如vmware,然后在虚拟机里安装Windows。
这里我主要说下debian或者ubuntu系统vmware的安装方法。
1)下载vmware安装程序
使用uname -r 来查看你使用的内核版本

2)安装一些debian软件包,以满足软件包的依赖要求
apt-get install gcc make perl linux-headers-2.6.16-1-686 (和你的内核版本
对应的内核头文件软件包)
比如我的系统似乎uname -r 命令看到的是
$ uname -r
2.6.16-1-686
就需要装linux-headers-2.6.16-1-686

3) 下载vmware的压缩版本,并解开,会生成vmware-distrib目录,进入这个目录,确保你当前是root用户权限运行命令
./vmware-install.pl
移植使用默认操作,直到安装程序提示你指定与内核匹配的头文件的位置,在这里,即使你已经安装并正确的指定了头文件的位置,系统也提示你内核地址空间尺寸 (kernel address space size)不匹配。按ctrl+C停止安装

4) 下载 http://ftp.cvut.cz/vmware/vmware ... 后形成的目录 vmware-any-any-update99,以root权限运行./runme.pl一直使用默认选项的值到最后。

如果想更改虚拟机的配置选项,在虚拟的操作系统没有运行的情况下,双击他的配置,即可弹出响应的配置窗口。

vmware序列号的使用:
vmware 运行后,在 vmware菜单 -> Help -> Enter Serial Number... 录入序列号:0CTYM-K440T-0A44Y-4M8X6 这是永不过期的序列号

OK,vmware安装完毕。
最后你就可以体验到Windows在虚拟机上的运行了,呵呵,很爽哦!
 楼主| 发表于 2007-7-1 00:51:11 | 显示全部楼层
我在终端里输入vmware,提示:
CH:~# vmware
vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl.

/usr/bin/vmware-config.pl这个该怎么配置?
回复 支持 反对

使用道具 举报

发表于 2007-7-1 04:26:48 | 显示全部楼层
run it
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-7-1 12:15:25 | 显示全部楼层
我运行了/usr/bin/vmware-config.pl,一路按回车配置的。
但的运行vmware时,还是提示:
CH:~# vmware
vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl.

我估计是配置vmware-config.pl的问题
回复 支持 反对

使用道具 举报

发表于 2007-7-1 17:03:37 | 显示全部楼层
uninstall vmware then reinstall it
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-7-1 21:59:59 | 显示全部楼层
重新安装了,应用程序-系统工具里又有vmware的菜单,但点击后,任务栏出现:正在启动vmwarestation,过一会,就自动消失了,没有看到vmware启动起来
回复 支持 反对

使用道具 举报

发表于 2007-7-1 22:27:56 | 显示全部楼层
在终端里输入命令运行,看是什么错误
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-7-2 07:27:19 | 显示全部楼层
直接运行时,提示:
CH:~# vmware
vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl.

我重新运行:/usr/bin/vmware-config.pl

显示这些:
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
   Virtual machine monitor                                             done

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type icons?
[/usr/share/icons]

What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]

/usr/share/applications/vmware-workstation.desktop: error: Categories values must be one of "Core", "Development", "Building", "Debugger", "IDE", "GUIDesigner", "rofiling", "RevisionControl", "Translation", "Office", "Calendar", "ContactManagement", "Database", "Dictionary", "Chart", "Email", "Finance", "FlowChart", "DA", "rojectManagement", "resentation", "Spreadsheet", "WordProcessor", "Graphics", "2DGraphics", "VectorGraphics", "RasterGraphics", "3DGraphics", "Scanning", "OCR", "hotography", "Viewer", "Settings", "DesktopSettings", "HardwareSettings", "ackageManager", "Network", "Dialup", "InstantMessaging", "IRCClient", "FileTransfer", "HamRadio", "News", "2P", "RemoteAccess", "Telephony", "WebBrowser", "WebDevelopment", "AudioVideo", "Audio", "Midi", "Mixer", "Sequencer", "Tuner", "Video", "TV", "AudioVideoEditing", "layer", "Recorder", "DiscBurning", "Game", "ActionGame", "AdventureGame", "ArcadeGame", "BoardGame", "BlocksGame", "CardGame", "KidsGame", "LogicGame", "RolePlaying", "Simulation", "SportsGame", "StrategyGame", "Education", "Art", "Construction", "Music", "Languages", "Science", "Astronomy", "Biology", "Chemistry", "Geology", "Math", "MedicalSoftware", "hysics", "Teaching", "Amusement", "Applet", "Archiving", "Electronics", "Emulator", "Engineering", "FileManager", "Shell", "ScreenSaver", "TeminalEmulator", "TrayIcon", "System", "Filesystem", "Monitor", "Security", "Utility", "Accessibility", "Calculator", "Clock", "TextEditor", "KDE", "GNOME", "GTK", "Qt", "Motif", "Java", "ConsoleOnly" (found "Application")
desktop-file-install created an invalid desktop file!
Use of uninitialized value in addition (+) at /usr/bin/vmware-config.pl line 802, <STDIN> line 3.
Unable to install the .desktop menu entry file. You must add it to your menus byhand.
/usr/share/applications/vmware-player.desktop: error: Categories values must be one of "Core", "Development", "Building", "Debugger", "IDE", "GUIDesigner", "rofiling", "RevisionControl", "Translation", "Office", "Calendar", "ContactManagement", "Database", "Dictionary", "Chart", "Email", "Finance", "FlowChart", "PDA", "ProjectManagement", "Presentation", "Spreadsheet", "WordProcessor", "Graphics", "2DGraphics", "VectorGraphics", "RasterGraphics", "3DGraphics", "Scanning", "OCR", "Photography", "Viewer", "Settings", "DesktopSettings", "HardwareSettings", "PackageManager", "Network", "Dialup", "InstantMessaging", "IRCClient", "FileTransfer", "HamRadio", "News", "P2P", "RemoteAccess", "Telephony", "WebBrowser", "WebDevelopment", "AudioVideo", "Audio", "Midi", "Mixer", "Sequencer", "Tuner", "Video", "TV", "AudioVideoEditing", "Player", "Recorder", "DiscBurning", "Game", "ActionGame", "AdventureGame", "ArcadeGame", "BoardGame", "BlocksGame", "CardGame", "KidsGame", "LogicGame", "RolePlaying", "Simulation", "SportsGame", "StrategyGame", "Education", "Art", "Construction", "Music", "Languages", "Science", "Astronomy", "Biology", "Chemistry", "Geology", "Math", "MedicalSoftware", "Physics", "Teaching", "Amusement", "Applet", "Archiving", "Electronics", "Emulator", "Engineering", "FileManager", "Shell", "ScreenSaver", "TeminalEmulator", "TrayIcon", "System", "Filesystem", "Monitor", "Security", "Utility", "Accessibility", "Calculator", "Clock", "TextEditor", "KDE", "GNOME", "GTK", "Qt", "Motif", "Java", "ConsoleOnly" (found "Application")
desktop-file-install created an invalid desktop file!
Use of uninitialized value in addition (+) at /usr/bin/vmware-config.pl line 802, <STDIN> line 3.
Unable to install the .desktop menu entry file. You must add it to your menus byhand.
Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel.  Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

The path "/usr/src/linux/include" is not an existing directory.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux-headers-2.6.18-4/include

The path "/usr/src/linux-headers-2.6.18-4/include" is a kernel header file
directory, but it does not contain the file "linux/version.h" as expected.  Thiscan happen if the kernel has never been built, or if you have invoked the "make
mrproper" command in your kernel directory.  In any case, you may want to
rebuild your kernel.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux-headers/2.6.18-4-686/include

The path "/usr/src/linux-headers/2.6.18-4-686/include" is not an existing
directory.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux-headers-2.6.18-4-686/include

The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.18-4-686).  Even if the module were to compile
successfully, it would not load into the running kernel.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

-----------------------------------------------------------
最后这点我 无论输什么都通不过,只有按ctrl+C 退出。
在/usr/src/有三个文件来:
linux-headers-2.6.18-4-686
linux-headers-2.6.18-4
linux-headers-2.6.18(这个里面没有include目录)
回复 支持 反对

使用道具 举报

发表于 2007-7-2 11:45:57 | 显示全部楼层
apt-get install linux-headers-`uname -r`
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-7-2 21:20:37 | 显示全部楼层
这个输错了,请版主删除
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表