LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Updating CentOS install from hard disk (https://www.linuxquestions.org/questions/red-hat-31/updating-centos-install-from-hard-disk-509316/)

dstu 12-11-2006 03:53 AM

Updating CentOS install from hard disk
 
Hello,

I have a CentOS 4 server installed in a colocation site, so I don't have access to the CD-ROM there.

I'm trying to install additional applications on it (part of the package), but it asks to enter a disk into the CD-ROM.

I downloaded and extracted the 4 iso disks to the server, but I don't know how to "tell" the Linux to find the files that it's looking for there and not in the CD-ROM.

Can anyone guide me?

Thanks,

David

reddazz 12-11-2006 05:26 AM

Moved: This thread is more suitable in the Redhat Forum and has been moved accordingly to help your thread/question get the exposure it deserves.

reddazz 12-11-2006 05:28 AM

CentOS uses YUM for package management, so you could use that to install the packages and it will fetch them from the web (or your own local repo if you make one). It will also automatically install any dependencies. Installing a package would be as simple as doing something like
Code:

#yum install foobar

dstu 12-11-2006 07:00 AM

Hi,

So I can't use the windows like (I don't remember its name) interface to "Add/Remove Programs"?

If I have all the disks extracted locally under /root/Desktop/CentOS/DiskNN (NN is 1-4), How can I install the apache web server, cyrus IMAP and so on? Do I need to know the exact names of the packages?

Isn't there any easier way to ask the OS to look in these locations instead?

Thanks.

reddazz 12-11-2006 12:13 PM

Add/Remove programs needs in CentOS 4 needs discs in the drive. With yum, you can copy your discs to hard drive and create a software repository or alternatively use the online software sources.


All times are GMT -5. The time now is 06:37 PM.