Debian 安装 vmware-tools 手记
作者: 21Andy.com
1. 在 VMware 中打开 Debian 虚拟机, 然后 VM -> Install VMware-Tools
2. 这时候, Debian 虚拟机已有 vmware-tools 光盘, 挂载光盘, 复制 vmware-linux-tools.tar.gz 到 /tmp 目录
mount -t iso9660 /dev/cdrom /mnt
cp /mnt/vmware-linux-tools.tar.gz /tmp
umount /dev/cdrom
cd /tmp
tar -zxvf vmware-linux-tools.tar.gz
cp /mnt/vmware-linux-tools.tar.gz /tmp
umount /dev/cdrom
cd /tmp
tar -zxvf vmware-linux-tools.tar.gz
3. 进入解压缩后的目录, 安装
cd /tmp/vmware-tools-distrib
./vmware-instll.pl
./vmware-instll.pl
一路回车
4. 问题
如果安装过程提示
Searching for GCC...
The path "/usr/bin/gcc" is not valid path to the gcc binary.
Would you like to change it? [yes]
解决办法, 先确认你的 gcc 已经安装, 然后
aptitude -y install linux-headers-`uname -r`
这下好了
Searching for GCC...
Detected GCC binary at "/usr/bin/gcc-4.3".
The path "/usr/bin/gcc-4.3" appears to be a valid path to the gcc binary.
Would you like to change it? [no]
Detected GCC binary at "/usr/bin/gcc-4.3".
The path "/usr/bin/gcc-4.3" appears to be a valid path to the gcc binary.
Would you like to change it? [no]
Incoming search terms:
- debian vmware tools
- the path is not valid path to the gcc binary
- The path /usr/bin/gcc is not valid path to the gcc binary
- debian安装vmware tools
- redhat
- debian的gcc path
- debian vmware
- debian gcc path
- linux vmware tool binary
- he path /usr/bin/gcc appears to be a valid path to the gcc binary Would you like to change it?
- religiousj7w
- toljb
- winterpmc
- gatetom
- making42j
- appearanceheu
Tags: Debian, VMWare, VMWare tools