﻿{"id":24,"date":"2016-05-08T07:27:45","date_gmt":"2016-05-07T23:27:45","guid":{"rendered":"http:\/\/simon.conley.mobi\/?p=24"},"modified":"2019-05-29T10:26:57","modified_gmt":"2019-05-29T02:26:57","slug":"xenserver6-5-0-%e5%ae%89%e8%a3%9d-linux-agent-tools","status":"publish","type":"post","link":"https:\/\/old.ice.com.tw\/?p=24","title":{"rendered":"XENSERVER6.5 0 \u5b89\u88dd LINUX AGENT TOOLS"},"content":{"rendered":"<ul>\n<li><code>mount \/dev\/cdrom \/mnt<\/code><\/li>\n<li><code>bash \/mnt\/Linux\/install.sh<\/code><\/li>\n<li><code>umount \/dev\/cdrom<\/code><br \/>\n<hr \/>\n<p>1. The files required are present on the built-in xs-tools.iso CD image, or alternatively can be installed<\/li>\n<\/ul>\n<p>by using the VM &gt; Install XenServer Tools option in XenCenter.<br \/>\n2. Mount the image onto the guest by running the command:<br \/>\nmount -o ro,exec \/dev\/disk\/by-label\/XenServer\\\\x20Tools \/mnt<br \/>\nNote:<br \/>\nIf mounting the image fails, you can locate the image by running the following:<br \/>\nblkid -t LABEL=\"XenServer Tools\"<br \/>\n3. Execute the installation script as the root user:<br \/>\n\/mnt\/Linux\/install.sh<br \/>\n4. Unmount the image from the guest by running the command:<br \/>\numount \/mnt<br \/>\n5. If the kernel has been upgraded, or the VM was upgraded from a previous version, reboot the VM now.<br \/>\nNote:<br \/>\nCD-ROM drives and ISOs attached to Linux Virtual Machines appear as devices, such as \/<br \/>\ndev\/xvdd (or \/dev\/sdd in Ubuntu 10.10 and later) instead of as \/dev\/cdrom as you<br \/>\nmight expect. This is because they are not true CD-ROM devices, but normal devices. When<br \/>\nthe CD is ejected by either XenCenter or the CLI, it hot-unplugs the device from the VM<br \/>\nand the device disappears. This is different from Windows Virtual Machines, where the CD<br \/>\nremains in the VM in an empty state.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>mount \/dev\/cdrom \/mnt bash \/mnt\/Linux\/install.sh umount &hellip; <a href=\"https:\/\/old.ice.com.tw\/?p=24\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008XENSERVER6.5 0 \u5b89\u88dd LINUX AGENT TOOLS\u3009<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-24","post","type-post","status-publish","format-standard","hentry","category-xenserver"],"_links":{"self":[{"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/24","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=24"}],"version-history":[{"count":3,"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/24\/revisions"}],"predecessor-version":[{"id":222,"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/24\/revisions\/222"}],"wp:attachment":[{"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}