Solved

yum-xen.conf

Posted on 2013-01-31
1
314 Views
Last Modified: 2013-02-07
i need to create a custom yum-xen.conf file but i am not sure how to create base context

the mirror is
http://yum.freepbxdistro.org/centos/6.3/

and here is a sample yum-xen.conf file i found.  How can i modify it to match the mirror above?

[base]
name=CentOS-6.2 - Base
mirrorlist=http://mirrorlist.centos.org/?release=6.2&arch=x86_64&repo=os
#baseurl=http://mirror.centos.org/centos/6.2/os/x86_64/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
 
[updates]
name=CentOS-6.2 - Updates
mirrorlist=http://mirrorlist.centos.org/?release=6.2&arch=x86_64&repo=updates
#baseurl=http://mirror.centos.org/centos/6.2/updates/x86_64/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
 
[extras]
name=CentOS-6.2 - Extras
mirrorlist=http://mirrorlist.centos.org/?release=6.2&arch=x86_64&repo=extras
#baseurl=http://mirror.centos.org/centos/6.2/extras/x86_64/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-6
 
[centosplus]
name=CentOS-6.2 - Plus
mirrorlist=http://mirrorlist.centos.org/?release=6.2&arch=x86_64&repo=centosplus
#baseurl=http://mirror.centos.org/centos/6.2/centosplus/x86_64/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-6
 
[contrib]
name=CentOS-6.2 - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=6.2&arch=x86_64&repo=contrib
#baseurl=http://mirror.centos.org/centos/6.2/contrib/x86_64/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-6
0
Comment
Question by:Kylo Ren
1 Comment
 
LVL 40

Accepted Solution

by:
jlevie earned 500 total points
ID: 38843500
In the example you found replace 6.2 with 6.3, comment out each mirrorlist line, uncomment each baseurl line and replace:

http://mirror.centos.org

with:

http://yum.freepbxdistro.org

in the baseurl and gpgkey lines
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Guacamole cut and paste issue 3 96
Use CRON to save a copy of an open file 1 56
How yum repo uses sqlite3 to keep metadata about the repository? 2 46
number in printf 13 32
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question