Version:
0.7
December
2007
Prepared
by Adiguna
Copyright
@2005 by Adiguna
Permission
to use, copy, modify and distribute this document and video captures
for any
purpose and without fee is hereby granted, provided that the above
copyright
notice appear in all copies, and that both the copyright notice and this
permission
notice appear in supporting documentation, and that the name of Adiguna
not be
used in advertising or publicity pertaining to distribution of the document
and
video captures without specific, written prior permission. Adiguna makes no
representations
about the suitability of this document and video captures for any purpose.
It is
provided "as is" without express or implied warranty.
ADIGUNA
DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS DOCUMENT AND VIDEO CAPTURES,
INCLUDING
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT
SHALL
ADIGUNA BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION
OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
CONNECTION
WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Goal:
Install
CentOS 5 from DVD with the following specifications (requirements):
Hardware
specification:
1GB RAM
20GB
harddisk
File
System Specification:
/boot
256MB ext3
/swap
1GB
/ the
rest of the available space
Update
the packages to the latest level.
Assumption:
- You
have CentOS 5 DVD available
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
2 of 34 12/16/2007 7:10 PM
Installation Process:
1. Boot From DVD.
Put
CentOS 5 DVD into DVD drive then reboot the machine. You may have to change the
boot
sequence
so it will boot from DVD.
In my
system, I have to press 'F2' when the system is booting. You may have a
different key
to
enter.
2. Grub Menu.
After
the machine reboot from DVD, you will be greeted by Grub Menu:
Press
<ENTER> to continue.
3. CD Found Dialog.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
3 of 34 12/16/2007 7:10 PM
The
system found the DVD and asking whether we want to test the media.
Since I
know the media is good then I will skip this offer.
Click
<Skip> to continue.
4. CentOS Welcome Dialog.
We are
ready to start with the installation of CentOS 5.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
4 of 34 12/16/2007 7:10 PM
Click
<Next> to continue.
5. Select Language.
Select
the language to <English> and click <Next> to continue.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
5 of 34 12/16/2007 7:10 PM
6. Select Keyboard Type.
Select
keyboard to <U.S. English> and click <Next> to continue.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
6 of 34 12/16/2007 7:10 PM
7. Disk Drive Warning.
Since
the disk is new so there will be a warning whether we want to initialize and
install in this
disk.
Click <Yes> to continue.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
7 of 34 12/16/2007 7:10 PM
8. New Partition Dialog.
Select
'Remove all partitions on selected drives and create default layouts' and also
check
'Review
and modify partitioning layout' since we want to specify our own file system
settings.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
8 of 34 12/16/2007 7:10 PM
Click
<Next> to continue.
9. Warning Remove All Partitions Dialog.
Because
this is a new system so we should not be bothered with this warning.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
9 of 34 12/16/2007 7:10 PM
Click
<Yes> to continue.
10. Partition Specification Dialog.
Set the
partition table as follows:
- /boot
256MB
- /swap
1024MB
- / the
rest of the available space
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
10 of 34 12/16/2007 7:10 PM
Note:
The changes in the '/boot' partition didn't show up in the 'screen capture'.
11. GRUB Boot Loader dialog.
There
will be no changes needed since we will install GRUB boot loader in the first
disk,
'/dev/sda'.
If you have IDE disk, you may have '/dev/hda' instead.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
11 of 34 12/16/2007 7:10 PM
Click
<Next> to continue.
12. Network Device Dialog.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
12 of 34 12/16/2007 7:10 PM
Select
'DHCP' and set the hostname to 'centos5svr' then click <Next> to
continue.
13. Timezone Dialog.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
13 of 34 12/16/2007 7:10 PM
Select
<Asia/Jakarta> and click <Next> to continue.
14. Root Password Dialog.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
14 of 34 12/16/2007 7:10 PM
Enter
the root password and click <Next> to continue.
15. Package Selection Dialog.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
15 of 34 12/16/2007 7:10 PM
We will
use the default package selections so there is no changes which need to be
done.
Click
<Next> to continue.
16. Ready For Installation Dialog.
OK, we
ready to install CentOS 5. Wish me luck ;-). Click <Next> to continue.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
16 of 34 12/16/2007 7:10 PM
17. The Installation Dialog.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
17 of 34 12/16/2007 7:10 PM
Wait
until the installation finish.
18. Reboot Dialog.
The
installation has been completed and we are ready for our first reboot. Click
<Reboot> to
continue.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
18 of 34 12/16/2007 7:10 PM
19. Firstboot.
After
the reboot completed, we have couple of stuffs which need to be configured.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
19 of 34 12/16/2007 7:10 PM
Press
<Forward> to continue.
20. Enable Firewall.
We will
enable firewall and select couple of services to be enabled.
Check
on
- FTP
- SSH
- Samba
-
Secure WWW (HTTPS)
- WWW
(HTTP).
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
20 of 34 12/16/2007 7:10 PM
Note:
WWW (HTTP) setting didn't show up in the screen capture.
Click
<Forward> to continue.
There
will be a firewall warning dialog. Just "ignore" it and click
<Yes> to continue.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
21 of 34 12/16/2007 7:10 PM
21. SELinux Dialog.
We will
disable SELinux for now and click <Forward> to continue.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
22 of 34 12/16/2007 7:10 PM
There
will be an SELinux warning dialog which basically tell us to reboot the system
in order
the new
setting to take effect.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
23 of 34 12/16/2007 7:10 PM
22. Date And Time Setting.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
24 of 34 12/16/2007 7:10 PM
Use
default setting and click <Forward> to continue.
23. Create The First Regular Userid.
We will
create the first regular userid in the system. Fill out all the fields and
click <Forward> to
continue.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
25 of 34 12/16/2007 7:10 PM
24. Sound Card Dialog.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
26 of 34 12/16/2007 7:10 PM
Use the
default settings and click <Forward> to continue.
25. Additional CD Dialog.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
27 of 34 12/16/2007 7:10 PM
We will
not install other packages. Click <Forward> to continue.
26. Reboot Dialog.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
28 of 34 12/16/2007 7:10 PM
We have
to reboot the machine again ;-). Click <OK> to reboot the system.
27. First Login.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
29 of 34 12/16/2007 7:10 PM
After
the reboot completed, we will be greeted by login prompt. Login as a regular
user
(adiguna).
28. CentOS Gnome Desktop Environment.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
30 of 34 12/16/2007 7:10 PM
Whohoo,
finally I get into my first CentOS 5 desktop environment ;-).
29. Install Yum Plugin.
We will
install yum plugin, 'yum-fastestmirror', package so next time when we install a
package
from
yum repositories, we will be connected to the fastest yum mirror repositories
available.
This
machine is connected to the Internet so we can access CentOS repositories and
use yum
command
to install the plugin.
First,
right click in the desktop and open the terminal window and then 'su' to root.
Install
'yum-fastestmirror' package.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
31 of 34 12/16/2007 7:10 PM
30. Check Whether The Package Has Been Installed Properly.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
32 of 34 12/16/2007 7:10 PM
31. Update To The Latest Level.
As
stated in the goal that we will update the system to the latest level of CentOS
5 as of
"now".
In
order to do that, we will run 'yum update' command.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
33 of 34 12/16/2007 7:10 PM
32. Verify Whether No More Updates Available.
In
order to make sure that we are in the latest level, we will run 'yum list
updates'
command.
If
there is no output then we are 'up-to-date'.
CentOS 5 Installation From DVD
http://docs.google.com/View?docid=ddq7c465_4cbhvfw
34 of 34 12/16/2007 7:10 PM
33. Done.
We have
successfully install CentOS 5 from DVD and update the system to the latest
level.
Now, we
are ready to use the system to do our work ;-).
Conclusion:
Install
CentOS 5 from DVD can be done relatively quick and easy. After we finish with
the base
operating
system and yum plugin (fastestmirror) installation then we update the system
into the
latest level so the system
is an up-to-date and ready to be used for the next iteration.