Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of installing xenserver xe command line on centos

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report