LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   install centos 5 (https://www.linuxquestions.org/questions/linux-newbie-8/install-centos-5-a-593624/)

PKumar 10-22-2007 04:44 AM

install centos 5
 
Hi

I have a server running CentOS 4 with internet on it.
This server does not have floppy drive or CD drive (its Remote server)
How do i install CentOS 5 on it.

Thanks,
--

Prabhat

billymayday 10-22-2007 05:02 AM

nfs, http, ftp

Have a look at the RedHat documentation for how to do it

PKumar 10-22-2007 05:26 AM

Actually my problem is that, I have remote server currently its on running state.
What I need,Files that required to boot the system and that boot program can start install from ISO Image over any mirror site or from my hard drive or local network.

billymayday 10-22-2007 05:38 AM

Can you do yum upgrade?

PKumar 10-22-2007 05:53 AM

thanks billymayday,
that's will update packages that include's kernel, but I want to go for fresh installation. Is there any way?

billymayday 10-22-2007 06:32 AM

Actually upgrade should be able to update from v4 to 5, but outside of that I'm afraid I don't know. yum update just updates stuff

mickyg 10-22-2007 06:43 AM

Is there a specific reason you want to go for a fresh install instead of an distro upgrade?

AFAIK doing a distro upgrade through YUM is basically the same as a fresh install, with the added advantage that your configuration files shouldn't get over-written.

P.S. it's worth me highlighting here that I've never actually done a distro upgrade on CentOS, only Kubuntu.

brianmcgee 10-22-2007 06:50 AM

PXE [1] install may be an option if you have no other boot devices than your network.

[1] http://www.redhat.com/docs/manuals/e...de/ch-pxe.html

PKumar 10-25-2007 05:12 AM

Hi, I got the sol,
I am writting here what excataly I have done.

Since, I have net connection on current system,

1. I have downloaded ISO image of centos 5 (1 CD only)
2. mkdir /mnt/temp
3. mount -o CentOS-5.0-x86_64-bin-1of7.iso /mnt/tmp
4. cp -a /mnt/tmp/isolinux/vmlinuz /boot/vmlinuzMy
5. cp -a /mnt/tmp/isolinux/initrd.img /boot/initrdMy.img
6. umount /mnt/tmp
7. Add entry to your /etc/grub.conf
title Fedora Core 2 Installation
root (hd0,0) kernel /boot/vmlinuzMy
initrd /boot/initrdMy.img
8. Reboot system
9. Now your is booted and ready for new installation.
10. Select installation method you want (FTP, HTTP or NFS probably). I have selected http
11. Give your Name server and ipdetails.
12. Give site & Dir (I have given)
mirror.stanford.edu
/yum/pub/centos/5/os/x86_64/

I think its ok to install now :)

even I have done post on my blog


All times are GMT -5. The time now is 08:46 AM.