Red Hat Enterprise Linux 5 and CentOS 5 Installation

Red Hat Enterprise Linux 5 and CentOS 5 Installation

This article provides a pictorial guide for performing a default installation of Red Hat Enterprise Linux 5 and CentOS 5.
  1. Boot from the CD or DVD. At the boot screen press the "Enter" key.

    Boot
  2. Press the "tab" key to move focus to the "Skip" key then press the "Enter" key to continue.

    Test Media
  3. On the "Welcome" screen click the "Next" button.

    Welcome
  4. Select the appropriate language then click the "Next" button.

    Language
  5. Select the relevant keyboard setting then click the "Next" button.

    Keyboard
  6. Click the "OK" button on the disk partitioning warning dialog.

    Disk Partitioning Warning
  7. Check the "Review and modify partitioning layout" option then allow the installer to automatically partition the disk by clicking on the "Next" button.

    Disk Partitioning
  8. Click the "Yes" button on the subsequent warning dialog.

    Disk Partitioning Warning
  9. The installer will list the default partitioning scheme for your size disk.

    Disk Setup

    The following screen shots show the actions I take for small test installations
  10. Edit the "/boot" partition setting it to "150M" and "Fixed size" then click the "OK" button.

    Disk Setup Boot
  11. The "/root" and "/swap" partitions are part of a volume group.

    Disk Setup Volume Group
  12. Edit the "/root" partition setting it to "8000 MB" then click the "OK" button.

    Disk Setup Root
  13. Edit the "swap" partition setting it to "2048M" then click the "OK" button.

    Disk Setup Swap

    If you need additional swap space simply make this partition bigger.
  14. The partitions screen should now looks something like the following picture then click the "Next" button.

    Disk Setup
  15. Accept the boot loader settings by clicking the "Next" button.

    Boot Loader
  16. Configure the network interface with the apropriate settings. This can be done automatically using DHCP or manually.

    Network Configuration
  17. If you are not using DHCP enter the appropriate IP addess and subnet mask then click the "OK" button.

    Edit Interface
  18. If you are not using DHCP enter the host name gateway and DNS information then click the "Next" button.

    Network Configuration
  19. Select the relevant region by clicking on the map.

    Region
  20. Select the relevant city by clicking on the map. Click on the "Next" button to proceed.

    Region
  21. Enter a root password for the server then click the "Next" button to proceed.

    Root Password
  22. Select the "Customize now" option and the appropriate installation type and click the "Next" button.

    Package Installation Defaults
  23. The "Package Group Selection" screen allows you to select the required package groups and individual packages within the details section. When you ve made your selection click the "Next" button.

    Package Group Selection
  24. On the "About to Install" screen click the "Next" button.

    About To Install
  25. Click the "Continue" button on the "Required Install Media" screen.

    Required Media
  26. During the installation phase enter the appropriate CDs as requested.

    Installing Packages
  27. Click the "Reboot" button to complete the installation.

    Congratulations
  28. On the "Welcome" screen click the "Forward" button.

    Welcome
  29. Accept the license agreement and click the "Forward" button.

    License Agreement
  30. On the Firewall screen choose the "Disabled" option and click the "Forward" button.

    Firewall
  31. Click the "Yes" button on the subsequent warning screen.

    Firewall Warning
  32. On the SELinux screen choose the "Disabled" option and click the "Forward" button.

    SELinux
  33. Click the "Yes" button on the subsequent warning screen.

    SELinux Warning
  34. Accept the default setting on the Kdump screen by clicking the "Forward" button.

    Kdump
  35. Adjust the Date and Time settings if necessary and click the "Forward" Button.

    Date Time
  36. If you have a Red Hat Network account you can enter it here and register your system. Alternatively you can pick the "No I prefer to register at a later time" option and click the "Forward" button to avoid this step.

    Software Updates
  37. Click the "No thanks I ll connect later" button.

    Software Updates Confirmation
  38. Finish the setup of software updates by clicking the "Forward" button.

    Software Updates Finish
  39. Create an additional system user if required and click the "Next" button.

    System User
  40. If you chose not to define an additional system user click the "Continue" button on the resulting warning dialog.

    System User Warning
  41. On the sound card screen click the "Forward" button.

    SoundCard
  42. On the "Additional CDs" screen click the "Forward" button.

    Additional CDs
  43. Click the "OK" button on the reboot request dialog.

    Finish Setup
  44. Once the system has rebooted you are presented with the login screen.

    Login
  45. Once logged in you are ready to use the desktop.

    Desktop

Huynh Sy Nguyen

Hi bạn !

Nick yahoo của mình là nguyen082000

Các bạn có thẻ add vào chúng ta thảo lận

tamdo

Xin dia chi email

Chao A.Nguyen !
Hien tai minh gap mot so truc trac ve Linux .
Mong anh co the cho em xin dia chi mail nhe !

nguyenhs

Chào bạn
Bạn cần cài đặt Cluster dịch vụ gì ( mail web database ..)

Than

Chinh

Clustering tren RHLE 5

Anh co the huong dan giup minh cai dat cluster tren he thong OS nay khog?
Cau hnh nhu sau: Modular server (1 sw 1port+CMM+1 storage) + 2 module server dap ung yeu cau.
Tks

vĩnh

mình đang làm chuyên đề về cấu hình mạng cho linux mà chưa làm được ban biết giúp minh với nha

vĩnh

Bạn ơi bạn có thể chỉ rõ cách cấu hình DNS được ko?

freebsd

Hi

Thật ra swap dùng hdd để lưu dữ liệu tạm khi RAM đã hết giúp hệ thống không bị crash. Thông thường thì khi đã cần dùng đến swap tức là server đang bị overload rồi. Khi ấy hầu như mọi dịch vụ chạy cực kỳ chậm. Lúc đó swap chỉ nhằm chống đỡ để admin có thể login vào và khắc phục sự cố.

Trên VPS thì khi đã dùng đến swap rồi thì theo mình biết chỉ có cách reboot lại VPS mới giúp nó chạy nhanh hơn được. Vì chúng ta không thể can thiệp vào swap được không thể clear swap dù lúc đó server đã hết quá tải.

Thân

Nguyễn Thanh Hải

Cám ơn bạn đã chỉ dẫn để mình thử đã nếu có gì mình hỏi tiếp :)

Huỳnh Sỹ Nguyên

Khi cài DNS server trên linux có 2 cách :
1.Là down goi bind-version.tar.gz về và cài
2.bạn cài yum install bind*

Thân

Để cài linux tối thiểu 2 partition là ok rồi.
Thông thường swap gấp 2 RAM

Chào

freebsd

@Thanh Hải: Trả lời giúp bạn bạn có thể dùng bind 9.x

Thường thì bind được cài sẵn.