在CentOS_Linux版虚拟机中安装VMTools工具
因为它可以改善 Virtual Machine 的运行性能,而且可以让 本地的OS 和 CentOS 互通有无,这样我们就不用伤脑筋,要架设什么服务器,来沟通两个 OS,现在就让我们开始吧!
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: /dev/cdrom already mounted or /mnt busy
mount: according to mtab, /dev/hdc is already mounted on /mnt
[root@localhost ~]# cp /mnt/VMwareTools-6.0.2-59824.tar.gz /tmp //将该软件包拷贝到CentOS的tmp目录下
[root@localhost ~]# cd /tmp #进入tmp目录
[root@localhost tmp]# tar zxf VMwareTools-6.0.2-59824.tar.gz //压缩该软件包,默认解压到vmware-linux-distrib目录下(与文件名同名)。
[root@localhost tmp]# ls //查看一下tmp目录下的文件和文件夹
gconfd-root scim-panel-socket:0-root
keyring-7JZqvI scim-socket-frontend-root
keyring-ReIvNv ssh-YBJsXe2479
keyring-uVhSan virtual-root.fEFapV
mapping-root virtual-root.KivsMu
orbit-root virtual-root.SjEmT1
scim-bridge-0.3.0.lockfile-0@localhost:0.0 VMwareTools-6.0.2-59824.tar.gz
scim-bridge-0.3.0.socket-0@localhost:0.0 vmware-tools-distrib
scim-helper-manager-socket-root
[root@localhost tmp]# cd vmware-tools-distrib //进入vmware-tools-distrib 文件夹
[root@localhost vmware-tools-distrib]# ls //查看文件夹中的文件,找到对应的安装文件 *.pl(这里是vmware-install.pl)
bin doc etc FILES INSTALL installer lib vmware-install.pl
[root@localhost vmware-tools-distrib]# ./vmware-install.pl //开始安装
Creating a new VMware Tools installer database using the tar4 format.
Installing VMware Tools.
In which directory do you want to install the binary files? //遇到这样的直接回车就可以了
[/usr/bin]
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/sbin]
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] yes
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes] yes
The installation of VMware Tools 6.0.2 build-59824 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes] yes
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [ 确定 ]
Trying to find a suitable vmmemctl module for your running kernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.
Trying to find a suitable vmhgfs module for your running kernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.
pcnet32 30409 0
Unloading pcnet32 module
Trying to find a suitable vmxnet module for your running kernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.
Trying to find a suitable vmblock module for your running kernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.
[EXPERIMENTAL] The VMware CPU Time Accounting daemon (vmware-vmdesched) can
help increase the accuracy of CPU time accounting performed by the guest
operating system. Please refer to the VMware Knowledge Base for more details on
this capability. Do you wish to enable this feature? [no] no
[EXPERIMENTAL] The Virtual Machine Communication Interface (VMCI) service
provides a new communication capability with the Host, primarily for
development at the moment. Would you like to enable this feature? [no] no
Detected X.org version 6.8.
Please choose one of the following display sizes that X will start with (1 -
15):
[1] "640x480"
[2] "800x600"
[3] "1024x768"
[4] "1152x864"
[5]< "1280x800"
[6] "1152x900"
[7] "1280x1024"
[8] "1376x1032"
[9] "1400x900"
[10] "1400x1050"
[11] "1440x900"
[12] "1680x1050"
[13] "1600x1200"
[14] "1920x1200"
[15] "2364x1773"
Please enter a number between 1 and 15:
[5] 3
X Window System Version 6.8.1
Release Date: 17 September 2004
X Protocol Version 11, Revision 0, Release 6.8.1
Build Operating System: Linux 2.6.9-1.860_ELsmp i686 [ELF]
Current Operating System: Linux localhost.localdomain 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686
Build Date: 09 December 2004
Build Host: tweety.build.redhat.com
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.9-5.EL (bhcompile@decompose.build.redhat.com) (gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)) #1 Wed Jan 5 19:22:18 EST 2005 P
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.3037", Time: Tue Jul 14 16:14:32 2009
(++) Using config file: "/tmp/vmware-config0/XF86Config.3037"
X is running fine with the new config file.
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: [ 确定 ]
Guest filesystem driver: [ 确定 ]
Mounting HGFS shares: [失败]
Guest memory manager: [ 确定 ]
Guest vmxnet fast network device: [ 确定 ]
Blocking file system: [ 确定 ]
DMA setup: [ 确定 ]
Guest operating system daemon: [ 确定 ]
The configuration of VMware Tools 6.0.2 build-59824 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 use the vmxnet driver, restart networking using the following commands:
/etc/init.d/network stop
rmmod pcnet32
rmmod vmxnet
modprobe vmxnet
/etc/init.d/network start
To make use of the virtual printer, you will need to restart the CUPS service
Enjoy,
--the VMware team
在「/mnt/hgfs」文件夹,看到了刚刚共享的文件夹“text” ...到这里,此实验就成功完成了。。。
转载于:https://blog.51cto.com/sdbaby/301494
在CentOS_Linux版虚拟机中安装VMTools工具相关推荐
- 虚拟机中安装vmtools工具的命令和相关问题解析
一:vmtools的安装: 1.不安工具的问题 进入操作系统时,你会发现整个图形界面工作在800*600的界面下,鼠标操作很不灵活,而且切换虚拟机与windows之间必须使用ctrl + alt键. ...
- 迅为龙芯2K1000开发板虚拟机ubuntu安装VMtools工具
VMware Tools是VMware软件中自带的一个工具,我们只有在VMware虚拟机中安装好这个工具,才可以实现文件在虚拟机ubuntu和Windows之间的复制,粘贴等操作,并且可以实现根据实际 ...
- Vmware Centos中安装vmtools工具
在Vmware安装虚拟机是很好玩的,可是有时候在虚拟机与本地主机之间相互传递文件时却是一件比较麻烦的事情,这时候我们安装一个vmtools的工具这样我们就可以随意的在虚拟机与主机之间相互拖拽文件,下面 ...
- 虚拟机 之 安装VMTools工具
一 什么是VMtools VM tools顾名思义就是Vmware的一组工具.主要用于虚拟主机显示优化与调整,另外还可以方便虚拟主机与本机的交互,如允许共享文件夹,甚至可以直接从本机向虚拟主机拖放文件 ...
- windows虚拟机_[安装实录]如何在 Vmware虚拟机中安装 macOS Mojave -- Windows 版
Note: 由于 Github 作者删除了破解的文件,现在该安装方法暂时无效.感谢知友西岚有提出一个解决线索,我对 github 不熟,暂时还未能测试.如果你也碰到类似的问题,可以尝试先按照西岚的方法 ...
- PC上虚拟机中安装NW 7.02 ABAP试用版
一,安装前阅读 简介 SAP NetWeaver Application Server ABAP 7.02 SP6 32bit Trial Version (13 Dec 2010) SAP NETW ...
- Linux系列(一): 在虚拟机中安装Ubuntu
系列文章目录 Linux系列(一): 在虚拟机中安装Ubuntu 文章目录 系列文章目录 前言 一.开启Hyper-V 二.下载Ubuntu安装文件 三.虚拟机配置 1. 新建虚拟机 2. 其他设置 ...
- 64位ubuntu能安装mysql,在ubuntu14.04 64位虚拟机中安装mysql
因为在win10 系统上手贱的将mysql卸载掉了之后有个插件一直无法正常删除导致只能将mysql装到ubuntu虚拟机上, 宝宝心里都是累啊,所以记录下来自己的安装过程2333 命令行操作: &qu ...
- 手把手教你在虚拟机中安装JDK和mysql
手把手教你在虚拟机中安装JDK和mysql 安装JDK和mysql Host is not allowed to connect to this MySQL server 卸载mysql服务 安装JD ...
最新文章
- Android中focusable属性的妙用——底层按钮的实现
- 基于WASM的无侵入式全链路A/B Test实践
- 《Head First 设计模式》第十章-状态模式 状态模式
- 促销海报设计模板,可临摹学习!
- hdu5791(DP)
- 沥青防水卷材行业调研报告 - 市场现状分析与发展前景预测
- 疯狂java实验五数据流编程_2017-2018-2 20165209 实验五《网络编程与安全》实验报告...
- 平常学习与实际应用场景
- 《HTML5 Canvas游戏开发实战》——3.3 自定义画板
- 苹果mac屏幕录像软件:ScreenFlow
- 将mysql服务从C盘(原),安装到新路径D盘下(其中的数据一并迁移)
- 网上商城——详细流程
- 74AHC1G32GW 74系列逻辑芯片
- w10系统 怎么快捷搜索服务器,w10系统怎么远程连接服务器
- excel 中英文 显示星期,月份
- easy excel 设置某一列的格式
- 计算机外文文献PDF,computer network 计算机 网络 外文文献.pdf
- python英文文本情感分析_舆情信息浩如烟海?看看如何用Python进行英文文本的情感分析...
- LIRO:紧耦合激光-惯性-测距里程计
- GsonFormat的安装及使用
热门文章
- 一张图读懂“云栖大会·南京峰会”重磅发布产品
- 【图像处理】透视变换 Perspective Transformation
- Shell脚本应用(五)if语句
- 动态验证码制作(RandomCodeImage )
- 渐变显示渐变消失的BackgroundView
- 检索COM 类工厂中CLSID 为{00024500-0000-0000-C000-000000000046}组件时失败
- C#生成CHM文件(外篇使用hha.dll)
- 孩子,来生我们一起走
- WPF MvvmLight简单实例(1) 页面导航
- MATLAB 的条件分支语句