Peter aka Lekensteyn op 25/07/2010 17:15:32
yum is de pakketbeheerder op CentOS.
Met # bedoelt Aad dat je de commando als root user moet starten.
Ik ben als root user ingelogd,..
Aad B op 25/07/2010 17:20:57
mogelijk denkt yum nu dat de laatste release al aanwezig is...
het kan ook zijn dat je even op zoek moet naar het juiste command. Je moet php wat verder uitschrijven, dus qualificeren wat je wilt update, doe maar eens:
[root@webserver]# yum search php
base 100% |=========================| 2.1 kB 00:00
updates 100% |=========================| 1.9 kB 00:00
primary.sqlite.bz2 100% |=========================| 345 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 2.1 kB 00:00
php-pgsql.i386 : A PostgreSQL database module for PHP.
php-odbc.i386 : A module for PHP applications that use ODBC databases.
etc
en je moet dus de volledige string voor de punt nemen in je yum update statement.
Als laatste redmiddel kan je ook yum erase gevolgd door yum install doen.
Ik snap niet alles wat je uitlegd Aad, maar met het commando:
yum search php kreeg ik het volgende:
-bash-3.2# yum search php
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: ftp.nluug.nl
* base: ftp.nluug.nl
* extras: ftp.nluug.nl
* rpmforge: apt.sw.be
* updates: ftp.nluug.nl
Excluding Packages in global exclude list
Finished
================================= Matched: php =================================
SDL_gfx.x86_64 : Graphic primitives, rotozoomer, framerate control and image
: filters
SDL_gfx-devel.x86_64 : Header files, libraries and development documentation for
: SDL_gfx
arpd.x86_64 : ARP reply daemon
arphound.x86_64 : ARP traffic monitoring/logging tool
arping2.x86_64 : Layer2 Ethernet pinger
atomorun.x86_64 : OpenGL Jump&Run game where you have to flee an exploding
: nuclear bomb
blobwars.x86_64 : Mission and Objective based 2D Platform Game
bluefish.x86_64 : Graphical web development application for experienced users
cabextract.x86_64 : Program to extract Microsoft Cabinet files
cacti.noarch : Complete network graphing solution designed on top of RRDTool
compat-readline43.i386 : The readline 4.3 library for compatibility with older
: software.
compat-readline43.x86_64 : The readline 4.3 library for compatibility with older
: software.
critter.x86_64 : SDL/OpenGL space shoot'em up game
dnstracer.x86_64 : Trace a chain of DNS servers to the source
dynamite.x86_64 : Extract data compressed with PKWARE Data Compression Library
dynamite-devel.x86_64 : Header files, libraries and development documentation
: for dynamite.
evolution-rss.x86_64 : Evolution plugin for rss feed support
fonts-arabic.noarch : Fonts for Arabic
fortune-taow.x86_64 : Fortune files with quotes from Sun Tzu's "The Art of War"
fraqtive.x86_64 : Draws Mandelbrot and Julia fractals
fuse-iso.x86_64 : FUSE module to mount ISO filesystem images
geany.x86_64 : Small C editor
gnome-themes-extras.noarch : Collection of metathemes for the Gnome desktop
: environment
gollem-h3.noarch : The Horde web-based File Manager.
gonvert.noarch : Units conversion utility
graphviz-php.x86_64 : Php extension tools for version 2.8 of graphviz
gtk-murrine-engine.x86_64 : Murrine GTK2 engine
gtodo.x86_64 : Graphical todo list tool
hddtemp.x86_64 : Hard disk temperature tool
horde.noarch : The common Horde Framework for all Horde modules.
icinga-api.x86_64 : PHP api for icinga
imp-h3.noarch : The Internet Messaging Program: webmail access to IMAP/POP3
: accounts.
ingo-h3.noarch : The Horde web-based Email Filter Rules Manager.
iproute.x86_64 : Advanced IP routing and network device configuration tools.
ipw2100-firmware.noarch : Firmware for Intel? PRO/Wireless 2100 network adaptors
ipw2200-firmware.noarch : Firmware for Intel? PRO/Wireless 2200 network adaptors
kboggle.x86_64 : Boggle game
kflamesaver.x86_64 : Screensaver with flames
kiosktool.x86_64 : KIOSK administration admin tool
kronolith-h3.noarch : The Horde calendar application.
lbzip2.x86_64 : Parallel implementation of the bzip2 file compressor
libc-client.i386 : C-client mail access routines for IMAP and POP protocols
libc-client.x86_64 : C-client mail access routines for IMAP and POP protocols
libmpeg3.x86_64 : Decoder of various derivatives of MPEG standards
libmpeg3-devel.x86_64 : Development files for libmpeg3
libmpeg3-utils.x86_64 : Utilities from libmpeg3
libnxml.x86_64 : Library for parsing, writing and creating XML
libnxml-devel.x86_64 : Header files, libraries and development documentation for
: libnxml.
lighttpd-fastcgi.x86_64 : FastCGI module and spawning helper for lighttpd and
: PHP configuration
mmsrip.x86_64 : MMS Streams Recorder
mnemo-h3.noarch : The Horde note manager application.
nag-h3.noarch : The Horde task list manager.
ntop.x86_64 : Network traffic probe that shows the network usage
nttlscan.x86_64 : Quick network topology scanner
perl-Captcha-reCAPTCHA.noarch : A Perl implementation of the reCAPTCHA API
perl-PHP-Perlinfo.noarch : Clone of PHP's phpinfo function for Perl
perl-PHP-Serialization.noarch : Convert PHP's serialize() output into Perl
: memory structure, and back.
perl-PLP.noarch : Perl in HTML pages
perl-XML-Mini.noarch : MiniXML XML generator and parser interface
phc.x86_64 : PHP compiler
postgresql-relay.x86_64 : Multiplex all your databases to one point of origin
premiereepg2vdr.x86_64 : Read EPG information for Premiere TV channels
python-kid.noarch : Simple and pythonic XML template language
rbme.noarch : Rsync Backup Made Easy
readline.i386 : A library for editing typed command lines.
readline.x86_64 : A library for editing typed command lines.
readline-devel.i386 : Files needed to develop programs which use the readline
: library.
readline-devel.x86_64 : Files needed to develop programs which use the readline
: library.
sarg.x86_64 : Squid usage report generator per user/ip/name
sharedance.x86_64 : Ephemeral key/data pair storing daemon
sphinx.x86_64 : Free open-source SQL full-text search engine
sqlitemanager.noarch : Multilingual web based tool to manage SQLite database
squirrelmail.noarch : SquirrelMail webmail client
talkfilters.x86_64 : converts ordinary English text into text that mimics a
: certain dialect
talkfilters-devel.x86_64 : Header files, libraries and development documentation
: for talkfilters.
totem.i386 : Movie player for GNOME 2
totem.x86_64 : Movie player for GNOME 2
totem-devel.i386 : Libraries/include files for Totem
totem-devel.x86_64 : Libraries/include files for Totem
totem-mozplugin.x86_64 : Mozilla plugin for Totem
turba-h3.noarch : The Horde contact management application.
velocity.x86_64 : Java-based template engine
viruskiller.x86_64 : Frantic shooting game where viruses invade your computer
xaos.x86_64 : Fast, portable, real-time, and interactive fractal zoomer
-bash-3.2#