Installing CentOS 5 Via HTTP or FTP

Applicable to Centos Versions:

  • Centos 5.1, 5.2

Requirements

Explanation of requirements.

  1. A burned copy of the Centos netinstall.iso CD image
  2. An active Internet connection

Doing the Work

Basic description of what will be done and what is expected.

  1. Download a copy of the netinstall ISO:
  2. Click this link: netinstall ISO download and burn the ISO onto CD with k3b, xcdroast, gnomebaker, or nero trial version.
  3. Boot CD and choose FTP install method:
  4. Boot the CD and choose the FTP install method you will receive a prompt asking you to input the following information:
    1. Domain: ftp://mirrors.kernel.org
    2. Centos Directory: /centos/5.2/os/i386/ (note: here you can change the arch to your system x86_64 or i386)
  5. Ethernet or wireless configuration:
  6. I suggest you connect manually to your router via ethernet cable or if you want to use wireless it must be natively detected. A
    workaround is to use something like the Netgear or Linksys wireless "game adapter" which is really a very simple wireless ethernet
    bridge. Make sure it's properly configured and plugin your ethernet cable to your computer and the game adapter and choose DHCP.

    If you're using DHCP and your router is already set to accept DHCP connections, it's easy and really no further configuration is
    required. Just choose DHCP and next.

    If you're using a static connection you'll need to manually configure your IP, Gateway, Subnet and DNS. You will need to know these
    settings or be able to follow exact commands to obtain this information. If you have configured your connection via DHCP or statically
    and followed step #2 you should not receive any errors and be able to install Centos as fast as your connection can download up to
    2Gbit/sec (kernel.org limit).

Troubleshooting

How to test

Control + Alt + F2 should bring you to tty2 single user root prompt. From there issue the following commands and have the other requested information on hand and easily accessible.

  1. When supplying large text pastes please use a free non-advertisement pastebin like: fpaste.org or dpaste.com
  2. as root issue the following command:
    lsb_release -a; uname -a; /sbin/ifconfig; cat /etc/sysconfig/network-scripts/ifcfg-eth0; /sbin/lspci
    Paste the results to: rafb.net or dpaste.com. Change ifcfg-eth0 to your device alias if this isn't it.
  3. Know your hardware and have specific make, model, firmware version and settings:
  4. If you're connecting to a router have the above information ready as well as your network/device information.

Common problems and fixes

The most common problem is typing in the domain and Centos directory structure incorrectly in step 2.

More Information

Any additional information or notes.

Disclaimer

We test this stuff on our own machines, really we do. But you may run into problems, if you do, come to #centos on irc.freenode.net

Added Reading


© 2012 CentosHelp.org