VM的Linux CentOS系统的VMTools的手动安装[转]

一是没时间安装,另外是一直用的是VM的绿色版,里面没有Linux.iso 文件

今天晚上安装上了 linux 的vmtools ,再也不用按 Ctrl+Alt 了 也不用看800 X 600的桌面了!

在vmware安装vmware tools,如果直接安装VMTools工具不成功,那么就需要手工安装。


1. 以ROOT身份进入LINUX
2. 退出到windows,点击 SETTING菜单下的ENABLE VMWARE TOOLS子菜单,确认安装
3. 使用虚拟光驱加载iso镜像,路径为d:linux.iso
4. 进入linux运行在终端执行如下语句,将tar.gz 复制到/tmp目录下: 因为在cdrom文件下没的可执行权限!

    cp VMwareTools-8.1.3-203739.tar.gz /tmp

5. cd /tmp     进入TMP目录

6. tar zxf vmware-linux-tools.tar.gz

    解压缩该软件包,默认解压到 vmware-tools-distrib目录下(与文件名同名)。
cd  vmware-tools-distrib  进入解压后的目录

7. 执行安装文件
[root@localhost vmware-tools-distrib]# ./INSTALL

如果你的EngLish好的话,就根据自己需要配置一下,如果不是很懂EngLish的话你一直按回车就行了!

安装好后,重启linux 生效!

 

我的安装过程:

 

[root@localhost m]# copy vm.tar.gz /tmp
bash: copy: command not found
[root@localhost m]# cp VM.tar.gz /tmp
[root@localhost m]# cd /tmp
[root@localhost tmp]# ls
gconfd-root                                 scim-helper-manager-socket-root
keyring-rNk1Rx                              scim-panel-socket:0-root
mapping-root                                scim-socket-frontend-root
orbit-root                                  ssh-TWjXMV5315
virtual-root.EzCSaH
VM.tar.gz
[root@localhost tmp]# tar zxf vm.tar.gz
tar: vm.tar.gz:无法 open: 没有那个文件或目录
tar: 错误不可恢复:现在退出
tar: Child returned status 2
tar: 由于前面延迟的错误而退出
[root@localhost tmp]# tar zxf VM.tar.gz
[root@localhost tmp]# ls
gconfd-root                                 scim-panel-socket:0-root
keyring-rNk1Rx                              scim-socket-frontend-root
mapping-root                                ssh-TWjXMV5315
orbit-root                                  virtual-root.EzCSaH
VM.tar.gz
vmware-tools-distrib
scim-helper-manager-socket-root
[root@localhost tmp]# cd vmware-tools-distrib
[root@localhost vmware-tools-distrib]# ls
bin  doc  etc  FILES  INSTALL  installer  lib  vmware-install.pl
[root@localhost vmware-tools-distrib]# ./INSTALL
bash: ./INSTALL: 权限不够
[root@localhost vmware-tools-distrib]# ls -l
总计 532
drwxr-xr-x  2 root root   4096 2009-10-22 bin
drwxr-xr-x  2 root root   4096 2009-10-22 doc
drwxr-xr-x  3 root root   4096 2009-10-22 etc
-r–r–r–  1 root root 517698 2009-10-22 FILES
lrwxrwxrwx  1 root root     13 02-11 22:44 INSTALL -> ./doc/INSTALL
drwxr-xr-x  2 root root   4096 2009-10-22 installer
drwxr-xr-x 17 root root   4096 2009-10-22 lib
lrwxrwxrwx  1 root root     31 02-11 22:44 vmware-install.pl -> ./bin/vmware-uninstall-tools.pl
[root@localhost vmware-tools-distrib]# chmod 755 INSTALL
[root@localhost vmware-tools-distrib]# ls -l
总计 532
drwxr-xr-x  2 root root   4096 2009-10-22 bin
drwxr-xr-x  2 root root   4096 2009-10-22 doc
drwxr-xr-x  3 root root   4096 2009-10-22 etc
-r–r–r–  1 root root 517698 2009-10-22 FILES
lrwxrwxrwx  1 root root     13 02-11 22:44 INSTALL -> ./doc/INSTALL
drwxr-xr-x  2 root root   4096 2009-10-22 installer
drwxr-xr-x 17 root root   4096 2009-10-22 lib
lrwxrwxrwx  1 root root     31 02-11 22:44 vmware-install.pl -> ./bin/vmware-uninstall-tools.pl
[root@localhost vmware-tools-distrib]# INSTALL
bash: INSTALL: command not found
[root@localhost vmware-tools-distrib]# ./INSTALL
./INSTALL: line 1: syntax error near unexpected token `C’
./INSTALL: line 1: `Copyright (C) 1998-2008 VMware, Inc.  All Rights Reserved.’
[root@localhost vmware-tools-distrib]# ./vmware-install.pl
A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

