首页 > 代码库 > 安装VMtools
安装VMtools
虚拟机版本 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 软件包更新
最终可用的源
- #中科大
- 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
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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。