CentOS 5 Installation From DVD


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


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.

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.

Click <Next> to continue.

5. Select Language.

Select the language to <English> and click <Next> to continue.

6. Select Keyboard Type.

Select keyboard to <U.S. English> and click <Next> to continue.

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.

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.

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.

Click <Yes> to continue.

10. Partition Specification Dialog.

Set the partition table as follows:

– /boot 256MB
– /swap 1024MB
– / the rest of the available space

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.

Click <Next> to continue.

12. Network Device Dialog.

Select ‘DHCP’ and set the hostname to ‘centos5svr’ then click <Next> to continue.

13. Timezone Dialog.

Select <Asia/Jakarta> and click <Next> to continue.

14. Root Password Dialog.

Enter the root password and click <Next> to continue.

15. Package Selection Dialog.

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.

17. The Installation Dialog.

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.

19. Firstboot.

After the reboot completed, we have couple of stuffs which need to be configured.

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).

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.

21. SELinux Dialog.

We will disable SELinux for now and click <Forward> to continue.

There will be an SELinux warning dialog which basically tell us to reboot the system in order the new setting to take effect.

22. Date And Time Setting.

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.

24. Sound Card Dialog.

Use the default settings and click <Forward> to continue.

25. Additional CD Dialog.

We will not install other packages. Click <Forward> to continue.

26. Reboot Dialog.

We have to reboot the machine again😉. Click <OK> to reboot the system.

27. First Login.

After the reboot completed, we will be greeted by login prompt. Login as a regular user (adiguna).

28. CentOS Gnome Desktop Environment.

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.

30. Check Whether The Package Has Been Installed Properly.

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.

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’.

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😉.

~ oleh gandhiprima pada 16 Desember, 2007.

2 Tanggapan to “CentOS 5 Installation From DVD”

  1. utk install yum itu terkait dgn internet,saya pengguna centos5 yg baru dan tdk banyak kenal linux,tlg bantu saya caranya sambung modem vt12 venus agar sy bs juga install yum spt yg tercontoh diatas,thanks

  2. Yth ,
    Ketika akan install fastestmirror commandnya adalah sbg berikut , tolong bantuannya ( dalam hal ini saya sudah terhubung dgn internet)
    Loading “installonlyn” plugin
    Setting up Install Process
    Setting up repositories
    Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=os error was
    [Errno 4] IOError:
    Error: Cannot find a valid baseurl for repo: base

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

 
%d blogger menyukai ini: