Hi Friends.. My name is Alexander... I installed CentOS 4.4 x86_64 Server from ServerCD. My questios is: If I can install develop tools from CD's CentOS 4.4 x86_64.. Help me please...
On Mon, 2007-02-05 at 10:58 -0500, Alexander Lopez wrote:
Hi Friends.. My name is Alexander... I installed CentOS 4.4 x86_64 Server from ServerCD. My questios is: If I can install develop tools from CD's CentOS 4.4 x86_64.. Help me please...
Installing from the CDs is not really possible ... you must install from a repository ... which is cd-1, 2, 3, 4 all copied into one directory.
Or just use yum to install from an online repository.
The reason for this is that the yum included in CentOS-4 does not know how to SPAN CDs (and ask for cd-2, etc.)
You can install directly from the DVD or from a repo on your hard drive that has all the files from all the CDs copied to it.
On Mon, 2007-02-05 at 10:58 -0500, Alexander Lopez wrote:
Hi Friends.. My name is Alexander... I installed CentOS 4.4 x86_64 Server from ServerCD. My questios is: If I can install develop tools from CD's CentOS 4.4 x86_64.. Help me please...
Yes. See the comments in /etc/yum.repos.d/CentOS-Media.repo ...
# cat /etc/yum.repos.d/CentOS-Media.repo # CentOS-Media.repo # # This repo is used to mount the default locations for a CDROM / DVD on # CentOS-4. You can use this repo and yum to install items directly off the # DVD ISO that we release. # # To use this repo, put in your DVD and use it with the other repos too: # yum --enablerepo=c4-media [command] # # or for ONLY the media repo, do this: # # yum --disablerepo=* --enablerepo=c4-media [command]
[c4-media] name=CentOS-$releasever - Media baseurl=file:///media/cdrom/ file:///media/cdrecorder/ gpgcheck=1 enabled=0 gpgkey=file:///usr/share/doc/centos-release-4/RPM-GPG-KEY-centos4
For example (on my i386 Workstation system, not server CD, but hopefully relevant) with the DVD mounted at /media/cdrom:
# yum --disablerepo=* --enablerepo=c4-media grouplist Loading "fastestmirror" plugin Loading "priorities" plugin Loading "protectbase" plugin Setting up Group Process Setting up repositories file:///media/cdrecorder/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/media/cdrecorder/repodata/repomd.xml' Trying other mirror. c4-media 100% |=========================| 1.1 kB 00:00 Loading mirror speeds from cached hostfile file:///media/cdrecorder/repodata/yumgroups.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/media/cdrecorder/repodata/yumgroups.xml' Trying other mirror. yumgroups.xml 100% |=========================| 557 kB 00:00 Installed Groups: Administration Tools Authoring and Publishing Compatibility Arch Support DNS Name Server Editors Engineering and Scientific FTP Server GNOME Desktop Environment GNOME Software Development Games and Entertainment Graphical Internet Graphics KDE (K Desktop Environment) KDE Software Development Legacy Network Server Mail Server MySQL Database News Server Office/Productivity PostgreSQL Database Printing Support Server Configuration Tools Sound and Video System Tools Text-based Internet Web Server Windows File Server X Software Development X Window System Available Groups: Compatibility Arch Development Support Development Tools Legacy Software Development Network Servers Done
So, try:
# yum --disablerepo=* --enablerepo=c4-media groupinstall "Development Tools"
Phil
On Mon, 2007-02-05 at 13:48 -0500, Phil Schaffner wrote:
On Mon, 2007-02-05 at 10:58 -0500, Alexander Lopez wrote:
Hi Friends.. My name is Alexander... I installed CentOS 4.4 x86_64 Server from ServerCD. My questios is: If I can install develop tools from CD's CentOS 4.4 x86_64.. Help me please...
Yes. See the comments in /etc/yum.repos.d/CentOS-Media.repo ...
Self-reply with apologies for answering a question other than the one asked. Should have been "Yes, but...". See Johnny's reply that showed up in my queue after I hit send on my instructions for using DVD media, not CD media.
:-/ Phil