Ive just installed a test machine from the same image. /etc/yum.repos.d directory is empty .
To install something from a standard repository you should create a file (with 644 permission and root:root ownership) in this directory like this: [r...@sipx3 ~]# cat /etc/yum.repos.d/CentOS-Base.repo # CentOS-Base.repo # # This file uses a new mirrorlist system developed by Lance Davis for CentOS. # 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-5 - Base mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=os #baseurl=http://mirror.centos.org/centos/5/os/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 #released updates [updates] name=CentOS-5 - Updates mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=updat es #baseurl=http://mirror.centos.org/centos/5/updates/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 #packages used/produced in the build but not released [addons] name=CentOS-5 - Addons mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=addon s #baseurl=http://mirror.centos.org/centos/5/addons/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 #additional packages that may be useful [extras] name=CentOS-5 - Extras mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=extra s #baseurl=http://mirror.centos.org/centos/5/extras/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 #additional packages that extend functionality of existing packages [centosplus] name=CentOS-5 - Plus mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=cento splus #baseurl=http://mirror.centos.org/centos/5/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 After creating this file you should be able to install software from internet, provided that you have access to it. At least I was able to install gcc after the above procedure HTH, Nikolay. _____ From: sipx-users-boun...@list.sipfoundry.org [mailto:sipx-users-boun...@list.sipfoundry.org] On Behalf Of Rene Pankratz Sent: Tuesday, April 28, 2009 3:23 PM To: sipx-users@list.sipfoundry.org Subject: [sipx-users] Howto use yum for installing additional packages withthe 4.0 CentOS Installation CD? Hello, I just installed Sipx 4.0 using sipfoundry-4.0.0-015289-i386.iso CentOS image. When trying to install additional packages using yum i get the message that the package is not available. The repository seems to be missing. As I am not familiar with CentOS and yum I need to know how to add the right repository of packages to my installation. Thank in advance René
_______________________________________________ sipx-users mailing list sipx-users@list.sipfoundry.org List Archive: http://list.sipfoundry.org/archive/sipx-users Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users