To install the patch you will need to have root access to the ESXi host either via the ESXi Tech
Support console or SSH.
Step 1 – Upload the unlock-esxi50-496512.tgz file to a datastore on the ESXi server
You can use the vSpehere Client or any SCP utility such as WinSCP or CyberDuck to upload the file
Step 2 – Expand the tgz file on the ESXi host
Using a console propmt on the host and the root user issue the following commands:
~ # cd /vmfs/volumes/datastore1/
/vmfs/volumes/4e561d70-3ef76e89-2b00-000c29522c83 # ls
unlock-esxi50-469512.tgz
/vmfs/volumes/4e561d70-3ef76e89-2b00-000c29522c83 # tar -xzvf unlock-esxi50-469512.tgz
unlock-esxi50/
unlock-esxi50/uninstall.sh
unlock-esxi50/install.sh
unlock-esxi50/bspatch
unlock-esxi50/vmx-debug.bsdiff
unlock-esxi50/vmx-stats.bsdiff
unlock-esxi50/vmx.bsdiff
/vmfs/volumes/4e561d70-3ef76e89-2b00-000c29522c83 # cd unlock-esxi50/
Note that your actual folder name will likely be different.
Step 3 – Install the patch
Using the same root console run the install.sh file the output should match that below:
/vmfs/volumes/4e561d70-3ef76e89-2b00-000c29522c83/unlock-esxi50 # ./install.sh
VMware ESXi 5.0 Unlocker 1.0.0
==============================
Patching files…
Setting permissions…
Creating darwin.tgz…
bin/
bin/vmx
bin/vmx-debug
bin/vmx-stats
Copy darwin.tgz to bootbank…
Adding darwin.tgz to boot.cfg…
Please now reboot the host system!
Once done you will need to reboot to activate the changes.
Step 4 – Uninstall the patch
Using the same root console run the uninstall.sh file the output should match that below:
/vmfs/volumes/4e561d70-3ef76e89-2b00-000c29522c83/unlock-esxi50 # ./uninstall.sh
VMware ESXi 5.0 Unlocker 1.0.0
==============================
Remove darwin.tgz from bootbank…
Deleting darwin.tgz from boot.cfg…
Please now reboot the host system!
/vmfs/volumes/4e561d70-3ef76e89-2b00-000c29522c83/unlock-esxi50 #
Once done you will need to reboot to activate the changes.
本文介绍如何在 ESXi 5.0 主机上安装和卸载补丁文件。首先需要通过 ESXi 技术支持控制台或 SSH 获取 root 访问权限。接着上传补丁文件到 ESXi 服务器的数据存储中,并在主机上解压缩该文件。然后运行 install.sh 脚本来安装补丁,并进行权限设置。最后,为了激活更改,需要重新启动系统。卸载过程类似,只需运行 uninstall.sh 脚本并重新启动。
7296

被折叠的 条评论
为什么被折叠?



