How to install XenServer Tools - Linux
2015-07-21 15:01
661 查看
Within this tutorial we will cover how to install XenServer Tools to your virtual machines. This applies to CentOS, Debian and Red Hat operating systems.
1. Open up XenCenter and establish a connection to your XenServer. Here is an example of a Virtual Machine that is a fresh install but does not have XenServer Tools setup. You will notice that for "Virtualization State:" the software says "Tools
not installed".
2. Let's get started by simply right-clicking on the name of our Virtual Machine and clicking "Install XenServer Tools". A warning will come up stating that, "Any CD or DVD currently in the Virtual Machine's CD drive will be ejected when xenServer Tools are
installed." Click on "Install ZenServer Tools" to continue unless you are currently using a CD in the VM. If so, continue this tutorial at a time when the virtual disk drive is free for use.
![](http://knowledgelayer.softlayer.com/images/How_to_install_Xenserver_tools_linux/2.png)
3. You should be sent to the console tab of XenCenter for your Virtual Machine. You will notice that at the top of the window, below the tabs that the software is telling you that it has the CD image of "xs-tools.iso" loaded into the DVD Drive. It also provides
you with the device name within the system.
![](http://knowledgelayer.softlayer.com/images/How_to_install_Xenserver_tools_linux/3.png)
4. You can do the following steps via either the console or via an SSH session to the system. I will perform the installation using SSH. Here is the output of my session. Remember that the drive's device name is provided by XenCenter.
If you would like to simply copy and paste into your shell, the following lines should perform all of the steps provided that you are assigned the same device name of /dev/xvdd
In some cases the Xen Tools ISO will be mounted to /dev/cdrom
5. The XenServer Tools installation script does a reasonable job of determining the best way to install what it needs without much intervention. If everything went well you should be able to reboot your system from the command line and when it restarts you
can see that XenServer Tools are installed as in the following image.
![](http://knowledgelayer.softlayer.com/images/How_to_install_Xenserver_tools_linux/5.png)
6. Now XenCenter will be able to have a bit more control of the operating system within the Virtual Machine and you will also be able to view the previously unavailable counters within the "Performance" tab of XenCenter.
![](http://knowledgelayer.softlayer.com/images/How_to_install_Xenserver_tools_linux/6.png)
原文链接地址:http://knowledgelayer.softlayer.com/learning/how-install-xenserver-tools-linux
1. Open up XenCenter and establish a connection to your XenServer. Here is an example of a Virtual Machine that is a fresh install but does not have XenServer Tools setup. You will notice that for "Virtualization State:" the software says "Tools
not installed".
2. Let's get started by simply right-clicking on the name of our Virtual Machine and clicking "Install XenServer Tools". A warning will come up stating that, "Any CD or DVD currently in the Virtual Machine's CD drive will be ejected when xenServer Tools are
installed." Click on "Install ZenServer Tools" to continue unless you are currently using a CD in the VM. If so, continue this tutorial at a time when the virtual disk drive is free for use.
![](http://knowledgelayer.softlayer.com/images/How_to_install_Xenserver_tools_linux/2.png)
3. You should be sent to the console tab of XenCenter for your Virtual Machine. You will notice that at the top of the window, below the tabs that the software is telling you that it has the CD image of "xs-tools.iso" loaded into the DVD Drive. It also provides
you with the device name within the system.
![](http://knowledgelayer.softlayer.com/images/How_to_install_Xenserver_tools_linux/3.png)
4. You can do the following steps via either the console or via an SSH session to the system. I will perform the installation using SSH. Here is the output of my session. Remember that the drive's device name is provided by XenCenter.
$ ssh 10.17.37.243 root@10.17.37.243's password: Last login: Thu Sep 11 12:57:31 2008 from 10.0.80.84 [root@ns0 ~]# cd /mnt [root@ns0 mnt]# ls [root@ns0 mnt]# mkdir xs-tools [root@ns0 mnt]# mount /dev/xvdd /mnt/xs-tools/ mount: block device /dev/xvdd is write-protected, mounting read-only [root@ns0 mnt]# cd /mnt/xs-tools/Linux/ [root@ns0 Linux]# bash install.sh Detected `CentOS release 5.2 (Final)' (centos version 5). The following changes will be made to this Virtual Machine: * packages to be installed/upgraded: - kernel-xen-2.6.18-53.1.13.el5.xs4.1.0.24.x86_64.rpm - xe-guest-utilities-4.1.0-257.x86_64.rpm Continue? [y/n] y Preparing...########################################### [100%] 1:xe-guest-utilities########################################### [100%] Preparing...########################################### [100%] package kernel-xen-2.6.18-92.el5 (which is newer than kernel-xen-2.6.18-53.1.13.el5.xs4.1.0.24) is already installed You should now reboot this Virtual Machine. [root@ns0 Linux]#
If you would like to simply copy and paste into your shell, the following lines should perform all of the steps provided that you are assigned the same device name of /dev/xvdd
mkdir /mnt/xs-tools mount /dev/xvdd /mnt/xs-tools cd /mnt/xs-tools/Linux/ bash install.sh
In some cases the Xen Tools ISO will be mounted to /dev/cdrom
mkdir /mnt/xs-tools mount /dev/cdrom /mnt/xs-tools cd /mnt/xs-tools/Linux ./install.sh
5. The XenServer Tools installation script does a reasonable job of determining the best way to install what it needs without much intervention. If everything went well you should be able to reboot your system from the command line and when it restarts you
can see that XenServer Tools are installed as in the following image.
![](http://knowledgelayer.softlayer.com/images/How_to_install_Xenserver_tools_linux/5.png)
6. Now XenCenter will be able to have a bit more control of the operating system within the Virtual Machine and you will also be able to view the previously unavailable counters within the "Performance" tab of XenCenter.
![](http://knowledgelayer.softlayer.com/images/How_to_install_Xenserver_tools_linux/6.png)
原文链接地址:http://knowledgelayer.softlayer.com/learning/how-install-xenserver-tools-linux
相关文章推荐
- Linux出现Read-only file system
- Linux出现Read-only file system
- mysql6.0 linux安装
- Linux磁盘分区UUID的获取及其UUID的作用
- linux vi(vim)常用命令汇总(转)
- 简单的shll脚本练习题
- linux系统编程文件——文件操作总结(3)
- centos7新装系统基础配置
- 构建Linux 0.1(BeagleBone Black)
- linux下的watch命令
- linux的fork()函数详解 子进程复制父进程什么
- Linux中将文件系统模块化详解
- centos5.8升级gcc g++
- centos下安装hadoop
- Linux入门
- centos搭建本地yum源和局域网yum源
- centos下rpm包的管理
- linux常用命令--文件与目录
- 关于服务程序(service)的命令(windows\linux)
- linux 2>&1