Cài đặt VMware tools cho Ubuntu bằng dòng lệnh terminal Mở máy ảo ubuntu trên VMware Workstation, sau đó chọn Player > Manager > Install VMware Tools (Trong trường hợp đã cài VMware Tools thì nó sẽ hiển thị là Reinstall VMware
Tools) Chờ một lúc nó sẽ tự động copy file vào máy ảo và cài VMware Tools Trong một số trường hợp, cài VMware tool trên VMware Workstation như trên không hoạt động hoặc không thể copy giữa máy ảo và máy thật. Do đó ta phải thực hiện cài đặt VMware Tools bằng dòng lệnh terminal. Mở màn hình terminal ( sudo apt-get update sudo apt-get install open-vm-tools Trong trường hợp máy ảo ubuntu của bạn là bản desktop thì bạn cũng có thể thêm một số enviroment base desktop bằng lệnh sau: sudo apt-get install open-vm-tools-desktop Okay, Done! References: https://askubuntu.com/questions/985529/how-can-i-install-vmware-tools Cài đặt VMware Tools bằng Open VM ToolsCá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. 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, Chạy các lệnh sau để cài đặt VMware Tools trên máy chủ Ubuntu # sudo apt update # sudo apt install open-vm-tools Nếu bạn đang chạy Ubuntu Desktop, để cài đặt VMware Tools, hãy chạy: # sudo apt update # sudo apt install open-vm-tools-desktop Cà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, 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. Nguồn: linuxize.com, Team support Cloud Việt dịch |