解決CentOS系統mini安裝後的虛擬機器工具(VMware Tools)安裝問題

來源:互聯網
上載者:User

標籤:style   http   color   os   ar   for   sp   c   問題   

準備工作,先安裝必要的組件。

yum -y groupinstall "Perl Support"

yum -y install gcc gcc-c++ automake make kernel-devel

 

然後在vCenter裡找到這台伺服器,並掛接VMWARE的升級工具(圖形操作的略掉)。

mkdir /mnt/cdrom
mount -o loop /dev/cdrom /mnt/cdrom
cd /mnt/cdrom

cp VMwareTools*.* /home

---------------------複製完成以後,就可以斷了掛載
umount /mnt/cdrom
rm /mnt/cdrom -rf

 

cd /home

tar zxvf VMwareTools........tgz

cd vm....../

然後安裝即可:

./vmware_install.pl

 

如果一些正常,一路斷行符號就可以了。

 

 

==================================================

Searching for GCC...

The path "" is not valid path to the gcc binary.
Would you like to change it? [yes]
如果出現這個就表明gcc沒有安裝
# yum install gcc gcc-c++ automake make
將編譯環境一次裝好


Searching for a valid kernel header path...
The path "" is not valid.
Would you like to change it? [yes]
如果出現這個就表示kernel-devel包沒有安裝
# yum install


成功安裝VMware tools時的提示如下,一路斷行符號:
Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no]

Searching for a valid kernel header path...
Detected the kernel headers of the running kernel at
"/lib/modules/2.6.32-71.el6.i686/build/include".
The path "/lib/modules/2.6.32-71.el6.i686/build/include" appears to be a valid
path to the kernel headers of the running kernel.


Would you like to change it? [no]

更多CentOS相關資訊見CentOS 專題頁面 http://www.linuxidc.com/topicnews.aspx?tid=14

解決CentOS系統mini安裝後的虛擬機器工具(VMware Tools)安裝問題

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.