centos 安装vmware tools灰色 怎么安装变灰色

温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!&&|&&
LOFTER精选
网易考拉推荐
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
mkdir /mnt/cdrom挂载光驱mount -t auto /dev/cdrom /mnt/cdrom这命令就是把CentOS CDROM挂载在/mnt/cdrom目录中,就可以访问里面的内容了;使用光驱中的文件,进行安装[root@CentOS6 /]# cd /mnt/cdrom[root@CentOS6 /]# ls -a[root@CentOS6 /]# cp VMwareTools-8.6.1-19175.tar.gz /tmp[root@CentOS6 /]# cd /tmp[root@CentOS6 /]# tar zxpf VMwareTools-8.6.1-19175.tar.gz[root@CentOS6 /]# cd vmware-tools-distrib[root@CentOS6 vmware-tools-distrib]# ./vmware-install.plCreating a new installer database using the tar3 format.Installing the content of the package.&# 安装过程的画面,全部使用默认值,一直按 Enter 就对了一直到出现:To use the vmxnet driver, restart networking using the following commands:/etc/init.d/network stoprmmod pcnet32rmmod vmxnetdepmod -amodprobe vmxnet/etc/init.d/network startEnjoy,--the VMware team出现以上,则基本安装完!5 shutdown -r now 重启6 重新启动计算机再次登入之后,我们就会发觉到,当我们要离开 Guest OS 的时候,不再需要按「Ctrl + Alt」了,现在我们来分享 Host OS 的数据夹给 Guest OS 使用,〔VM〕→〔Settings〕注:左下角原本都会显示「You do not have VMware Tools installed」,现在我们装了 VMware Tools,就不再显示;問題排除:1. 需要 perl2. 需要 gcc3. 如果不是用指令解壓縮, 要注意解出來的檔案script是否執行的權限. 用 tar -zxvf 比較保險.
阅读(14944)|
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
历史上的今天
loftPermalink:'',
id:'fks_',
blogTitle:'CentOS安装VMware Tools',
blogAbstract:'新建cdrom挂载目录mkdir /mnt/cdrom挂载光驱mount -t auto /dev/cdrom /mnt/cdrom这命令就是把CentOS CDROM挂载在/mnt/cdrom目录中,就可以访问里面的内容了;使用光驱中的文件,进行安装',
blogTag:'',
blogUrl:'blog/static/',
isPublished:1,
istop:false,
modifyTime:6,
publishTime:4,
permalink:'blog/static/',
commentCount:0,
mainCommentCount:0,
recommendCount:1,
bsrk:-100,
publisherId:0,
recomBlogHome:false,
currentRecomBlog:false,
attachmentsFileIds:[],
groupInfo:{},
friendstatus:'none',
followstatus:'unFollow',
pubSucc:'',
visitorProvince:'',
visitorCity:'',
visitorNewUser:false,
postAddInfo:{},
mset:'000',
remindgoodnightblog:false,
isBlackVisitor:false,
isShowYodaoAd:false,
hostIntro:'',
hmcon:'0',
selfRecomBlogCount:'0',
lofter_single:''
{list a as x}
{if x.moveFrom=='wap'}
{elseif x.moveFrom=='iphone'}
{elseif x.moveFrom=='android'}
{elseif x.moveFrom=='mobile'}
${a.selfIntro|escape}{if great260}${suplement}{/if}
{list a as x}
推荐过这篇日志的人:
{list a as x}
{if !!b&&b.length>0}
他们还推荐了:
{list b as y}
转载记录:
{list d as x}
{list a as x}
{list a as x}
{list a as x}
{list a as x}
{if x_index>4}{break}{/if}
${fn2(x.publishTime,'yyyy-MM-dd HH:mm:ss')}
{list a as x}
{if !!(blogDetail.preBlogPermalink)}
{if !!(blogDetail.nextBlogPermalink)}
{list a as x}
{if defined('newslist')&&newslist.length>0}
{list newslist as x}
{if x_index>7}{break}{/if}
{list a as x}
{var first_option =}
{list x.voteDetailList as voteToOption}
{if voteToOption==1}
{if first_option==false},{/if}&&“${b[voteToOption_index]}”&&
{if (x.role!="-1") },“我是${c[x.role]}”&&{/if}
&&&&&&&&${fn1(x.voteTime)}
{if x.userName==''}{/if}
网易公司版权所有&&
{list x.l as y}
{if defined('wl')}
{list wl as x}{/list}CentOS安装VMwareTool
CentOS安装VMwareTool挺麻烦的,由于系统的差别,安装很多不成功,而且网上很多方法都不适用。
首先要安装gcc和kernel,尽量把环境装完整
install gcc gcc-c++ automake make -y
&&& # yum update
install kernel-devel kernel-header -y
这样应该就不会缺少什么了,很多时候都是卡在kernel这里,有的系统已经安装了kernel,但是却依然无法安装VMwareTool,所以这里需要升级并且全部install一遍。
然后在虚拟机菜单中单击“Install VMware Tool”,在命令行下挂载光驱
&&& #mount
/dev/cdrom /mnt&& (注意空格)
进入光盘(/mnt),将文件拷贝出来(这里拷贝到tmp文件夹下)
VMwareTool-***.tar.gz /tmp
进入tmp文件夹,解压文件
&&& #tar -zxf
VMwareTool-***.tar.gz
进入解压后的文件夹,进行安装
#./vmware-install.pl
就开始安装了。
已投稿到:
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。虚拟机中的Linux安装VMware Tools的方法
作者:佚名
字体:[ ] 来源:互联网 时间:07-10 19:19:25
这篇文章主要介绍了虚拟机中的Linux安装VMware Tools的方法,需要的朋友可以参考下
Linux VMware Tools安装步骤简易版Linux VMware Tools安装估计有点困难,我也在网上看了好多版本的Linux安装VMware Tools,方法都一样。但是自己在安装过程中,还是遇到了点问题。但是最终还是搞定。我运行的是VMware workstation 8.0.4 , OS: CentOS 6.0
1. 在CD-ROM虚拟光驱中选择使用ISO镜像,找到VMWARE TOOLS 安装文件,如C:\program\VMware\VMware Workstation\Programs\linux.iso&&& 当然这个ISO是你安装VMware workstation 的目录下的Linux.iso,不是你的Linux OS 镜像文件。VMware Tools一般都在这个文件里。
2. 以管理员身份进入Linux,root账号
3. 退出到windows,在虚拟机菜单栏中点击 虚拟机-& 安装 VMWARE TOOLS 子菜单,会弹出对话框,点击&确认& 安装4. 挂载光驱:Mount -t iso9660 /dev/cdrom /mnt
&&&&&&&&&&&&&&& 加载CDROM设备,这是如果进入/mnt 目录下,你会发现一个文件:
&&&&&&&&&&&&&&&&& VMwareTools-8.8.4-743747.tar.gz
&&&&&&&&&&&&&&&&&&& 这个就死VMware Tools的Linux软件包,也是我们刚才使用的WinISO打开的Liunx.ISO
&&& 有的虚拟机上估计执行mount /dev/cdrom /mnt/cdrom
&&& 如果提示如下错误,挂载点不存在。,[root@localhost /]#mount /dev/cdrom /mnt/cdrom&&&&&&&&&&&&&&&&&&&&&&&&&&&& mount: mount point /mnt/cdrom dose not exist
&& 请直接执行此命令:
&&&& mount /dev/cdrom /opt&&&& cd /opt或者应该可以使用自动挂载,直接进入&&&& cd /misc/cd
5. copy 此文件到临时文件夹
&& cp /mnt/mVMwareTools-8.8.4-743747.tar.gz /tmp
6. 卸载CDROM,执行 umount /dev/cdrom
7. 进入tmp文件目录并解压此文件包
&& cd /tmp
&& tar zxf vmware-linux-tools.tar.gz
&& 解压默认到vmware-tools-distrib目录下:此时你可以使用ls -ll 查看文件夹下的文件
8. 进入vmware-tools-distrib,安装vmware tools.
&&& ./vmware-install.pl& 执行安装,
&&& 安装过程中他会一步一步的有问题回应,此过程中,你遇到后面显示[yes],[no],[yes][no]的直接输入yes,然后回车。其他的问题不管[]里面是什么,直接回车就好了,不要输入。
9. 大约5分钟左右安装完成。 执行init 6重启ok。Linux VMware Tools安装步骤图文版,大家可以参考下
操作过程如下:
[root@localhost&~]#&cd&/[root@localhost&/]#&lsbin&&&dev&home&lost+found&misc&net&proc&sbin&&&&&srv&tftpboot&usrboot&etc&lib&&&media&&&&&&&mnt&&&opt&root&selinux&sys&tmp&&&&&&&var[root@localhost&/]#&cd&/media[root@localhost&media]#&lsVMware&Tools[root@localhost&media]#&cd&VMware\&Tools/[root@localhost&VMware&Tools]#&lsmanifest.txt&VMwareTools-8.1.3-203739.tar.gz[root@localhost&VMware&Tools]#&cp&VMwareTools-8.1.3-203739.tar.gz&&&&/tmp[root@localhost&VMware&Tools]#&cd&/tmp[root@localhost&tmp]#&lsgconfd-root&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&scim-helper-manager-socket-rootkeyring-lbbFvv&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&scim-panel-socket:0-rootmapping-root&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&scim-socket-frontend-rootorbit-root&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&ssh-FmnVlj2751scim-bridge-0.3.0.lockfile-0@localhost:0.0&virtual-root.ZxmHUVscim-bridge-0.3.0.socket-0@localhost:0.0&&&&VMwareTools-8.1.3-203739.tar.gz[root@localhost&tmp]#&tar&-zxf&VMwareTools-8.1.3-203739.tar.gz&[root@localhost&tmp]#&lsgconfd-root&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&scim-panel-socket:0-rootkeyring-lbbFvv&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&scim-socket-frontend-rootmapping-root&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&ssh-FmnVlj2751orbit-root&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&virtual-root.ZxmHUVscim-bridge-0.3.0.lockfile-0@localhost:0.0&VMwareTools-8.1.3-203739.tar.gzscim-bridge-0.3.0.socket-0@localhost:0.0&&&&vmware-tools-distribscim-helper-manager-socket-root[root@localhost&tmp]#&cd&vmware-tools-distrib/[root@localhost&vmware-tools-distrib]#&lsbin&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]&yes&&&
The&path&&yes&&is&a&relative&path.&Please&enter&an&absolute&path.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&&yes&&is&a&relative&path.&Please&enter&an&absolute&path.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]&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/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]&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&thatcreates&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]&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&&1440&x&900&.Please&choose&one&of&the&following&display&sizes&that&X&will&start&with:[1]&&320x200&[2]&&320x240&[3]&&400x300&[4]&&512x384&[5]&&640x400&[6]&&640x480&[7]&&720x480&[8]&&800x480&[9]&&854x480&[10]&&720x576&[11]&&800x600&[12]&&&[13]&&&[14]&&&[15]&&&[16]&&&[17]&&&&Please&enter&a&number&between&1&and&17:[17]&12&&&X&Window&System&Version&7.1.1Release&Date:&12&May&2006X&Protocol&Version&11,&Revision&0,&Release&7.1.1Build&Operating&System:&Linux&2.6.18-128.1.16.el5&i686&Red&Hat,&Inc.Current&Operating&System:&Linux&localhost.localdomain&2.6.18-164.el5&#1&SMP&Tue&Aug&18&15:51:54&EDT&Build&Date:&22&July&2009Build&ID:&xorg-x11-server&1.1.1-48.67.el5&Before&reporting&problems,&check&http://wiki.x.orgto&make&sure&that&you&have&the&latest&version.Module&Loader&presentMarkers:&(--)&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.16172&,&Time:&Thu&Apr&1&02:40:28&2010(++)&Using&config&file:&&/tmp/vmware-config0/XF86Config.16172&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&fieldsErrors&from&xkbcomp&are&not&fatal&to&the&X&serverX&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.Starting&VMware&Tools&services&in&the&virtual&machine:Switching&to&guest&configuration:&&&&&&&&&&&&&&&&&&&&&&&[确定]Paravirtual&SCSI&module:&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&[确定]Guest&filesystem&driver:&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&[确定]Mounting&HGFS&shares:&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&[失败]Guest&memory&manager:&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&[确定]Guest&vmxnet&fast&network&device:&&&&&&&&&&&&&&&&&&&&&&&[确定]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&runningkernel&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-user2.&Log&out&and&log&back&into&your&desktop&&and,3.&Restart&your&X&session.To&use&the&vmxnet&driver,&restart&networking&using&the&following&commands:&/etc/init.d/network&stoprmmod&pcnet32rmmod&vmxnetmodprobe&vmxnet/etc/init.d/network&startEnjoy,--the&VMware&teamFound&VMware&Tools&CDROM&mounted&at&/media/VMware&Tools.&Ejecting&device&/dev/hdc&...[root@localhost&vmware-tools-distrib]#&
大家感兴趣的内容
12345678910
最近更新的内容you have been blocked查看: 4780|回复: 5
虚拟机安装centos 的vm tools 完了.怎么复制不了命令?
./vmware-install.pl&&执行安装命令
一路回车.一回yes
安装完后. 重启. 为什么还复制不了命令. 蛋疼啊.
改变硬件兼容?
重装VMwart tools?
找到解决办法了.&&安装openssh&&然后用PUTTY连接
话说虚拟机centos 上 安装的网站. 比如IP是 192.168.1.111& &&&在主机上怎么访问192.168.1.111 这个网站??
安装花生壳?
貌似CentOS只有在桌面环境下才能复制吧,命令的环境下是不能复制粘贴的...只能用Putty
Powered by}

我要回帖

更多关于 centos7 vmware tools 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信