使用 vmware 安装 Ubuntu 20 LTSvmware tools 工具选项为灰色,不允许安装,也无法共享文件夹问题。

lsb_release -a 查看当前 Ubutun 版本。

# 解决办法:

  1. vmware 安装目录下找到 linux.iso 文件
  1. 使用光盘挂接方式挂接到当前虚拟机。
  1. 将会在虚拟机内看到一个 DVD 显示为 VMWare Tools
  1. 进入到目标目录下并进入终端
  1. 进行解压 tar -zxvf VMwareTools…tar.gz
    在解压文件夹下 sudo ./vmware-install.pl

7 都选择默认,一路回车安装完成。

8 最后在 mnt 文件夹下就会看到 hgfs 文件了,就可以实现和 Windows 文件共享了。

# 共享文件夹不存在解决办法

1
sudo vmhgfs-fuse .host:/ /mnt/hgfs/ -o allow_other -o uid=1000

# 使用 apt 无法定文软件版解决方案

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#备份sources.list文件
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
#打开sources.list文件
sudo vim /etc/apt/sources.list
#删除原内容,添加下列内容
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb-src 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-src 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-src 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-src 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-proposed main restricted universe multiverse
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
#保存 做完以上前期工作,正式安装yum
sudo apt-get update
sudo apt install yum
#成功解决上楼报错

# Ubuntu 20 04 提示 “检测到系统程序出现问题” 解决

1
2
3
sudo vi /etc/default/apport
# 将enabled=0
enabled=0
Edited on Views times