[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] What is XCP iso 'under-the-hood'?



Hey Andreas,

Sure -- yum is a package installer like apt.

yum --enablerepo=base --disablerepo=citrix install <PACKAGE>

In my example I mentioned screen.

This just means it disables the citrix updates repo and enables the base centos repo for searching for the desired package.

Here's a better explanation by way of example, just check out what's in the available repos list.

I did this on a dom0:

cd /etc/yum.repos.d/

[root@vh04 yum.repos.d]# ls -al
total 32
drwxr-xr-x  2 root root  4096 Sep 25 21:28 .
drwxr-xr-x 62 root root  4096 Dec 13 10:13 ..
-rw-r--r--  1 root root  2020 Sep 25 21:28 CentOS-Base.repo
-rw-r--r--  1 root root   631 Aug 29  2011 CentOS-Debuginfo.repo
-rw-r--r--  1 root root   626 Aug 29  2011 CentOS-Media.repo
-rw-r--r--  1 root root  5390 Aug 29  2011 CentOS-Vault.repo
-rw-r--r--  1 root wheel  264 Sep 25 21:28 Citrix.repo

[root@vh04 yum.repos.d]# cat Citrix.repo 

[citrix]
name=XenServer 6.1.0 updates
gpgcheck=1
enabled=1

[root@vh04 yum.repos.d]# cat CentOS-Base.repo 

# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the 
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
exclude=kernel-xen*, *xen*
enabled=0

[SNIP -- bunch more of the same ...]


On Thu, Dec 13, 2012 at 1:28 PM, Andreas Hilboll <lists@xxxxxxxxxx> wrote:
yum --enablerepo=base --disablerepo=citrix install

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.