|« Audit Trail example in Oracle 10gR2||Install Oracle 10g Release 2 on RHEL 5 »|
How to Install Red Hat Enterprise Linux 4
Posted by Zahid on January 5, 2010.
In this tutorial I am going to demonstrate a typical RHEL 4 AS (Red Hat Enterprise Linux 4 Advanced Server) installation. I usually do this kind of installation to host oracle test databases. You can customize this process a little bit to suite your environment. I will use a DVD media for RHEL 4 AS.
1. You need to put the DVD in your computer and boot the computer from that DVD.
2. Next the installer will offer you if you want to check the DVD media before installation. Choose skip here.
3. Next you will see the first page of the Installation wizard. Press Next.
4. Select the Language that will be used in the rest of the installation.
5. Select the keyboard type.
6. Now you need to tell what do you want to do with your disk. I usually choose "Manually Partition with Disk Druid" and create the partitions I need on the disk.
7. Here is our disk all free space if this is a fresh disk. This is a 25gb disk. Click "New" to create a partition.
8. First partition will be boot partition size 100m. This will allow the OS to keep the boot record on a separate partition.
9. The second partition will be /tmp. The size of /tmp depends upon the oracle database I am going to install e.g. Oracle 10g requires 400mb of space in /tmp and Oracle 11g requires at least 1gb. I will create /tmp with a size of 800m as I am gonna have Oracle 10g installed on this system.
10. Then comes the swap partition. The swap's size is dependant on the amount of physical RAM you have. I have 2G of RAM so the swap should be 1.5 times of 2G i.e. 3G. (This formula works for both Oracle 10g and 11g.)
11. The fourth partition will be /u01, a partition that will be used specifically for oracle software and database files. I am setting the size to 10gb.
12. The fifth partition is the "/" which is the root mount point for the operating system. We give it all the space left on the disk.
13. This is how your partitioning scheme should look like when you are done.
14. This screen will ask you if you want to keep the boot record on the disk or not. Keep the defaults and press next.
15. Here we will configure the network. Set the hostname manually as can be seen in the following screen shot. You can also set your network gateway and DNS on this screen. Then click the Edit Button against Network Devices to configure network settings.
16. Provide the IP Address and Network Mask. Uncheck the checkbox "Configure Using DHCP". The checkbox "Activate on boot" should be checked. Once done press "OK".
17. Provide your preference for "Firewall" and SELinux. Select "No Firewall" and set SELinux to "Disabled".
18. Select the default language for the system.
19. Provide your timezone settings here.
20. Provide password for the root (Linux Administrator) user.
21. Select the OS packages that you need. Mostly leaving it as default should be okay. But it is a nice idea to install some development packages which oracle may need while installation. Select "Customize software packages to be installed" and press Next.
22. All packages are listed. Just check or uncheck the package to add or remove from the installation. When checked all typical components of that package are selected. If you want to change it press "Details" link and there you can add or remove internal components of a package.
23. Press next here, to start the installation.
24. This will take several minutes, before the installation is complete.
25. Once the installation is complete the installer will ask you to reboot. Click "Reboot" and remove any media from DVD before the system restarts.
26. After rebooting you will have to do some setup tasks. This is the Welcome page of the setup wizard. Press Next.
27. Accept the license agreement and pres Next.
28. Set the date and time.
29. Provide your display settings here.
30. Red Hat Login page. If you have a Red Hat Login information provide it here and press next. If don't have a Red Hat Login select "Tell me why I need to register and provide a Red Hat Login".
31. If you have chosen not to provide Red Hat Login Information, then this page shows up telling you why you need to register with Red Hat. Select "I can not complete registration at this time. Remind me later." and press "Next".
32. Use this page to create any additional system users other then root.
33. Use this page to install any additional software. Press Finish when done. The system will reboot again.
34. This is the finish setup page. Press "Next" and the system will reboot again.
35. After reboot you will see the login screen. Login as root here using the password you provided during the install.
36. This is your RHEL 4 AS desktop. The installation is successful.