Install and update xCAT Software

Source: Internet
Author: User

Install and update xCAT Software

To see how to install and upgrade xCAT software, we will install and update the release package and non-release package.

First, run the lsdef command to view the osimage information, such

 

lsdef -t osimage centos6.6-x86_64-install-compute...    pkgdir=/install/centos6.6/x86_64    pkglist=/opt/xcat/share/xcat/install/centos/compute.centos6.pkglist    otherpkgdir=/install/custom/centos6.6/x86_64/    otherpkglist=/install/custom/centos6.6/x86_64/mypkgs.pkglist...

 

Install and update the release package

1. to install or update the package in the release, you only need to add the package to be installed or updated to the file defined by pkglist.

Install and update non-release packages

1. Create a directory to store additional software packages, such

 

  mkdir -p /install/custom/centos6.6/x86_64/

 

 

  cp helloworld-1.0.0-1.el6.x86_64.rpm /install/custom/centos6.6/x86_64/

 

 

  cd /install/custom/centos6.6/x86_64/  createrepo .

 

 

helloworld

 

 

chdef -t osimage centos6.6-x86_64-install-compute \    otherpkgdir=/install/custom/centos6.6/x86_64/ \    otherpkglist=/install/custom/centos6.6/x86_64/mypkgs.pkglist

 

7. to update the software package, place the new rpm package in the/install/custom/centos6.6/x86_64/directory, and run the "updatenode <noderange>-S" command again.

Related Article

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.