You have a version of VMware Tools installed.  Continuing this install will
first uninstall the currently installed version.  Do you wish to continue?
(yes/no) [yes] y

Uninstalling the tar installation of VMware Tools.

Skipping VMware Tools services shutdown on the host:       [确定]

The removal of VMware Tools 6.0.4 build-93057 for Linux completed successfully.
Thank you for having tried this software.

Installing VMware Tools.

In which directory do you want to install the binary files?
[/usr/bin/vmtools]

The path “/usr/bin/vmtools” does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]

What is the directory that contains the init scripts?
[/etc/rc.d/init.d]

In which directory do you want to install the daemon files?
[/usr/bin/sbin]

The path “/usr/bin/sbin” does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the library files?
[/usr/bin/lib/vmware-tools]

The path “/usr/bin/lib/vmware-tools” does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the documentation files?
[/usr/bin/doc/vmware-tools]

The path “/usr/bin/doc/vmware-tools” does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] y

The installation of VMware Tools 8.1.3 build-203739 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command:
“/usr/bin/vmtools/vmware-uninstall-tools.pl”.

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: “/usr/bin/vmtools/vmware-config-tools.pl”. Do
you want this program to invoke the command for you now? [yes]
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon:                          [确定]
Virtual Printing daemon:                                [确定]
Unmounting HGFS shares:                                 [确定]
Guest filesystem driver:                                [确定]
Found a compatible pre-built module for vmmemctl.  Installing it…
Found a compatible pre-built module for vmhgfs.  Installing it…
Found a compatible pre-built module for vmxnet.  Installing it…
Found a compatible pre-built module for vmblock.  Installing it…
[EXPERIMENTAL] The VMware FileSystem Sync Driver (vmsync) is a new feature that
creates backups of virtual machines. Please refer to the VMware Knowledge Base
for more details on this capability. Do you wish to enable this feature?
[no] y

Found a compatible pre-built module for vmsync.  Installing it…
Found a compatible pre-built module for vmci.  Installing it…
Found a compatible pre-built module for vsock.  Installing it…
Found a compatible pre-built module for vmxnet3.  Installing it…
Found a compatible pre-built module for pvscsi.  Installing it…

 
Detected X.org version 7.1.
Host resolution detected as “1366 x 768”.
Please choose one of the following display sizes that X will start with:

[1]  “320×200”
[2]  “320×240”
[3]  “400×300”
[4]  “512×384”
[5]  “640×400”
[6]  “640×480”
[7]  “720×480”
[8]  “800×480”
[9]  “854×480”
[10]  “720×576”
[11]  “800×600”
[12]  “1024×768”
[13]< “1280×720”
Please enter a number between 1 and 13:

[13] 12
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.18-164.11.1.el5 x86_64 Red Hat, Inc.
Current Operating System: Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64
Build Date: 31 March 2010
Build ID: xorg-x11-server 1.1.1-48.76.el5
Before reporting problems, checkhttp://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (–) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: “/tmp/vmware-config0/XF86ConfigLog.6468”, Time: Fri Feb 11 22:48:37 2011
(++) Using config file: “/tmp/vmware-config0/XF86Config.6468”
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Multiple symbols for level 1/group 1 on key <I5F>
>                   Using XF86Sleep, ignoring XF86Standby
> Warning:          Symbol map for key <I5F> redefined
>                   Using last definition for conflicting fields
Errors from xkbcomp are not fatal to the X server

X is running fine with the new config file.

FreeFontPath: FPE “unix/:7100” refcount is 2, should be 1; fixing.
Creating a new initrd boot image for the kernel.
Checking acpi hot plug                                  [确定]
Starting VMware Tools services in the virtual machine:
Switching to guest configuration:                       [确定]
Paravirtual SCSI module:                                [确定]
Guest filesystem driver:                                [确定]
Mounting HGFS shares:                                   [失败]
Guest memory manager:                                   [确定]
VM communication interface:                             [确定]
VM communication interface socket family:               [确定]
Blocking file system:                                   [确定]
File system sync driver:                                [确定]
Guest operating system daemon:                          [确定]
Virtual Printing daemon:                                [确定]

