ubuntu10.10安装VMWare tools
来源:互联网 发布:淘宝显示月销量 编辑:程序博客网 时间:2024/06/05 06:25
1. 安装 Virtual Machine
1.1 通过VMware Infrastructure Web Access登陆vmware
1.2 选择Virtual Machines -> Create Virtual Machine.
1.2.1 给虚拟机取个名字,选择虚拟机文件存放位置
1.2.2 接下来选择 Linux Operation System
1.2.3 分配虚拟机使用的内存大小,我分配 1.5G
1.2.4 配置虚拟机磁盘大小及存储路径,我分配了30G物理硬盘
1.2.5 接下来一路Next ,详细可以参考 这里
1.3 Unbuntu10.10 的安装 ,详细参见 : Ubuntu 10.10 Netbook 安装图解
这里只需要说一下在 “分配磁盘空间” :
建议分配3G左右的SWAP空间; 再分100M专门挂载 /boot
2. Install VMware Tool
安装VMware可以改变虚拟机显示的大小,也可以让真机喝虚拟机实现字符串相互拷贝,相互分享共享目录......
2.1 通过VMware Infrastructure Web Access登陆vmware
2.2 点击虚拟机上的安装vmware tools,回到虚拟机(Ubuntu)桌面回看到一个vmware tools的cdrom图标。
2.3 打开它,复制“vmwaretools....tar.gz”,到 /home/{user} ; 解压为文件夹 vmwaretools....
2.4 查看vmwaretools下的.pl文件是否有执行权限,如果没有则添加
2.5 sudo ./vmware-install.pl
2.6 接下来一路输入YES,直到你看到---the vmware team就可关闭窗口,然后重新启
也可以参考 这里
Ubuntu 10.10 在安装的时候目前会碰到几个问题:
- What is the location of the directory of C header files that match your running
- kernel? [/usr/src/linux/include] <直接按 Enter>
- The path "/usr/src/linux/include" is not an existing directory.
由于 Kernel 版本是 APT 抓下來的最新版,所以会需要输入 “/usr/src/linux-headers-2.6.35-22-generic/include “
要注意的是,VMWare Tools 安装时会询问目前系统使用的 Kernel header,所以如果 /usr/src 下有多个 Kernel header 目录,最好先执行 “uname -r“ 指令,确认应该使用那个本版。另外可以不直接使用 “/usr/src/linux-headers-2.6.35-22-generic/include” ,先 “sudo ln -s /usr/src/linux /usr/src/linux-headers-2.6.35-22-generic/include”
- 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.35-22-generic/include
按回车以后,还是报错说,指定的Kernel headers喝当前系统使用的版本不匹配。
- The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
- your running kernel (version 2.6.35-22-generic). Even if the module were to
- compile successfully, it would not load into the running kernel.
但事实并不是不匹配,而是 Kernel 中有一个变量 UTS_RELEASE 的不存在了。以前这个定义放在 /usr/src/linux-headers-2.6.35-22-generic/include/linux/version.h ,而现在已经移到了/usr/src/linux-headers-2.6.35-22-generic/include/linux/utsrelease.h。所以简单的方法,我们只需要在version.h中添加 #define UTS_RELEASE "2.6.35-22-generic" (具体值使用 “uname -r“ 查看)
接下来继续,又会有新的错误提示!! -_-|| 找不到 autoconf.h 原因是因为 autoconf.h 不再VMware tools 安装程序预设的寻址目录中。
- The path "/usr/src/linux-headers-2.6.35-22-generic/include" is a kernel header
- file directory, but it does not contain the file "linux/autoconf.h" as
- expected. This can 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.
可以简单的把它链接过来:
cd /usr/src/linux-headers-2.6.35-22-generic/include/linux
sudo ln -s ../generated/autoconf.h ./
然后应该能顺利完成安装了。
- ubuntu10.10安装VMWare tools
- ubuntu10.10安装VMWare tools
- ubuntu10.10安装VMWare tools
- vmware tools for linux 在ubuntu10.10中安装问题解决
- 为虚拟机Ubuntu10.10安装VMware tools停在 C header
- Ubuntu10.10中不能安装VMware tools的解决方案
- Ubuntu10 上安装Vmware Tools注意
- 在ubuntu10.04下安装vmware tools
- Ubuntu10.10中安装VMware tools出现问题后如何解决
- 在ubuntu10.10中安装vmware tools后无法共享文件解决方案
- 给虚拟机VMware7.0.1上的Ubuntu10.10安装VMware tools
- ubuntu10.04安装vmware tools无法与主机share问题
- ubuntu10.04 中安装 Vmware Tools
- 安装Ubuntu10.10的vm tools
- Ubuntu11.10安装VMware Tools
- vmware 安装VMware tools
- VMware 安装VMware Tools
- VMware 安装VMware Tools
- 软考前20天会议——学习方法学到了别总装信封里寄出去不管了
- ubuntu10.10中我喜欢的的配置
- 系统调用之一:进入与退出
- 网络拓扑结构设计(五)
- NSIS 的尴尬
- ubuntu10.10安装VMWare tools
- 华为3 COM小型办公室有线局域网方案(二、三、四)
- 51地图标注接口(EZMarker API)
- c#中对象的克隆
- 送给所有需要学英语的朋友—Words Via Subtitle
- 在C#中使用反射调用internal的方法
- ARP欺骗
- android launch mode
- FLASH整站技术点分析和实践-第一期建站集体学习序