Thursday, June 16, 2011

INSTALLATION RED HAT ENTERPRISE LINUX 5 STEP BY STEP

  1. Boot from the CD or DVD. At the boot screen, press the "Enter" key.

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

  3. On the "Welcome" screen, click the "Next" button.

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

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

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

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

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

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



    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.

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

  12. Edit the "/root" partition, setting it to "8000 MB", then click the "OK" button.

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



    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.

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

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

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

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

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

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

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

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

  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.

  24. On the "About to Install" screen, click the "Next" button.

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

  26. During the installation phase, enter the appropriate CDs as requested.

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

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

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

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

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

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

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

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

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

  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.

  37. Click the "No thanks, I'll connect later" button.

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

  39. Create an additional system user if required, and click the "Next" button.

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

  41. On the sound card screen, click the "Forward" button.

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

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

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

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

For more information see:

Manual upgrade from 9i to 10g Release 2

Manual upgrade from 9i to 10g Release 2

This procedure describes the steps necessary to manually upgrade a database from 9.2.x to 10.2.x. It assumes that you have already installed 10g onto the server. Of course, it is essential that you take a backup of your database before attempting any upgrade.
·        1. Compile any invalid objects
@?/rdbms/admin/utlrp.sql
·        2. Create a sysaux tablespace
Having a sysaux tablespace is a requirement in 10g. So, if you haven't already got one, create one now.
create tablespace sysaux
datafile '<file_name>' size 512M
extent management local
segment space management auto
/
·        3. Run utlu102i.sql
This utility script checks that the database is ready to be upgraded to 10g. It also identifies any actions that need to be taken. The script is located in the 10g oracle home, so you will need to specify the full path to it.
@/u01/app/oracle/product/10.2.0/db_1/rdbms/admin/utlu102i.sql
Review the output and make any necessary alterations. Make a note of how many invalid objects there are.
·        4. Shut the database down with either normal or immediate
shutdown immediate
·        5. Copy the spfile (or pfile) and the password file from the existing home to the 10g one.
cp ${ORACLE_HOME}/dbs/*${ORACLE_SID}* <new_home>/dbs/
·        6. Edit oratab
Alter /etc/oratab (or /var/opt/oracle/oratab) to point to the10g home. Once done, rerun oraenv to bring the alteration into effect.
·        7. Upgrade the database
sqlplus "/ as sysdba"
startup upgrade
This next bit is the upgrade itself. It takes roughly half an hour to complete. Spool the output to a file so that you can review it afterward.
@?/rdbms/admin/catupgrd.sql
·        8. Recompile any invalid objects
@?/rdbms/admin/utlrp.sql
Compare the number of invalid objects with the number noted in step 3. It should hopefully be the same or less.
·        9. Then check the status of the upgrade
@?/rdbms/admin/utlu102s.sql
·        10. Alter or remove initialisation parameters
Temporarily creating a pfile is the easiest way.
create pfile from spfile;
shutdown immediate
vi ${ORACLE_HOME}/dbs/init${ORACLE_SID}.ora
Alter/remove parameters identified in step 9. Set compatible to 10.2.0.0.0
startup
create spfile from pfile;
shutdown immediate
startup
That's it!