The configuration of VMware Tools 8.1.3 build-203739 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/vmtools/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/vmtools/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.

Enjoy,

–the VMware team

Windows Azure Application申请方法

这个教程是写给使用WP Slug Translate插件的朋友,因为该插件使用的是微软Bing翻译API接口,所以需要使用微软Windows Azure Application的“ClientID”与“ClientSecret”,默认是我申请的那个,每个账户每个月有两百万字符额度,随着使用人数增多,这个额度很可能不够用,目前已经告急!所以还是推荐大家按照下面教程申请,两个步骤缺一不可:

步骤一:订阅“Microsoft Translator”:
地址是:https://datamarket.azure.com/dataset/1899a118-d202-492c-aa16-ba21c33c06cb
点击每月免费的按钮

步骤二:注册你的应用程序:
地址是:https://datamarket.azure.com/developer/applications/register
把“ClientID”与“ClientSecret”记下来

接下来就可以将步骤二中记下来的“ClientID”与“ClientSecret”填入WP Slug Translate插件后台设置页面了。

Windows Blue将支持WWAN/LTE架构

Windows Blue越来越多地出现在众人视线中,也变得不再那么神秘。它是Windows 8的升级代号,将为Windows 8带来更多新功能。日前,MSFKitchen曝光了Windows Blue的更多消息。
MSFKitchen发现,很多微软员工和Intel员工的个人LinkedIn页面上都出现了Windows Blue,虽然并没有太多劲爆消息,不过至少说明它确实是在微软广泛使用的Windows 8下一次更新的内部代号。
从其中一份资料可以看出,Windows Blue将会引入全新的WWAN/LTE架构,以确保OEM厂商可以在笔记本或是平板上使用WWAN/LTE芯片。

打开有些excel文件显示内存和磁盘空间不足的问题解决

打开有些excel文件显示内存和磁盘空间不足的问题解决

两种情况:
1、如果文件是从网上下载的,选择文件右键点击属性,选择解除锁定,再打开文件
2、打开excel,文件–选项–信任中心–信任中心设置,将文件所在位置加入,再打开文件

福昕PDF阅读器中文全面增强版5.4.5.0114

本版特点:
1:基于官方英文版+官方语言包制作
2:去掉启动界面的各种广告图片和连接,干净稳定
3:全面增强:
可选安装PDF工具:用来编辑PDF文件
可选安装PDF生成工具:PDF文件打印机,可以用来制作PDF文件
可选东亚语言支持包+浏览器增强
4:可选设为默认PDF看图软件,卸载自动解除关联

定制版更新
1:更新到官方5.4.5.0114版
2:更新部分未完全汉化的语言部分
3:更新添加PDF文件签名检查工具
4:修正选择界面样式对话框无图片的问题
5:当在64位系统安装的时候自动禁用安装PDF打印机(因为不支持64位)

Foxit Reader_5.4.5_ZQ.exe,大小:16.30MB
115网盘礼包接收地址:http://115.com/lb/5lbkfbm
115网盘礼包码:5lbkfbm

微软发布Windows7 IE10 正式版以及安装所需配置条件

微软正式发布了Windows7版IE10浏览器,这次发布的包括“简体中文”在内的95种语言版本,目前可以直接在官网下载进行安装。Windows7用户也可以在稍后的“系统更新”中获取。
下载地址:
进入官网.[选择(32/64位)下载]
Windows7安装IE 10所需配置条件:
1.具有 1GHz 32 位 (x86) 或 64 位 (x64) 处理器的计算机。
2.Windows 7 Service Pack 1 (SP1) 或更高版本
3.内存至少512 MB
4.硬盘空间 70 MB(32位),120MB(64位)
5.显示屏 256 色 Super VGA (800 x 600) 或更高分辨率的显示器
6.调制解调器或 Internet 连接
7.Microsoft Mouse、 Microsoft IntelliMouse 或可兼容的指针设备

安装完的Office2013/2010实现“零售版和VOL版”相互转化(附永久激活密钥)

很多网友安装了Office的零售版,却要用“KMS或MAK”激活,失败是注定的!对于Office 2013/2010这样体积庞大的软件,如果重新下载/安装着实需要一段时间。下面提供一个简单的办法(微软定制的命令):通过安装“许可证”实现“零售版和VOL版”的相互转化。昨天提供的“KMS镜像”可以激活Office零售版就是这个道理。

