| Home Register Memberlist Help Search Quick Links No Replies |
|
||||||
| Basic How-tos Help Us Noobs by Sharing Your Wisdom |
![]() |
![]() |
|
Thread Tools | ![]() |
|
#1
|
||||
|
||||
|
If your server is CentOS or RedHat Linux Enterprise, you would normally use yum for updates of important components or to obtain new ones. If your system does not already have yum installed, the following will get that corrected for you.
In root ssh on the server, run the following commands: On CentOS 4 i386 distributions Code:
rpm -Uvh ftp://ftp.pbone.net/mirror/ftp.centos.org/4.6/os/alpha/CentOS/RPMS/centos-yumconf-4-4.5.noarch.rpm rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/yum-metadata-parser-1.0-8.el4.centos.i386.rpm rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/yum-2.4.3-4.el4.centos.noarch.rpm Code:
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/yum-3.2.22-20.el5.centos.noarch.rpm http://mirror.centos.org/centos-5/5/os/i386/CentOS/yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm Code:
yum update yum If you get the following error: Code:
error: cannot create %sourcedir /usr/src/redhat/SOURCES Code:
mkdir -p /usr/src/redhat/SOURCES
__________________
Miraenda ~ Ex uno disce omnes ~ |
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd. |
||