Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of installing xenserver xe command line on centos

Shulou Source: shulou.com Published: 2022-06-01 10:23:24 11月12日 Update

This article introduces the relevant knowledge of "how to install the xenserver xe command line on centos". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Needless to say, the role of installing the xe command line on centos. First find the rpm package of the xe command (in the client_install directory) in the installation iso of xenserver, and then copy it to centos. If you install the package xe-cli-6.1.0-59235p.i686.rpm directly with the rpm command, you will be prompted with a dependency error. At this point, use the yum command to install, which will automatically help us deal with the dependencies.

The 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 ~] #

At this point, we use yum to install it, which will automatically help us deal with the dependency problem.

The code is as follows:

Yum install xe-cli-6.1.0-59235p.i686.rpm

After installation, execute the xe command if an error is reported

The code is as follows:

Unhandled exception

File "stunnel.ml", line 137 Magna 20-25: Pattern matching failed

At this point, you need to install the stunnel package, using the following command

The code is as follows:

Yum install stunnel

After all are installed, you can execute the xe command normally. The basic usage is as follows

The code is as follows:

Xe-s ip-u username-pw password command param

The-s option indicates the IP address of the xenserver server

The-u option indicates the user name of the XenServer server

-the pw option indicates the user's password

Command is an Xe subcommand, such as host-list, etc.

Param is an argument to the command, such as uuid=xxxxx, etc.

That's all for "how to install the xenserver xe command line on centos". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Tags: Commands code methods content more servers users knowledge to install install process service practical learned and then no functions parameters dilemmas addresses Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Linux OPPO Reno Redmi MariaDB