Office2013/2010许可证下载:119网盘
Office 2013永久激活密钥:119网盘
 
使用方法:以管理员身份运行相应版本的“Install_License.bat”。
温馨提示:
1.安装“许可证”后,你的Office就会变成“两个版本”——既是零售版又是VOL版,当然使用哪种密钥都可以激活了!
 
2.如果不想显示上图中“两个授权信息”,可以通过命令卸载“相应版本”密钥:
查询密钥后五位(Office 2013):
cscript “%Program Files%Microsoft OfficeOffice15ospp.vbs” /dstatus
卸载密钥(XXXXX表示密钥后五位):
cscript “%Program Files%Microsoft OfficeOffice15ospp.vbs” /unpkey:XXXXX
 
3.这两个版本(零售/VOL版),只需激活其中一个版本。
 
4.点击“更改产品密钥”既可以使用零售版密钥也可用VOL版密钥。

Windows8光盘镜像中“ei.cfg”文件的作用以及“相应参数”的含义

早在Windows7旗舰版镜像的sources目录下就存在“ei.cfg”文件,删除这个文件可以将“旗舰版”变为“五个版本”。在Windows8的镜像(含标准版、专业版)中,不存在“ei.cfg”文件,安装时需要输入密钥才能安装(根据密钥类型,选择安装的版本)。为了省去安装过程中输入密钥的麻烦,可以在Windows8镜像中添加“ei.cfg”文件。下面介绍一下“ei.cfg”这个文件——
标准的ei.cfg文件中有三个参数:[EditionID]、[Channel]、[VL],其中[Channel]是必须要有的,没有这个参数是无法安装的,其他两个参数可以没有。
1.参数[EditionID]指定安装版本,删除[EditionID],安装时会显示“版本列表”。如果保留这个参数,那么它的值必须正确才可以安装。
2.参数[Channel]指定安装协议,填写“Retail、Volume、OEM”都可以,只是安装时显示的文字不同而已,安装完毕后没有影响,但是不能缺少这一参数。
3.参数[VL]表示是否批量授权,“1”表示是,“0”表示否。如果填写其它错误值(非0和1),对安装系统来说没有影响。
——在Windows8“三合一、四合一”版本制作时添加“ei.cfg”文件的作用,想必到这已经很清楚了。

附“ei.cfg”内容示例:
——————-
[EditionID]
Professional

[Channel]
Volume

[VL]
1
——————-

[转小路的]Windows 8中108个运行命令及简要说明

