- 浏览: 688377 次
- 性别:
- 来自: 北京
文章分类
最新评论
-
qgm168:
...
Ruby中HmacMD5加密 -
lucky_god:
感谢楼主,写的很详细!
Redhat安装gem包报错“no such file to load — zlib”以及ruby的openssl扩展等错误的修正 -
liaozhaijk:
$("某一个dom").change() ...
jquery绑定input 文本域(text),检测值的变化 -
avalonzst:
...
Mysql启动失败Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysq -
zdz8207:
非常感谢,我的也是磁盘满了导致的问题,顺便分享下查看磁盘的命令 ...
Mysql启动失败Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysq
打开光盘目录,解压tools的压缩包文件
进入目录运行命令
一路回车
出现的问题一:
指定到特定的目录
出现问题二:
解决
在目录
/usr/src/linux-headers-2.6.35-28-generic-pae/include/linux
下面有一个version.h 的文件,打开内容是
将下面的文字加到此文件的第一行
其中"2.6.35-28-generic-pae"这个是通过命令
这个文件修改完成之后,出现了新的错误提示
出现问题三
解决:
把文件夹/usr/src/linux-headers-2.6.35-28-generic-pae/include/generated下的autoconf.h
文件复制到/usr/src/linux-headers-2.6.35-28-generic-pae/include/linux这个目录下面
在继续运行出现的新的错误
一路回车,错误循环出现
问题四
其实当运行到下面的时候选择no就可以顺利通过了
这里选择n就可以了
它跳过了
Detected X.org version 7.8.0.
No drivers for X.org version: 7.8.0.
Skipping X configuration because X drivers are not included.
这个东西的配置,但是其他的都配置好了
终于出现了,拭目以待的这个玩意
虽然还是有一点瑕疵,但是最终还是解决的这个问题
后来听说vMware7 解决了这个问题,不过这个过程也算是增长了不少知识
http://blog.csdn.net/yzhuqing/article/details/5962312
Ubuntu 10.10 在安装的时候目前会碰到几个问题:
Console代码
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”
Console代码
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喝当前系统使用的版本不匹配。
Console代码
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 安装程序预设的寻址目录中。
Console代码
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 ./
然后应该能顺利完成安装了。
进入目录运行命令
sudo ./vmware-install.pl
一路回车
出现的问题一:
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.35-28-generic-pae/include
出现问题二:
The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match your running kernel (version 2.6.35-28-generic-pae). Even if the module were to compile successfully, it would not load into the running kernel.
解决
在目录
/usr/src/linux-headers-2.6.35-28-generic-pae/include/linux
下面有一个version.h 的文件,打开内容是
#define LINUX_VERSION_CODE 132643 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
将下面的文字加到此文件的第一行
#define UTS_RELEASE "2.6.35-28-generic-pae"
其中"2.6.35-28-generic-pae"这个是通过命令
uname -r查到的
这个文件修改完成之后,出现了新的错误提示
出现问题三
The path "/usr/src/linux-headers-2.6.35-28-generic-pae/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.
解决:
把文件夹/usr/src/linux-headers-2.6.35-28-generic-pae/include/generated下的autoconf.h
文件复制到/usr/src/linux-headers-2.6.35-28-generic-pae/include/linux这个目录下面
在继续运行出现的新的错误
一路回车,错误循环出现
问题四
If you would like the host to guest drag and drop and file copy/paste features, you can install the driver by running vmware-config-tools.pl again after making sure that gcc, binutils, make and the kernel sources for your running kernel are installed on your machine. These packages are available on your distribution's installation CD.
其实当运行到下面的时候选择no就可以顺利通过了
None of the pre-built vmci modules for VMware Tools is suitable for your running kernel. Do you want this program to try to build the vmci module for your system (you need to have a C compiler installed on your system)? [yes][color=red] n[/color]
这里选择n就可以了
它跳过了
Detected X.org version 7.8.0.
No drivers for X.org version: 7.8.0.
Skipping X configuration because X drivers are not included.
这个东西的配置,但是其他的都配置好了
终于出现了,拭目以待的这个玩意
The configuration of VMware Tools 7.8.5 build-156735 for Linux for this running kernel completed successfully. You must restart your X session before any mouse or graphics changes take effect. You can now run VMware Tools by invoking the following command: "/usr/bin/vmware-toolbox" during an X server session. To enable advanced X features (e.g., guest resolution fit, drag and drop, and file and text copy/paste), you will need to do one (or more) of the following: 1. Manually start /usr/bin/vmware-user 2. Log out and log back into your desktop session; and, 3. Restart your X session. If the virtual printer feature is enabled, you will need to restart the CUPS service to make use of this feature. Enjoy, --the VMware team
虽然还是有一点瑕疵,但是最终还是解决的这个问题
后来听说vMware7 解决了这个问题,不过这个过程也算是增长了不少知识
http://blog.csdn.net/yzhuqing/article/details/5962312
引用
Ubuntu 10.10 在安装的时候目前会碰到几个问题:
Console代码
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”
Console代码
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喝当前系统使用的版本不匹配。
Console代码
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 安装程序预设的寻址目录中。
Console代码
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 ./
然后应该能顺利完成安装了。
发表评论
-
反向代理的nginx日志设置显示源ip
2018-12-03 14:35 2259外层代理A设置为 location /*** { ... -
ubuntu下中文文件乱码
2015-12-01 13:36 1384从windows上传上去的文件名如果是中文会有乱码的情况出现, ... -
Redhat远程sftp连接失败
2015-11-23 09:40 2753服务器设置ssh之后,远程sftp连接失败 引用 Connec ... -
Ubuntu下rails程序链接oracle数据库
2015-09-17 15:32 2453rails支持oracle数据库连接 一、下载安装(解压)依 ... -
ubuntu设置为unity 2D
2015-01-29 17:06 1065vbox安装完ubuntu之后,unity 3d支持不好 编 ... -
ubuntu中ruby使用文字生成图片以及汉字不显示(或者乱码)的问题
2014-12-23 10:29 2266ruby中使用IMGKit这个gem可以完成文字以及html生 ... -
alias在bashrc中设置后无效的问题
2014-09-02 09:32 2142在用户目录的.bashrc中添加一一堆alias命令,但是每次 ... -
linux系统性能监控
2014-06-03 16:18 980linux服务器在运转过程中,总要监控一些性能方面的东西,比如 ... -
Ubuntu的crontab日志
2013-10-12 12:36 1200Ubuntu的crontab日志是关闭的 打开crontab日 ... -
vim安装airline插件
2013-09-02 17:58 7826https://github.com/bling/vim-ai ... -
vim安装FuzzyFinder 插件
2013-09-02 14:29 2345FuzzyFinder 是一个非常强大的Vim插件 安装Fuz ... -
vim安装command-t插件
2013-09-02 13:05 4708commnad-t是一个很好的vim插件 安装的步骤似乎很简 ... -
使用Linux的logrotate拆分rails、nginx的log日志
2013-08-30 10:43 1947使用Linux的logrotate拆分rails、nginx的 ... -
libiconv.so.2 cannot open shared object file: No such file or directory
2013-08-02 17:04 4118libiconv.so.2: cannot open shar ... -
(转)Centos安装Git
2013-03-07 14:37 4227centos安装git 下载源代码安装后,git clo ... -
Curl和Wget访问HTTPS连接出现Unable to establish SSl connection错误
2013-03-07 11:22 34465问题如题: 解决方案: 他们都可以跳过这个验证 wget 使用 ... -
wkhtmltopdf 说明文档
2015-08-17 16:56 3506wkhtmltopdf 0.9.6 Manual This ... -
wkhtmltopdf专成pdf文件之后的页码显示问题
2012-08-29 11:06 3163在页面header或者footer上面添加page(当前页数) ... -
linux的一些命令 -查看cc攻击-网口ip统计等
2014-08-14 09:44 12733Linux判断CC攻击命令详解 2011年12月23日 ⁄ 安 ... -
vim使用笔记
2011-10-28 10:54 22711 首先 安装vim 安装vim很简单的命令 sudo ...
相关推荐
Ubuntu 10.10在2010年10月正式发布,让众多Ubuntu用户都对这款全新的系统充满期望。毕竟,Ubuntu 10.10是Canonical公司推出的最为用户友好的系统,而且为它添加了很多新的功能。 熟悉Ubuntu系统的用户了解,在...
在U盘中安装Ubuntu 10.10的方法
VMware安装Ubuntu10.10和Oracle11gr1.doc
Ubuntu 10.10安装配置tftp服务.doc
Ubuntu 10.10的安装图解过程Ubuntu 10.10的安装图解过程
ubuntu10.10中不能安装VMware Tools的解决方案
vmware下安装ubutu10.10详细解说
自己整理的Ubuntu安装指南。希望对大家有帮助
ubuntu10.10安装配置全过程图文详解
VMware 11 安装MAC OS 10.10
Ubuntu_10.10_完整安装分区图解
U盘安装ubuntu10.10图文教程
windows_XP下安装Ubuntu10.10
ubuntu-10.10镜像文件下载链接
VMware12 安装 macos 10.10、10.11、10.12 后可用的 VMware Tools
VMware 10虚拟机安装MAC OS X10.10图文教程
在VMware Workstation环境下安装苹果系统(Apple OS)是Windows操作系统中体验苹果系统的流行方式。网上VMware Workstation 10安装Apple OS X 10.9以前版本资料较多,但安装Apple OS X 10.10的教程比较少,本人参照...