Solved

yum-xen.conf

Posted on 2013-01-31
1
305 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

762 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now