How to install xenserverxe on centos

Source: Internet
Author: User
This article mainly introduces how to install the xenserverxe command line in centos. if you need it, refer to the following tag: CentOS

To install the xe command line on centos, you don't need to talk about it. First, find the xe command rpm Package (under the client_install directory) in the xenserver installation iso, and then copy it to centos. If you install the xe-cli-6.1.0-59235p.i686.rpm package directly with the rpm command, a dependency error is prompted. In this case, use the yum command to install it. it will automatically help us handle dependencies.


Copy codeThe code is as follows:
[Root @ cloudstack-ms ~] # Rpm-ivh xe-cli-6.1.0-59235p.i686.rpm
Error: Failed dependencies:
Libc. so.6 is needed by xapi-xe-0.2-5181.i686
Libc. so.6 (GLIBC_2.0) is needed by xapi-xe-0.2-5181.i686
Libc. so.6 (GLIBC_2.1) is needed by xapi-xe-0.2-5181.i686
Libc. so.6 (GLIBC_2.1.2) is needed by xapi-xe-0.2-5181.i686
Libc. so.6 (GLIBC_2.2) is needed by xapi-xe-0.2-5181.i686
Libc. so.6 (GLIBC_2.3) is needed by xapi-xe-0.2-5181.i686
Libc. so.6 (GLIBC_2.3.2) is needed by xapi-xe-0.2-5181.i686
Libc. so.6 (GLIBC_2.3.4) is needed by xapi-xe-0.2-5181.i686
Libc. so.6 (GLIBC_2.4) is needed by xapi-xe-0.2-5181.i686
Libdl. so.2 is needed by xapi-xe-0.2-5181.i686
Libdl. so.2 (GLIBC_2.0) is needed by xapi-xe-0.2-5181.i686
Libdl. so.2 (GLIBC_2.1) is needed by xapi-xe-0.2-5181.i686
Libm. so.6 is needed by xapi-xe-0.2-5181.i686
Libm. so.6 (GLIBC_2.0) is needed by xapi-xe-0.2-5181.i686
Libpthread. so.0 is needed by xapi-xe-0.2-5181.i686
Libpthread. so.0 (GLIBC_2.0) is needed by xapi-xe-0.2-5181.i686
Libpthread. so.0 (GLIBC_2.1) is needed by xapi-xe-0.2-5181.i686
Libpthread. so.0 (GLIBC_2.2) is needed by xapi-xe-0.2-5181.i686
Libpthread. so.0 (GLIBC_2.3.2) is needed by xapi-xe-0.2-5181.i686
[Root @ cloudstack-ms ~] #

In this case, we use yum to install it. it will automatically help us solve the dependency problem.

Copy codeThe code is as follows:
Yum install xe-cli-6.1.0-59235p.i686.rpm

After installation, run the xe command. If an error is reported

Copy codeThe code is as follows:
Unhandled exception
File "stunnel. ml", line 137, characters 20-25: Pattern matching failed

 
To install the stunnel package, run the following command:

Copy codeThe code is as follows:
Yum install stunnel

After installation, you can run the xe command normally. The basic usage is as follows:


Copy codeThe code is as follows:
Xe-s ip-u username-pw password command param
-S option specifies the IP address of the xenserver server
-U option indicates the username of the XenServer server
-Pw indicates the user password
Command is a xe sub-command, such as host-list.
Param is a command parameter, such as uuid = xxxxx.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.