LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-22-2007, 04:44 AM   #1
PKumar
LQ Newbie
 
Registered: Jun 2007
Posts: 11

Rep: Reputation: 0
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
 
Old 10-22-2007, 05:02 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
nfs, http, ftp

Have a look at the RedHat documentation for how to do it
 
Old 10-22-2007, 05:26 AM   #3
PKumar
LQ Newbie
 
Registered: Jun 2007
Posts: 11

Original Poster
Rep: Reputation: 0
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.
 
Old 10-22-2007, 05:38 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Can you do yum upgrade?
 
Old 10-22-2007, 05:53 AM   #5
PKumar
LQ Newbie
 
Registered: Jun 2007
Posts: 11

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

Last edited by PKumar; 10-22-2007 at 05:55 AM.
 
Old 10-22-2007, 06:32 AM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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
 
Old 10-22-2007, 06:43 AM   #7
mickyg
Member
 
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249

Rep: Reputation: 30
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.
 
Old 10-22-2007, 06:50 AM   #8
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 40
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
 
Old 10-25-2007, 05:12 AM   #9
PKumar
LQ Newbie
 
Registered: Jun 2007
Posts: 11

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
centos 5 install konfigure Red Hat 1 07-20-2007 05:01 AM
CentOS install theoneandonly19 Red Hat 3 06-28-2007 03:59 PM
[SOLVED] which one to install centOS 4 or centOS 5 ? Pls HELP !!! vikas027 Linux - Newbie 2 05-13-2007 06:04 AM
Why? CentOS Install Richtown Linux - Newbie 2 11-02-2006 03:30 PM
Help install CentOS Nodda4me Linux - Software 2 10-07-2005 05:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration