1.下載vmtools
創新互聯專注于黟縣網站建設服務及定制,我們擁有豐富的企業做網站經驗。 熱誠為您提供黟縣營銷型網站建設,黟縣網站制作、黟縣網頁設計、黟縣網站官網定制、成都微信小程序服務,打造黟縣網絡公司原創品牌,更為您提供黟縣網站排名全網營銷落地服務。
打開官方站點:https://my.vmware.com/group/vmware/downloads
在搜索欄中輸入vmtools
找到一個合適的版本下載
解壓
2.上傳到ESXi或共享存儲
依次選中ESXI主機—配置存儲器,這里選擇本地存儲datastore1
在datastore1上右鍵選擇“瀏覽數據存儲”
選中tools文件夾,上傳
上傳成功后,可以看到多了一個vmtools文件夾,打開可以看到里面有各種vmtools的iso鏡像
3.安裝vmtools
windows下安裝vmtools
在虛擬機列表中,找到需要安裝vmtools的windows 2003
單擊右鍵“打開控制臺”,登陸系統
由于之前安裝的時候使用了windows 2003的光盤,現在需要先彈出光盤鏡像,然后掛上vmtools中windows的鏡像
然后編輯虛擬機設置,將光盤鏡像替換為vmtools的ISO文件
再回到控制臺
windows將開始自動安裝vmtools,直接下一步,下一步,完成安裝。
注意:由于是第一次安裝vmtools,安裝完成后系統會要求重啟以應用更新。(以后升級vmtools的時候不需要重啟)
重啟完成后,即完成安裝。
Linux下的vmtools安裝
同樣,卸載之前的系統安裝光盤,掛載上vmtools,注意,這里是掛載linux下的vmtools
注意:如果之前掛載系統盤安裝了,一定要進系統把系統鏡像ISO卸載了,才能替換成vmtools的鏡像
回到控制臺,打開命令行,使用mount命令掛載剛才替換的vmtools鏡像
mount /dev/cdrom /media
這里會提示掛載的鏡像是只讀方式:mount:block device /dev/cdrom is write-protected,mounting read-only
進入到/media下,可以看到一個VMwareTools-10.0.8-3746311.tar.gz
由于光盤鏡像內的文件是只讀的,所有我們將其拷貝出來再解壓安裝
cp VMwareTools-10.0.8-3746311.tar.gz /root
然后切換到/root目錄下,解壓安裝
tar -xvf VMwareTools-10.0.8-3746311.tar.gz
可以看到/root下多了一個vmware-tools-distrib文件夾
進去查看,可以找到一個vmware-install.pl文件
執行
./vmware-install.pl
開始安裝
Installing VMware Tools.
In which directory do you want to install the binary files?
[/usr/bin] //選擇二進制文件的安裝目錄,回車默認
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d] //選擇系統初始化腳本存放目錄,回車默認
What is the directory that contains the init scripts?
[/etc/rc.d/init.d]
In which directory do you want to install the daemon files?
[/usr/sbin]
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]
In which directory do you want to install the common agent library files?
[/usr/lib]
In which directory do you want to install the common agent transient files?
[/var/lib]
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes]
The installation of VMware Tools 10.0.8 build-3746311 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]
Initializing...
Making sure services for VMware Tools are stopped.
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon:[ OK ]
Common Agent:[ OK ]
VGAuthService:[ OK ]
VMware User Agent (vmware-user):[ OK ]
Unmounting HGFS shares:[ OK ]
Guest filesystem driver:[ OK ]
Guest memory manager:[ OK ]
VM communication interface socket family:[ OK ]
VM communication interface:[ OK ]
The VMware FileSystem Sync Driver (vmsync) allows external third-party backup
software that is integrated with vSphere to create backups of the virtual
machine. Do you wish to enable this feature? [no]
Found a compatible pre-built module for vmci. Installing it...
Found a compatible pre-built module for vsock. Installing it...
Found a compatible pre-built module for vmxnet3. Installing it...
Found a compatible pre-built module for pvscsi. Installing it...
Found a compatible pre-built module for vmmemctl. Installing it...
The VMware Host-Guest Filesystem allows for shared folders between the host OS
and the guest OS in a Fusion or Workstation virtual environment. Do you wish
to enable this feature? [no]
Found a compatible pre-built module for vmxnet. Installing it...
The vmblock enables dragging or copying files between host and guest in a
Fusion or Workstation virtual environment. Do you wish to enable this feature?
[no]
Would you like to enable VMware automatic kernel modules?
[no]
Do you want to enable Guest Authentication (vgauth)? Enabling vgauth is needed
if you want to enable Common Agent (caf). [yes]
Do you want to enable Common Agent (caf)? [yes]
Detected X version 7.1
Do you want to change the starting screen display size? (yes/no) [no]
X is running fine with the new config file.
Creating a new initrd boot p_w_picpath for the kernel.
NOTE: both /etc/vmware-tools/GuestProxyData/server/key.pem and
/etc/vmware-tools/GuestProxyData/server/cert.pem already exist.
They are not generated again. To regenerate them by force,
use the "vmware-guestproxycerttool -g -f" command.
Checking acpi hot plug[ OK ]
Starting VMware Tools services in the virtual machine:
Switching to guest configuration:[ OK ]
Paravirtual SCSI module:[ OK ]
Guest memory manager:[ OK ]
VM communication interface:[ OK ]
VM communication interface socket family:[ OK ]
VMware User Agent:[ OK ]
Guest operating system daemon:[ OK ]
VGAuthService:[ OK ]
Common Agent:[ OK ]
The configuration of VMware Tools 10.0.8 build-3746311 for Linux for this
running kernel completed successfully.
You must restart your X session before any mouse or graphics changes take
effect.
You can now run VMware Tools by invoking "/usr/bin/vmware-toolbox-cmd" from the
command line.
To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.
Enjoy,
--the VMware team
全部默認選擇,至此,linux下的vmtools安裝成功,重啟系統結束安裝
分享題目:vSphere安裝vmtools
網頁鏈接:http://vcdvsql.cn/article42/peeiec.html
成都網站建設公司_創新互聯,為您提供網站改版、商城網站、網頁設計公司、企業網站制作、做網站、云服務器
聲明:本網站發布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創新互聯