适用范围:
Windows 8
知识点分析:
本文对Windows 8中常用的运行命令进行了汇总和说明。
操作步骤:
1. appwiz.cpl:程序和功能
2. calc:启动计算器
3. certmgr.msc:证书管理实用程序
4. charmap:启动字符映射表
5. chkdsk.exe:Chkdsk磁盘检查(管理员身份运行命令提示符)
6. cleanmgr: 打开磁盘清理工具
7. cliconfg:SQL SERVER 客户端网络实用工具
8. cmstp:连接管理器配置文件安装程序
9. cmd.exe:CMD命令提示符
10. 自动关机命令
Shutdown -s -t 600:表示600秒后自动关机
shutdown -a :可取消定时关机
Shutdown -r -t 600:表示600秒后自动重启
rundll32 user32.dll,LockWorkStation:表示锁定计算机
11. colorcpl:颜色管理,配置显示器和打印机等中的色彩
12. CompMgmtLauncher:计算机管理
13. compmgmt.msc:计算机管理
14. credwiz:备份或还原储存的用户名和密码
15. comexp.msc:打开系统组件服务
16. control:控制面版
17. dcomcnfg:打开系统组件服务
18. Dccw:显示颜色校准
19. devmgmt.msc:设备管理器
20. desk.cpl:屏幕分辨率
21. dfrgui:优化驱动器   Windows 7→dfrg.msc:磁盘碎片整理程序
22. dialer:电话拨号程序
23. diskmgmt.msc:磁盘管理
24. dvdplay:DVD播放器
25. dxdiag:检查DirectX信息
26. eudcedit:造字程序
27. eventvwr:事件查看器
28. explorer:打开资源管理器
29. Firewall.cpl:Windows防火墙
30. FXSCOVER:传真封面编辑器
31. fsmgmt.msc:共享文件夹管理器
32. gpedit.msc:组策略
33. hdwwiz.cpl:设备管理器
34. inetcpl.cpl:Internet属性
35. intl.cpl:区域
36. iexpress:木马捆绑工具,系统自带
37. joy.cpl:游戏控制器
38. logoff:注销命令
39. lusrmgr.msc:本地用户和组
40. lpksetup:语言包安装/删除向导,安装向导会提示下载语言包
41. lusrmgr.msc:本机用户和组
42. main.cpl:鼠标属性
43. mmsys.cpl:声音
44. magnify:放大镜实用程序
45. mem.exe:显示内存使用情况(如果直接运行无效,可以先管理员身份运行命令提示符,在命令提示符里输入mem.exe>d:a.txt 即可打开d盘查看a.txt,里面的就是内存使用情况了。当然什么盘什么文件名可自己决定。)
46. MdSched:Windows内存诊断程序
47. mmc:打开控制台
48. mobsync:同步命令
49. mplayer2:简易widnows media player
50. Msconfig.exe:系统配置实用程序
51. msdt:微软支持诊断工具
52. msinfo32:系统信息
53. mspaint:画图
54. Msra:Windows远程协助
55. mstsc:远程桌面连接
56. NAPCLCFG.MSC:客户端配置
57. ncpa.cpl:网络连接
58. narrator:屏幕“讲述人”
59. Netplwiz:高级用户帐户控制面板,设置登陆安全相关的选项
60. netstat : an(TC)命令检查接口
61. notepad:打开记事本
62. Nslookup:IP地址侦测器
63. odbcad32:ODBC数据源管理器
64. OptionalFeatures:打开“打开或关闭Windows功能”对话框
65. osk:打开屏幕键盘
66. perfmon.msc:计算机性能监测器
67. perfmon:计算机性能监测器
68. PowerShell:提供强大远程处理能力
69. printmanagement.msc:打印管理
70. powercfg.cpl:电源选项
71. psr:问题步骤记录器
72. Rasphone:网络连接
73. Recdisc:创建系统修复光盘
74. Resmon:资源监视器
75. Rstrui:系统还原
76. regedit.exe:注册表
77. regedt32:注册表编辑器
78. rsop.msc:组策略结果集
79. sdclt:备份状态与配置,就是查看系统是否已备份
80. secpol.msc:本地安全策略
81. services.msc:本地服务设置
82. sfc /scannow:扫描错误并复原/windows文件保护
83. sfc.exe:系统文件检查器
84. shrpubw:创建共享文件夹
85. sigverif:文件签名验证程序
86. slui:Windows激活,查看系统激活信息
87. slmgr.vbs -dlv :显示详细的许可证信息
slmgr.vbs -dli :显示许可证信息
slmgr.vbs -xpr :当前许可证截止日期
slmgr.vbs -dti :显示安装ID 以进行脱机激
slmgr.vbs -ipk :(Product Key)安装产品密钥
slmgr.vbs -ato :激活Windows
slmgr.vbs -cpky :从注册表中清除产品密钥(防止泄露引起的攻击)
slmgr.vbs -ilc :(License file)安装许可证
slmgr.vbs -upk :卸载产品密钥
slmgr.vbs -skms :(name[ort] )批量授权
88. snippingtool:截图工具,支持无规则截图
89. soundrecorder:录音机,没有录音时间的限制
90. StikyNot:便笺
91. sysdm.cpl:系统属性
92. sysedit:系统配置编辑器
93. syskey:系统加密,一旦加密就不能解开,保护系统的双重密码
94. taskmgr:任务管理器(旧版)
95. TM任务管理器(新版)
96. taskschd.msc:任务计划程序
97. timedate.cpl:日期和时间
98. UserAccountControlSettings用户账户控制设置
99. utilman:辅助工具管理器
100. wf.msc:高级安全Windows防火墙
101. WFS:Windows传真和扫描
102. wiaacmgr:扫描仪和照相机向导
103. winver:关于Windows
104. wmimgmt.msc:打开windows管理体系结构(WMI)
105. write:写字板
106. wscui.cpl:操作中心
107. wscript:windows脚本宿主设置
108. wuapp:Windows更新
备注:
有些还保留着Windows 7的影子,如:79.sdclt:备份与还原,94. taskmgr:任务管理器(旧版),95. TM:任务管理器(新版)