在第2步之前咋复制粘贴呢?
自己找到并解压
解压命令tar -xvf
主要就是那份.gz的安装包。
2、复制到tmp,解压
cp VMwareTools-10.1.6-5214329.tar.gz /tmp
cd /tmp
tar -xzvf VMwareTools-10.1.6-5214329.tar.gz
3、安装
解压后会多出一个名为vmware-tools-distrib的文件夹,进去,执行vmware-install.pl进行安装
1. cd vmware-tools-distrib
2./vmware-install.pl
有提示就按回车,安装完重启就ok了。
重启就好了
//换源 下载文件
vi/etc/apt/sources.list
“a”添加在光标后放
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
————————————————
退出保存 ESC+:wq!
更新设置
sudo apt-get update
sudo apt-get upgrade
//win10和ub之间复(vm16)
第一步:打开Ubuntu命令终端
第二步,卸载已有的工具:sudo apt-get autoremove open-vm-tools
第三步,安装open-vm-tools-desktop:sudo apt-get install open-vm-tools-desktop
第四步,重启Ubuntu系统:reboot
sudo apt-get autoremove open-vm-tools //卸载已有的工具
sudo apt-get install open-vm-tools //安装工具open-vm-tools
sudo apt-get install open-vm-tools-desktop //安装open-vm-tools-desktop
reboot //重启Ubuntu系统
//设置root用户
首先
打开终端开启root账户 :sudo passwd -u root
输入当前用户的密码(就是你设置自己账户的密码)
然后
为root账户设置密码:sudo passwd root
设置root密码,输入两次
再然后
测试root账户: su -
输入root密码,进入root终端
再然后
root账户开启成功 ,退出root账户 exit