Cent OSInstallation Manual
Cent OSInstallation Manual
Version 0.3
Page 1 of 35
Version 0.3
Table of Contents
Part 1: Introduction ............................................................................................................. 4 1 General Introduction ................................................................................................... 4 1.1 Who should use this manual? ............................................................................. 5 1.2 Authorized Use Permission................................................................................. 5 1.3 Points of Contact ................................................................................................. 5 Part 2: Installation ............................................................................................................... 6 2 Installation Steps ......................................................................................................... 7 2.1 System Requirements.......................................................................................... 7 2.1.1 Overview of the Installation Process .......................................................... 7 2.1.2 Back Up Your Data ..................................................................................... 7 2.2 Beginning the Installation ................................................................................... 8 2.3 Installing CentOS ................................................................................................ 9 2.3.1 Language Selection ................................................................................... 11 2.3.2 Keyboard Configuration ........................................................................... 11 2.3.3 Partitioning the Hard Disk ........................................................................ 13 2.3.4 Installing GRUB ....................................................................................... 23 2.3.5 Network Configuration ............................................................................. 25 2.3.6 Setting up the System Clock ..................................................................... 28 2.3.7 Setting up Root Account ........................................................................... 28 2.3.8 Installing Packages.................................................................................... 29 2.3.9 Installation Begins .................................................................................... 31 2.3.10 Firewall Configuration at First-Boot ........................................................ 35
Page 2 of 35
Version 0.3
Table of Figures
Figure 1: Installer Menu Screen ...................................................................................... 9 Figure 2 : Checking Installation Media ........................................................................ 10 Figure 3: Installation Wizard Starting ........................................................................ 10 Figure 4 : Language Selection ........................................................................................ 11 Figure 5 : Choosing the Partition layout...................................................................... 13 Figure 6 : Partitioning the Hard Disk - /boot ............................................................... 14 Figure 7: Partitioning the Hard Disk - /home .............................................................. 15 Figure 8: Partitioning the Hard Disk -/var ................................................................... 16 Figure 9: Partitioning the Hard Disk -/tmp .................................................................. 17 Figure 10 : Partitioning the Hard Disk -/usr ................................................................ 18 Figure 11: Partitioning the Hard Disk -/opt ................................................................. 19 Figure 12 : Partitioning the Hard Disk Swap Partition ........................................... 20 Figure 13: Partitioning the Hard Disk root ............................................................... 21 Figure 14 : Final Partitioning Overview ....................................................................... 22 Figure 15 : Installing GRUB ........................................................................................ 24 Figure 16 : Configuring Network .................................................................................. 25 Figure 17: Configuring Network .................................................................................. 26 Figure 18 : Configuring Network .................................................................................. 27 Figure 19 : Setting up Root Account ............................................................................ 28 Figure 20: Selection of Packages other than Default ................................................... 29 Figure 21: Installation Confirmation Prompt .............................................................. 32 Figure 22: Formatting File Systems ............................................................................. 33 Figure 23 : Package Installation ................................................................................... 34 Figure 24 : Installation Complete .................................................................................. 35
Page 3 of 35
Version 0.3
Part 1: Introduction
1 General Introduction
Page 4 of 35
SSDG CentOS Installation Manual CentOS is an Enterprise Linux distribution based on the sources from Red Hat Enterprise Linux. Each CentOS version is supported for 7 years (by means of security updates). A new CentOS version is released every 2 years and each CentOS version is regularly updated (every 6 months) to support newer hardware. This results in a secure, low-maintenance, reliable, predictable and reproducible environment. This document details the installation steps of CentOS 5.5.
Version 0.3
Page 5 of 35
Version 0.3
Part 2: Installation
Page 6 of 35
Version 0.3
2 Installation Steps
This section gives a detailed layout of the CentOS operating system.
Page 7 of 35
Version 0.3
Page 8 of 35
Version 0.3
Figure 1: Installer Menu Screen The installer boot menu in the above figure shows two options 1. Install or Upgrade in Graphical Mode 2. Install or Upgrade in Text Mode For further information on Kernel, Rescue and Other options please use the function keys as shown in the above Figure 1. Choose Install or Upgrade in Graphical Mode from the options available in the installer boot menu and Continue.
Page 9 of 35
Version 0.3
Figure 2 : Checking Installation Media It can take a long time to test the installation media so we skip this test as shown in Figure 3.
Page 10 of 35
SSDG CentOS Installation Manual The welcome screen of the CentOS installer as shown in Figure3.Click on Next to continue.
Version 0.3
Page 11 of 35
Version 0.3
Before starting with the network configuration, the following sequences of steps are carried out after the keyboard configuration. This is done without any manual intervention. Initially detects the CD-ROM drives, mounts it and loads the basic installer components from the CD.
Page 12 of 35
Version 0.3
Next step is to select a partition schema for our installation. CentOS provides these four options as listed below a. Remove all partitions on selected drives and create default layout b. Remove Linux partitions on selected drive and Create default layout c. Use free space on selected drives and create default layout
Page 13 of 35
SSDG CentOS Installation Manual d. Create custom layout For our purpose of installing SSDG, choose Create Custom Layout from the drop down available and Click next to continue. Choosing this step will help us to customize the necessary set of partitions The following set of Screens illustrates the step-by-step partition of the Hard disk under various heads. Choose the Boot partition (/boot from the Mount Point Drop down) and specify the size of the partition and click Ok to continue
Version 0.3
Page 14 of 35
Version 0.2
Choose /home from the drop down and give the size of /home partition and then click Ok to Continue
Page 15 of 35
Version 0.2
Choose /var from the drop down and give the size of /var partition and then click Ok to Continue
Page 16 of 35
Version 0.2
Choose /tmp from the drop down and give the size of /tmp partition and then click Ok to Continue.
Page 17 of 35
Version 0.2
Choose /usr from the drop down and give the size of /usr partition and then click Ok to Continue
Page 18 of 35
Version 0.2
Choose /opt from the drop down and give the size of /opt partition and then clickOk to Continue.
Page 19 of 35
Version 0.2
Choose File System Type as swap from the drop down and give the size of the swap partition* and then click Ok to Continue.
Figure 12 : Partitioning the Hard Disk Swap Partition * SWAP Size Criteria: 1. Systems with 4GB of RAM or less require a minimum of 6GB of swap space 2. Systems with 4GB to 16GB of RAM require a minimum of 8GB of swap space 3. Systems with 16GB to 64GB of RAM require a minimum of 16GB of swap space
Page 20 of 35
Version 0.2
Choose / from the drop down and choose Fill to maximum allowable size and then click Ok to Continue.
Figure 13: Partitioning the Hard Disk root Figure 14 gives an overall view of the partition that will be made. This can further changed at this point of time by editing and deleting the partitions that are listed. If there are no more changes, click Next to Continue.
Page 21 of 35
Version 0.2
Figure 14 : Final Partitioning Overview Note: Suppose you have 146 GB x 2 Hard Disk Drives configured in RAID 1, than you can do the file-system partition for 146 GB disk space as given below: /boot /home /var /tmp /usr /opt /swap / 200MB 10GB 34GB 10GB 25GB 20GB 16GB * choose option fill to maximum
* SWAP Size Criteria: Systems with 4GB of RAM or less require a minimum of 6GB of swap space Systems with 4GB to 16GB of RAM require a minimum of 8GB of swap space Systems with 16GB to 64GB of RAM require a minimum of 16GB of swap space
Page 22 of 35
Version 0.2
Page 23 of 35
Version 0.2
Figure 15 : Installing GRUB Check the option Use a boot loader password. Enter a Boot Loader Password.
Page 24 of 35
Version 0.2
Figure 16 : Configuring Network In the window that pops up uncheck Use dynamic IP configuration (DHCP) and Enable IPv6 support and give your network card static IP address (For Example 192.67.100.10) and a suitable netmask (for example) 255.255.255.0
Page 25 of 35
Version 0.2
Page 26 of 35
Version 0.2
Figure 18 : Configuring Network Set the hostname manually, e.g. server1.example.com, and enter a gateway (e.g. 192.168.0.1) and up to two DNS servers (e.g. 213.191.92.86 and 145.253.2.75): Once this is complete, network Configuration is complete.
Page 27 of 35
Version 0.2
Page 28 of 35
Version 0.2
Figure 20: Selection of Packages other than Default Now we must select only the package groups mentioned below to install, other packages may be added after installation if required.
Page 29 of 35
Version 0.2
Select Desktop Gnome Desktop Environment Application - Editors, Graphical Internet (For messaging and web servers) Servers Server Configuration Tools Base System Administration Tools, Base, X-Window System and click on Next. The installer then checks the dependencies of the selected packages. Desktop Gnome Desktop Environment1:NetworkManager-gnome-0.7.0-10.el5.X86_64 evince-0.6.0-13.el5.X86_64 file_roller-2.16.0-2.fc6X86_64 1:gedit-2.16.0-9.el5X86_64 gnome-netstatus-2.12.0-5.el5X86_64 gnome-system-monitor-2.16.0-3.el5X86_64 1:gnome-utils-2.16.0.5- el5X86_64 gnome-volume-manager-2.15.0_5 el5X86_64 gtk2-engines-2.8.0.3. el5X86_64 gtkhtml3_3.163_1.el5X86_64 10 out of 43 optional packages Application Editors 2:vim-enhanced-7.0.109-6.el5X86_64 1 package Graphical Internet firefox-3.0.18-1_.el5X86_64 (Only for Messaging & Web) 1 package NOTE: Uncheck other package groups apart from those mentioned above in Blue color. Servers Server Configuration Tools
Page 30 of 35
Version 0.2
system-config_securitylevel-1.6.27.1-5.el5X86_64 system-config_services-0.9.4.5-.el5.noarch 2 out of 8 optional packages Base System Administration Tools, Base, X-Window System
NOTE: the subpackages selected (by default) for above three packages should be left untouched and no new subpackages should be selected.
Page 31 of 35
Version 0.2
Page 32 of 35
Version 0.2
Figure 22: Formatting File Systems The hard drive is being formatted as shown in the Figure.
Page 33 of 35
Version 0.2
Figure 23 : Package Installation The installation is in progress and this will take a few minutes.
Page 34 of 35
Version 0.2
Figure 24 : Installation Complete Finally, the installation is complete, and you can remove your DVD from the computer and reboot it.
Page 35 of 35