Install and configure CentOS Linux

Prepare the installation media

When you install CentOS 6.5 Linux, you need to include some extra packages provided by Autodesk, collectively called the kickstart (KS) file. If you use a CentOS distro, you must add the kickstart file to the distribution. You do this by running a script which takes the original CentOS ISO, adds the kickstart, and outputs the new ISO you use to install Linux. For this you need:

To create the custom CentOS installation DVD:

  1. Run build_kickstart_cd. This adds the kickstart file to the ISO image of your Linux distribution DVD or first CD. For example:
    build_kickstart_cd CentOS65_kickstart.cfg Centos6.5.iso Centos6.5_KS.iso
  2. Burn the updated ISO image to a DVD. You can use the stock DVD2.

Install CentOS

  1. Set the PC to boot from the optical (DVD) drive. Typically when a machine boots up there is a prompt to enter the boot menu. On an HP workstation, press F9. On a DELL, press F12.
  2. Boot the PC from your new kickstart DVD ISO.
  3. At the CentOS "Welcome" screen, using the arrows keys, select "Install system with a basic video driver" and press the Tab key. This presents the command line with the vmlinuz command and some parameters used to install the OS, for example:
    vmlinuz initrd=initrd.img
    Append to this command the kickstart parameters linux ks=cdrom so that the whole command line looks like:
    vmlinuz initrd=initrd.img linux ks=cdrom
    Press Enter to begin the installation. You'll be prompted to set some system settings like language and time.
  4. Note: If the installation hangs it may be because the installer doesn't have an appropriate driver for your video card. Try appending text to the vmlinuz command:
    vmlinuz initrd=initrd.img linux ks=cdrom text
    This runs the installer in non-graphical text-only mode.
  5. When you are prompted for the installation type, choose "Create Custom layout". This lets you manually initialize the hard disc. Delete the default partition scheme and partition your hard drive according to the following example:
    Device Size (MB) Mount point Type
    sda1 200 /boot ext4
    sda2 For 2GB RAM, 4GB; for 2-8GB RAM, equal to the RAM; greater than 8GB RAM, at least 4 GB swap.   swap
    sda3 Set to "use remaining space". / ext4

Basic configuration

After booting into your new Linux installation:

  1. By default the PC system time zone is set to EST. If you want to change it, do so before installing either Flare or Flame Assist.
  2. Change the default root password. Log into your system as root, using the default password password, and in a terminal run the passwd command.

Basic network configuration

The following is just an example and your settings will vary according to your network environment. Edit the files below as root, the reboot with reboot.

Install device drivers