Vivek

Wednesday, 18 July 2012

How To Install CentOS-6 Server and Desktop

Step by step guide to on how to install CentOS 6 Linux (in this case 64 bit) from scratch on a new machine.
First off visit http://centos.org and download the install ISO image for your servers architecture (i686, x86_64)

How to install CentOS 6 for Servers & Desktops Step by Step

  1. Start your Computer and Press F2 or F12 key. 
  2. Set your computers BIOS to boot form CD / DVD/HardDrive
  3. Insert the CentOS-6 CD or DVD or Hard Drive. 
  4. When presented with the following screen press enter on Install or upgrade an existing system.





    5.
    You will now be presented with a CD Check, Skip this step.
     6. You will now see some black and white text on your screen as your computer loads the X11 environment for the CentOS install.  click next.
     7. Select your Language (English)
     8. Select your keyboard type(US English)
     9. Storage type, as I am installing on my local hard drive I selected “Basic storage type” if you are using iSCSI/FCoE/zFCP similar technology now would be the time to set it up.
     10. As this is a clean install and the drive has never been formatted before I got the following Initialize drive warning, you might get the same if your drive (or virtual hard disk) is new.
     11.Set the hostname for your Server.
     12. Set your timezone / location (UTC+5:30/ Kolkata)                                                                                                                                    
     13. Set your root password.
     14. You will now be set with a bunch of options for your disk partitioning, If you want new fresh install just selected the top option “Use All Space” other wise it depends upon your choice in which type of installation you want.
    15. You will now see your partition table laid out, now is the time to modify it if required. If this is a server I would suggest you create some different partitions for /home and /var. These are the two partitions that crash Linux servers, /home because users fill their home drives and causes the system to crash and /var because the log or ftp directories fill up and crash the server.

    16. Format warning, click on Format (this will delete your data).

    17. You will now see a warning about writing the changes to disk, click on Write changes to disk.
      18. Boot loader options, I left this as default if you want to set a boot loader password just set the password.

    19. The next part is important, for servers I select the minimal, this installs a minimal setup which is ideal for servers, if you are installing for a desktop you chose Desktop or  other options.Why i chose minimal  because that will be more susceptible to hackers.

     20. CentOS-6 will install.

     21. CentOS-6 has installed
     22. Reboot and login as root.(su )

    23. Update the system using “yum update” command.


     if you have any query please let me know.
    my email Id:- vivek.k.ray@gmail.com