jump to navigation

Preparing for a Network Installation for CentOs 5.x February 4, 2011

Posted by Tournas Dimitrios in Linux.

This article expects that you already know how to install Linux on your computer with the traditional method (disk installation ) . So I ‘ll skip steps that you are already familiar with . By default, CentOS 5 comes as a single DVD or a set of six CD’s. If you don’t have a DVD burner and don’t want to burn that many CD’s, here’s how to burn a small, bootable CD just to boot up, and fetch the actual install files from a FTP or HTTP server on your local network . Oh …. yes the installation  from a network  is  much faster than a cd installation .

Although the network installation method is a bit automated , the user must interactively provide the configurations for the operating system installation . The process can be fully automated with ” kickstart installation ”  read my article here .

These are the steps to prepare a network installation :

  • Go to CentOs and select a mirror
  • Start by downloading the small 70MB CentOS-5.1-i386-netinstall.iso image and burn it to a disc. There’s also an x86_64 architecture image available that you can download if that’s the type of hardware you’re using.
  • Download the iso files for the 6 cd’s  or 1 Dvd
  • Always verify the integrity of the downloaded iso’s with md5sum , this extra step is absolutely worth !!!!!!
  • Transfer the iso files to your local FTP  or HTTP server
  • Create 6 directories disk1 ….disk6 (for CD)  or only 1 directory disk1 (for DVD)
  • mount the cd’s or Dvd with the directories created in previous step
    mount -o loop /pub/CentOs-image-X .iso   /diskX (X is 1-6 for CD)
  • Do a test from a remote host or locally to verify that the directories are accessible .

We are now ready to begin the network installation :

  • Notice the IP address of the server (FTP / HTTP) .
  • Boot up the designated CentOS PC with your netinstall disc and wait for it to get to boot screen.
  • type linux askmethod and press Enter .
  • Choose your language. The default selection is English.
  • Is English your primary language? It is for me.
  • Choose your keyboard type. The default is a US keyboard layout.My keyboard is as basic as they come. So I’m choosing US.
  • Choose the installation method. For this guide I perform a FTP or HTTP install and get the packages from my local server .
  • Now it’s time to configure the TCP/IP settings. If you want to acquire an IP from a DHCP server or have no idea what your network settings are, then leave everything on the defaults. However, if you want to use a static IP and save yourself the trouble of editing /etc/sysconfig/network-scripts/ifcfg-eth0 or running setup later, then choose Manual configuration. I don’t have an IPv6 network, so I’ll be using IPv4.
  • Skip this step if you chose DHCP. On this screen enter your network settings (IP address, subnet mask, default gateway, and a dns name server).
  • Enter the web server and directory path to the CentOS packages to get this installation started.
  • Example for an FTP installation :
    FTP site name : (my server’s IP)
    CentOs directory : pub/disk1 (here are all directories that we created in previous steps disk1 , disk2 , disk3 ….. disk6)

  • The installation will begin and you will notice that the installation is much faster than a disc installation



1. Using Kickstart to Automate Linux Installations « Tournas Dimitrios - February 6, 2011

[…] February 6, 2011 Posted by tournasdimitrios1 in Uncategorized. trackback My previous article presented a network based Linux installation , without doubt this method is much faster compared […]

2. Enrique - October 1, 2012

thanks from of the lima – Peru XD

tournasdimitrios1 - October 1, 2012

You are welcome

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s