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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-22-2007, 04:44 AM
|
#1
|
LQ Newbie
Registered: Jun 2007
Posts: 11
Rep:
|
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
|
|
|
10-22-2007, 05:02 AM
|
#2
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
nfs, http, ftp
Have a look at the RedHat documentation for how to do it
|
|
|
10-22-2007, 05:26 AM
|
#3
|
LQ Newbie
Registered: Jun 2007
Posts: 11
Original Poster
Rep:
|
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.
|
|
|
10-22-2007, 05:38 AM
|
#4
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
Can you do yum upgrade?
|
|
|
10-22-2007, 05:53 AM
|
#5
|
LQ Newbie
Registered: Jun 2007
Posts: 11
Original Poster
Rep:
|
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.
|
|
|
10-22-2007, 06:32 AM
|
#6
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
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
|
|
|
10-22-2007, 06:43 AM
|
#7
|
Member
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249
Rep:
|
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.
|
|
|
10-22-2007, 06:50 AM
|
#8
|
Member
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399
Rep:
|
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
|
|
|
10-25-2007, 05:12 AM
|
#9
|
LQ Newbie
Registered: Jun 2007
Posts: 11
Original Poster
Rep:
|
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:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|