Seite 1 von 1
yum repository
Verfasst: 22.11.2008, 18:35
von cccc
hallo
ich möchte /etc/yum.conf auf dem ESX 3.5 Update 2 konfigurieren.
Code: Alles auswählen
# cat /etc/yum.conf
ESX350-200809404-SG
gpgcheck = 0
name = Bundle ESX350-200809404-SG
baseurl = file:///var/spool/esxupdate/ESX350-200809404-SG
main
cachedir = /var/cache/yum
exactarch = 1
installonlypkgs =
distroverpkg = vmware-release
debuglevel = 2
logfile = /var/log/yum.log
tolerant = 1
pkgpolicy = newest
in
baseurl sollte ein repository server stehen.
weiss jemand und konnte bitte einen link vom dem kompatiblen repository posten?
Verfasst: 22.11.2008, 20:21
von cccc
als
baseurl habe dieses repository konfiguriert:
http://mirror.centos.org/centos/3/os/i386/
Code: Alles auswählen
#yum -y update
Gathering header information file(s) from server(s)
Server: Bundle ESX350-200809404-SG
Finding updated packages
Downloading needed headers
Resolving dependencies
Dependencies resolved
I will do the following:
update: yum 2.0.8-2.centos3.noarch
update: rpm 4.2.3-32_nonptl.i386
update: filesystem 2.2.1-3.centos.1.i386
update: busybox 0.60.5-11.centos.0.i386
update: basesystem 8.0-2.centos.0.noarch
--update: rpm-libs 4.2.3-32_nonptl.i386--
update: dev 3.3.12.3-1.centos.0.i386
update: bash 2.05b-41.7.centos.0.i386
--update: rpm-python 4.2.3-32_nonptl.i386--
--update: rpm-build 4.2.3-32_nonptl.i386--
Downloading Packages
Getting yum-2.0.8-2.centos3.noarch.rpm
yum-2.0.8-2.centos3.noarc 100% |=========================| 132 kB 00:00
Getting rpm-4.2.3-32_nonptl.i386.rpm
rpm-4.2.3-32_nonptl.i386. 100% |=========================| 560 kB 00:02
Getting filesystem-2.2.1-3.centos.1.i386.rpm
filesystem-2.2.1-3.centos 100% |=========================| 14 kB 00:00
Getting busybox-0.60.5-11.centos.0.i386.rpm
busybox-0.60.5-11.centos. 100% |=========================| 454 kB 00:02
Getting basesystem-8.0-2.centos.0.noarch.rpm
basesystem-8.0-2.centos.0 100% |=========================| 2.5 kB 00:00
Getting rpm-libs-4.2.3-32_nonptl.i386.rpm
rpm-libs-4.2.3-32_nonptl. 100% |=========================| 708 kB 00:03
Getting dev-3.3.12.3-1.centos.0.i386.rpm
dev-3.3.12.3-1.centos.0.i 100% |=========================| 2.8 MB 01:16
Getting bash-2.05b-41.7.centos.0.i386.rpm
bash-2.05b-41.7.centos.0. 100% |=========================| 1.4 MB 00:17
Getting rpm-python-4.2.3-32_nonptl.i386.rpm
rpm-python-4.2.3-32_nonpt 100% |=========================| 40 kB 00:00
Getting rpm-build-4.2.3-32_nonptl.i386.rpm
rpm-build-4.2.3-32_nonptl 100% |=========================| 444 kB 00:06
Running test transaction:
Test transaction complete, Success!
bash 100 % done 1/20
filesystem 100 % done 2/20
basesystem 100 % done 3/20
dev 100 % done 4/20
busybox 100 % done 5/20
rpm-libs 100 % done 6/20
rpm 100 % done 7/20
rpm-python 100 % done 8/20
warning: /etc/yum.conf created as /etc/yum.conf.rpmnew
yum 100 % done 9/20
rpm-build 100 % done 10/20
Completing update for yum - 11/20
Completing update for rpm - 12/20
Completing update for filesystem - 13/20
Completing update for busybox - 14/20
Completing update for rpm-libs - 15/20
Completing update for dev - 16/20
Completing update for bash - 17/20
Completing update for rpm-python - 18/20
Completing update for rpm-build - 19/20
Updated: yum 2.0.8-2.centos3.noarch rpm 4.2.3-32_nonptl.i386 filesystem 2.2.1-3.centos.1.i386 busybox 0.60.5-11.centos.0.i386 basesystem 8.0-2.centos.0.noarch rpm-libs 4.2.3-32_nonptl.i386 dev 3.3.12.3-1.centos.0.i386 bash 2.05b-41.7.centos.0.i386 rpm-python 4.2.3-32_nonptl.i386 rpm-build 4.2.3-32_nonptl.i386
Transaction(s) Complete
und jetzt kann ich mit dem yum die software vom RHEL 3 repository installieren.
Verfasst: 22.11.2008, 21:30
von cccc
eigentlich für::
Code: Alles auswählen
# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 3 (Taroon)
sollte eigentlich dieses repo richtig sein:
http://mirror.centos.org/centos/3.3/os/i386/
aber bitte korriegiert mich, wenn ich falsch bin.
Verfasst: 22.11.2008, 23:08
von continuum
Mal ne Frage am Rande ... wofuer soll das gut sein ?
Verfasst: 22.11.2008, 23:33
von cccc
continuum hat geschrieben:Mal ne Frage am Rande ... wofuer soll das gut sein ?
um mit dem yum software installieren zu können, wie z.B rsync.
Verfasst: 23.11.2008, 00:06
von irix
Normal will man da aber nichts installieren, hinzu kommt das die Tage des COS eh gezaehlt sind.
Die VMware Konfig liegt imho in /etc/vmware und IIRC gibt sogar nen esxconfig cmd was die ganze Konfig zusammen sucht. Wer identischen Hosts braucht sollte sich mal die Kickstart Installation ansehen.
Gruss
Joerg