Cách dễ nhất và được khuyến nghị để cài đặt VMware Tools trên máy ảo chạy Ubuntu là cài đặt các gói Open VM Tools từ kho lưu trữ mặc định của Ubuntu. Show Open VM Tools là một triển khai mã nguồn mở của VMware Tools cho các VPS sử dụng hệ điều hành Linux. VMware Tools được chia thành hai gói, sudo apt updatesudo apt install open-vm-tools-desktop3dành cho các hệ thống máy chủ như vmware vsphere ESXi và sudo apt updatesudo apt install open-vm-tools-desktop4cho các hệ thống máy tính để bàn sử dụng VMware Workstation. Tùy thuộc vào cách bạn cung cấp phiên bản, gói Open VM Tools có thể được cài đặt theo mặc định. Chạy các lệnh sau để cài đặt VMware Tools trên máy chủ Ubuntu sudo apt updatesudo apt install open-vm-toolsNếu bạn đang chạy Ubuntu Desktop, để cài đặt VMware Tools, hãy chạy: sudo apt updatesudo apt install open-vm-tools-desktopCài đặt VMware Tools bằng file ISOVMware cung cấp một tệp ISO chứa trình cài đặt VMware Tools cho tất cả các VMware client để hỗ trợ. Tệp này nằm trên máy chủ và có thể được gắn trên hệ thống client từ menu VMware GUI. Sau khi được mount, bạn có thể bắt đầu cài đặt VMware Tools trên hệ thống client. Dưới đây là hướng dẫn từng bước để cài đặt VMware Tools trên Ubuntu. Các bước này sẽ hoạt động trên cả cài đặt Ubuntu Desktop và Server bản core.
sudo mkdir -p /mnt/cdromsudo mount /dev/cdrom /mnt/cdrom
cd /mnt/cdromsudo tar xf VMwareTools-*.tar.gz -C /tmp
sudo /tmp/vmware-tools-distrib/vmware-install.pl -d
Phần kết luậnCài đặt VMware Tools trên máy ảo Ubuntu 18.04 là một nhiệm vụ dễ dàng. VMware Tools sẽ tối ưu hóa hệ điều hành khách để có hiệu suất tốt hơn và nâng cao khả năng sử dụng. (English) How to Install VMware Tools in Ubuntu 18.04VMware is a mature and stable virtualization solution that allows you to run multiple, isolated operating systems on a single machine. When using VMware as the hypervisor, it is important to install VMware Tools in the guest to enhances the virtual machine performance. The VMware Tools offer several useful functionalities such as faster graphics performance, shared folders, shared clipboard, drag and drop operations, and more. This tutorial explains how to install the VMware Tools package on Ubuntu 18.04 guests. The same instructions apply for Ubuntu 16.04 and any other Ubuntu-based distribution, including Linux Mint and Elementary OS. Installing VMware Tools Using Open VM ToolsThe easiest and the recommended way to install VMware Tools on Ubuntu guests is to install the Open VM Tools packages from Ubuntu’s default repositories. Open VM Tools is an open-source implementation of VMware Tools for Linux guest operating systems. The VMware Tools are split into two packages, sudo apt updatesudo apt install open-vm-tools-desktop3 for headless systems and sudo apt updatesudo apt install open-vm-tools-desktop4 for desktop systems. Depending on how you provisioned the instance, the Open VM Tools package may be installed by default. Run the following commands to install VMware Tools on Ubuntu server guest:
If you are running Ubuntu Desktop, to install VMware Tools run:
That’s it. You have successfully installed VMware Tools on your Ubuntu virtual machine. When a new version of Open VM Tools is released, you can update the package through your desktop standard Software Update tool or by running the following command in your terminal:
Installing VMware Tools Using VMware Tools ISO FileVMware ship with an image ISO file that contains the VMware Tools installers for all supported guest operating systems. This file is located on the host machine and can be mounted on the guest system from the VMware GUI menu. Once mounted, you can begin the installation of the VMware Tools on the guest system. Below are the step-by-step instructions to install VMware Tools on Ubuntu guests. These steps will work on both Ubuntu Desktop and Server guest installations.
ConclusionInstalling VMware Tools on Ubuntu 18.04 virtual machine is an easy task. The VMware Tools will optimize the guest operating system for better performance and enhance usability. |