码迷,mamicode.com
首页 > 其他好文 > 详细

安装VMtools

时间:2016-09-24 13:39:57      阅读:208      评论:0      收藏:0      [点我收藏+]

标签:

虚拟机版本  VMware Workstation Pro 12.1.1
kali版本 debian 
 
apt-get install linux-headers-$(uname -r)查看是否有内核头文件
更新linux的源,使用中科大的源
 
  vi   /etc/apt/sources.list
 
 
deb http://mirrors.ustc.edu.cn/kali sana main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali sana main non-free contrib
deb http://mirrors.ustc.edu.cn/kali-security/sana/updates main contrib non-free
deb-src http://mirrors.ustc.edu.cn/kali-security/sana/updates main contrib non-free
 

#中科大kali源

deb http://mirrors.ustc.edu.cn/kali sana main non-free contrib

deb http://mirrors.ustc.edu.cn/kali-security/ sana/updates main contrib non-free

deb-src http://mirrors.ustc.edu.cn/kali-security/ sana/updates main contrib non-free

 

#阿里云kali源

deb http://mirrors.aliyun.com/kali sana main non-free contrib

deb http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free

deb-src http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free
 
#debain源
deb http://mirrors.163.com/debian/ wheezy main contrib
deb http://mirrors.163.com/debian/ wheezy-proposed-updates main contrib
deb-src http://mirrors.163.com/debian/ wheezy main contrib
deb-src http://mirrors.163.com/debian/ wheezy-proposed-updates main contrib
 
#debian安全更新源
deb http://security.debian.org/ wheezy/updates main contrib
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
 
#阿里云kali源
deb http://mirrors.aliyun.com/kali kali main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali main non-free contrib
deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free
 
#中科大kali源
deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib
deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free
 
#新加坡kali源
#deb http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib
#deb-src http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib
#deb http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free
#deb-src http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free
 
#Kali-Security
#deb http://security.kali.org/ kali/updates main contrib non-free
#deb-src http://security.kali.org/ kali/updates main contrib non-free
 
apt-get update 源索引更新
apt- get upgrade 软件包更新
 
 
 
 
最终可用的源
  1. #中科大  
  2. deb http://mirrors.ustc.edu.cn/kali sana main non-free contrib  
  3. deb-src http://mirrors.ustc.edu.cn/kali sana main non-free contrib  
  4. deb http://mirrors.ustc.edu.cn/kali-security sana/updates main contrib non-free  
 
 

apt-get dist-upgrade

apt-get update & apt-get upgrade
apt-get clean
 
1. 先把虚拟机加载的镜像弹出。关闭虚拟机,编辑虚拟机配置,将光盘修改为使用物理CD光驱。重新启动虚拟机。
2. 安装Vmware Tools前需要安装内核
apt-get install linux-headers-$(uname -r)
3. 打开光盘所在目录,将Vmware-tools的安装文件(Vmware-tools.***.tar.gz这个文件)拷贝到HOME目录。
4. 解压缩(tar)该安装文件,并安装vmware-tools.

tar zxvf VMwareTools-9.9.0-2304977.tar.gz

 
cd vmware-tools-distrib/
./vmware-install.pl
 重启
reboot

安装VMtools

标签:

原文地址:http://www.cnblogs.com/sunyoung/p/5902938.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!