我刚刚安装了 Ubuntu 16.04 并让 VMware Workstation 12 使用简单的安装过程安装它。在我启动虚拟机的那一刻,我尝试使用虚拟机设置窗口共享文件夹,我得到的第一件事是:
无法更新运行时文件夹共享状态:在来宾操作系统中安装共享文件夹文件系统时出错。
所以在这里我开始在我的 Windows 10 Pro 主机上运行全新安装 Ubuntu 16.04 后进行故障排除。窗口自动调整大小工作得很好,我只是无法共享文件夹,这对我来说非常重要。
有人可以在这里指出我正确的方向吗?以下是我在网上阅读并尝试但没有任何成功的一些建议:
建议#1
Run Code Online (Sandbox Code Playgroud)# http://askubuntu.com/a/290528/269349 sudo apt-get install linux-source sudo apt-get install open-vm-tools mount -t vmhgfs .host:/ /home/user1/shares
没有用,因为我已经安装了 open-vm-tools 并且运行 mount 命令只是给我一个错误说明 Error: cannot mount filesystem: No such device
建议#2
# https://github.com/vmware/open-vm-tools/issues/62#issuecomment-174631126
git clone https://github.com/vmware/open-vm-tools.git
cd open-vm-tools/open-vm-tools
sudo apt-get install libmspack0 libmspack-dev libprocps3 libprocps3-dev dnet-progs libdumbnet-dev doxygen
./configure --without-x --without-pam --without-ssl --without-icu
make MODULES=vmhgfs
insmod modules/linux/vmhgfs/vmhgfs.ko
mount -t vmhgfs .host:/ /mnt
ls /mnt …Run Code Online (Sandbox Code Playgroud) 在这里全新安装 Ubuntu 并尝试使用 SSLScan 工具,却发现我收到以下错误:
OpenSSL version does not support SSLv2
SSLv2 ciphers will not be detected
OpenSSL version does not support SSLv3
SSLv3 ciphers will not be detected
Testing SSL server xyzx on port 443
TLS renegotiation:
Session renegotiation not supported
TLS Compression:
OpenSSL version does not support compression
Rebuild with zlib1g-dev package for zlib support
Run Code Online (Sandbox Code Playgroud)
我在网上找到了一些关于在没有明确禁用这些标志的情况下尝试重新编译 OpenSSL 的文章,但我什至无法通过其中一些指南中的前几个步骤。例如,一个指南建议运行sudo apt-get build-dep openssl. 我无法运行它,因为我收到以下错误:
[03.14.2017/23:47:31] user@box $ sudo apt-get build-dep openssl
Reading package lists... Done
E: You must …Run Code Online (Sandbox Code Playgroud) 我在尝试为该平台构建 Dockerfile 时收到以下错误linux/arm64:
#5 58.06 Processing triggers for libc-bin (2.31-11) ...
#5 58.12 qemu: uncaught target signal 11 (Segmentation fault) - core dumped
#5 58.33 Segmentation fault (core dumped)
#5 58.35 qemu: uncaught target signal 11 (Segmentation fault) - core dumped
#5 58.69 Segmentation fault (core dumped)
#5 58.70 dpkg: error processing package libc-bin (--configure):
#5 58.70 installed libc-bin package post-installation script subprocess returned error exit status 139
#5 58.70 Processing triggers for ca-certificates (20210119) ...
#5 58.87 …Run Code Online (Sandbox Code Playgroud) 我查看了与该主题相关的其他一些 StackExchange 问题,但无论出于何种原因,我仍然无法找到解决方案。
test.desktop这是我桌面上的简单文件:
[Desktop Entry]
Version=1.0
Name=Test
Comment=Test the terminal running a command inside it
Exec=gnome-terminal -e "~/test.rb"
Icon=utilities-terminal
Terminal=false
Type=Application
Categories=Application;
Run Code Online (Sandbox Code Playgroud)
我只是想创建一个双击时运行 Ruby 脚本的快捷方式。我试图让最终用户非常容易打开它,但当我双击该文件时,它只是在文本编辑器中不断打开。
我也验证了它也有写权限,但仍然没有。如果我替换~/test.rb为ifconfig,它仍然不起作用。
我在这里做错了什么?
我无法安装任何新软件包,甚至无法从 Ubuntu 18.04 升级。就像 VM 被困在 Ubuntu 18.04 刚刚问世的旧时代。没有可用的新软件包或任何东西。有些东西肯定搞砸了,我不知道如何解决这个问题。
[root:7e2d33988106:/]# lsb_release -a 12:55PM/09.12
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
[root:7e2d33988106:/]# cat /etc/apt/sources.list | grep -v "#" | sort -u 12:55PM/09.12
deb http://archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic universe
deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted
deb http://security.ubuntu.com/ubuntu/ …Run Code Online (Sandbox Code Playgroud)