Your SlideShare is downloading. ×
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Step by Step Installation of Oracle11gR2 on OEL5 and VMware
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Step by Step Installation of Oracle11gR2 on OEL5 and VMware

8,746

Published on

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
8,746
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
300
Comments
0
Likes
3
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Step by Step installation of Oracle 11gR2 on Oracle Enterprise Linux 5Update 5 Using VMwareInfrastructure 2.0.0By Jorge Batistajorge.batista@premier-research.com Page 1 of 85
  • 2. Index1. Creating the Virtual Machine2. Installing Oracle Enterprise Linux 5 Update53. Installing VMware Tools in a Linux virtual machine with the Tar Installer4. Checking Memory and Swap Space5. Disk Space Requirements6. Operating System Requirements7. Checking Software Packages (RPMs) Requirements8. Installing a package from the Linux distribution media9. Configuring Kernel Parameters10. Creating Oracle User Accounts11. Setting Shell Limits for the Oracle User12. Creating Oracle Directories13. Setting Oracle Environments14. Installing Oracle11g R2 Software Only Page 2 of 85
  • 3. Creating the Virtual Machine Page 3 of 85
  • 4. VMware Version • VMware Infrastructure Web Access Version 2.0.0 • To download go to  https://my.vmware.com/web/vmware/info/slug/infrastructure_operations_man agement/vmware_server/2_0 Page 4 of 85
  • 5. From the VMware Infrastructure Web Access Console Select Create Virtual Machine Page 5 of 85
  • 6. Enter name and Location of the Virtual Machine • Name = T-vmoelinux2 • Location = Datastore3T (you need to create your own datastore location & name) Page 6 of 85
  • 7. Select Guest Operating System • Select Red hat Enterprise Linux 5 Page 7 of 85
  • 8. Memory & Processors Setup • Memory = 2GB • CPU Count = 1 Page 8 of 85
  • 9. Create a new Hard Disk Page 9 of 85
  • 10. Allocate disk Space • Capacity = 30GB • Location = default location Page 10 of 85
  • 11. Add a Network Adapter Page 11 of 85
  • 12. Network Adapter connection • Using HostOnly for now, you can change this setting after you are done Page 12 of 85
  • 13. Select Media Type • Use an ISO Image and browse to the location of the Linux ISO file Page 13 of 85
  • 14. Do not Add a Floppy DriveAdd a USB Controller Page 14 of 85
  • 15. Click Finish to create the new virtual machine • You can select ‘Power on your new virtual machine now’ and as soon is done creating the virtual machine the installation will start. • In my case, I did not select ‘Power on your new virtual machine now’ to create the virtual machine first. Page 15 of 85
  • 16. Installing Oracle Enterprise Linux 5 Update 5 Page 16 of 85
  • 17. Startup the new Virtual machine • Click on the Green arrow to start the new virtual machine o This process will start the Linux installation Page 17 of 85
  • 18. Click anywhere to open virtual machine console Page 18 of 85
  • 19. Press ‘Enter’ to start the installation in a graphical mode Page 19 of 85
  • 20. • Press the "tab" key to move focus to the "Skip" key• Then press the "Enter" key to continue Page 20 of 85
  • 21. On the "Welcome" screen, click the "Next" button. Page 21 of 85
  • 22. Select the appropriate language, then click the "Next" button. Page 22 of 85
  • 23. Select the relevant keyboard setting, then click the "Next" button. Page 23 of 85
  • 24. Click the "Yes" button on the disk partitioning warning dialog. Page 24 of 85
  • 25. Check the "Review and modify partitioning layout" option, and then the "Next"button.Click the "Yes" button on the subsequent warning dialog Page 25 of 85
  • 26. • Select the "/boot" partition and click on Edit• Set the /boot partition to "200M" and "Fixed size"• Then click the "OK" button. Page 26 of 85
  • 27. The "/root" and "/swap" partitions are part of a volume groupIf you need additional swap space, simply make this partition biggerThe partitions screen should now looks something like the following picture, thenclick the "Next" button. Page 27 of 85
  • 28. Accept the boot loader settings by clicking the "Next" button. Page 28 of 85
  • 29. Configure the network interface with the appropriate settings • Click on Edit, to edit the network interface • Select Enable IPv4 support • Select Manual configuration • Enter IUP Address and Prefix (Netmask) o i.e. IP = 194.164.100.127 o i.e. Netmask = 255.255.255.0 Page 29 of 85
  • 30. • Under Hostname: o Select manually, then enter the hostname  i.e. oelinux2.localdomain• Under Miscellaneous Settings: o Enter Gateway  i.e. IP = 194.164.100.100 o Enter Primary DNS  i.e. DNS = 75.75.75.75 o Enter Secondary DNS  i.e. DNS = 75.75.75.76 Page 30 of 85
  • 31. • Select the relevant region by clicking on the map• Then click the "Next" button to proceed. Page 31 of 85
  • 32. Enter a root password for the server, and then click the "Next" button to proceed. Page 32 of 85
  • 33. Select the "Customize now" option and the appropriate installation type and clickthe "Next" button Page 33 of 85
  • 34. The "Package Group Selection" screen allows you to select the required package groups, and individualpackages within the details section.When youve made your selection, click the "Next" button. Page 34 of 85
  • 35. Click the "Next" button to begin the installation Page 35 of 85
  • 36. Page 36 of 85
  • 37. Click the "Reboot" button to complete the installation. Page 37 of 85
  • 38. On the "Welcome" screen, click the "Forward" button. Page 38 of 85
  • 39. Accept the license agreement and click the "Forward" button. Page 39 of 85
  • 40. On the Firewall screen, choose the "Disabled" option and click the "Forward"button Page 40 of 85
  • 41. Click the "Yes" button on the subsequent warning screen Page 41 of 85
  • 42. On the SELinux screen, choose the "Disabled" option and click the "Forward"button.Click the "Yes" button on the subsequent warning screen. Page 42 of 85
  • 43. Accept the default setting on the Kdump screen by clicking the "Forward" button Page 43 of 85
  • 44. Adjust the Date and Time settings if necessary, and click the "Forward" Button. Page 44 of 85
  • 45. Create an additional system user if required, and click the "Forward" button. Page 45 of 85
  • 46. On the sound card screen, click the "Forward" button. Page 46 of 85
  • 47. On the "Additional CDs" screen, click the "Finish" button.Click the "OK" button on the reboot request dialog. Page 47 of 85
  • 48. Installing VMware Tools in aLinux virtual machine with theTar Installer Page 48 of 85
  • 49. • Power on the virtual machine. (Virtual Machine should be On)• After the guest operating system has started, prepare your virtual machine to install VMware Tools• From the VMware Infrastructure Web Access Console Click on Install VMware Tools Page 49 of 85
  • 50. • Click on Install to install the VMware Tools• You will get the following message Page 50 of 85
  • 51. • Login with the root account to continue with the VMware Tools Installation Page 51 of 85
  • 52. • After you login, you should be able to see VMware Tools CD• Double-Click on the VMware Tools CD• Right-Click on VMwareTools-7.7.6-203138.tar.gz file Page 52 of 85
  • 53. • Select Extract To… Page 53 of 85
  • 54. • Select the folder where you want to extract the files o I will select the /tmp folder• Extracting files to /tmp Page 54 of 85
  • 55. • Open a terminal window o Click on Applications o Select Accessories o Select Terminal Page 55 of 85
  • 56. • Change directory to /tmp/vmware-tools-distrib o cd /tmp/vmware-tools-distrib• do a directory listing o ll or ls –l• Run the VMware Tools tar installer o ./vmware-install.pl• Respond to the configuration questions on the screen. Press Enter to accept the default value Page 56 of 85
  • 57. • When done, Eject the VMware Tools CD o Right-Click on VMware Tools CD o Select Eject• Log off of the root account. Page 57 of 85
  • 58. Checking Hardware andSoftware Requirements Page 58 of 85
  • 59. Logging In to the System as root • Before you install the Oracle software, you must complete several tasks as the root user Page 59 of 85
  • 60. Checking Memory and Swap SpaceMemory Requirements • Minimum: 1 GB of RAM • Recommended: 2 GB of RAM or moreTo determine the RAM size, enter the following command: • grep MemTotal /proc/meminfoTo determine the size of the configured swap space, enter the following command: • grep SwapTotal /proc/meminfoThe following table describes the relationship between installed RAM and the configured swapspace recommendation Page 60 of 85
  • 61. Disk Space RequirementsTo determine the amount of disk space available in the /tmp directory, enter the followingcommand:At least 1 GB of disk space in the /tmp directory • df -h /tmpTo determine the amount of free disk space on the system, enter the following command: • df –hOperating System RequirementsTo determine the distribution and version of Linux installed, enter the following command: • cat /proc/version • uname –rTo determine whether the system architecture can run the software, enter the followingcommand: • uname –m Page 61 of 85
  • 62. Checking Software Packages (RPMs) RequirementsThe following or later version of packages for Oracle Linux 5 and Red Hat Enterprise Linux 5should be installed: • binutils-2.17.50.0.6 • compat-libstdc++-33-3.2.3 • elfutils-libelf-0.125 • elfutils-libelf-devel-0.125 • elfutils-libelf-devel-static-0.125 • gcc-4.1.2 • gcc-c++-4.1.2 • glibc-2.5-24 • glibc-common-2.5 • glibc-devel-2.5 • glibc-headers-2.5 • kernel-headers-2.6.18 • ksh-20060214 • libaio-0.3.106 • libaio-devel-0.3.106 • libgcc-4.1.2 • libgomp-4.1.2 • libstdc++-4.1.2 • libstdc++-devel-4.1.2 • make-3.81 • numactl-devel-0.9.8.i386 • sysstat-7.0.2 Page 62 of 85
  • 63. To determine whether the required packages are installed, enter commandssimilar to the following: rpm -qa|grep package_name rpm -qa|grep binutils rpm -qa|grep compat-libstdc rpm -qa|grep elfutils-libelf rpm -qa|grep gcc rpm -qa|grep glibc rpm -qa|grep kernel-headers rpm -qa|grep ksh rpm -qa|grep libaio rpm -qa|grep libgcc rpm -qa|grep libgomp rpm -qa|grep libstdc rpm -qa|grep make rpm -qa|grep numactl-devel rpm -qa|grep sysstat • you can COPY & PASTE all of them or one by one to a terminal window To determine whether the required packages are installedIf a package is not installed, then install it from the Linux distribution media ordownload the required package version from the Linux vendor’s Web site. Page 63 of 85
  • 64. Installing a package from the Linux distribution media • Click on Devices • Select CD/DVD Drive • Click on Connect to Disk Image File (iso)... • Browse to your ISO file and click Open Page 64 of 85
  • 65. • The Enterprise Linux DVD files and folder will be display, if not, just double-click on CD/DVD icon• Double-Click on the Server Folder Page 65 of 85
  • 66. • The Server Folder opens and all rpm/packages files will be display• Double-Click on the rpm/package file you want to install and follow the installation prompts• Click Apply at the Installing packages screen Page 66 of 85
  • 67. • If you get ‘Unable to verify <package name>, click Install anyway to continue• Click OK at the Software Installed successfully screen Page 67 of 85
  • 68. Creating Required Operating System Groups and UsersThe following local operating system groups and users are required if you are installing OracleDatabase: • The Oracle Inventory group (typically, oinstall) • The OSDBA group (typically, dba) • The Oracle software owner (typically, oracle) • The OSOPER group (optional. Typically, oper)Creating the oinstall group • /usr/sbin/groupadd oinstallCreating the dba group • /usr/sbin/groupadd dbaCreate the oracle account • /usr/sbin/useradd -g oinstall -G dba oracleEnter the following command to set the password of the oracle user: • passwd oracle Page 68 of 85
  • 69. Configuring Kernel ParametersTo see all kernel parameters, execute: • sysctl -aUsing any text editor, create or edit the /etc/sysctl.conf file, and add or edit lines similar to thefollowing: vi /etc/sysctl.conf o fs.suid_dumpable = 1 o fs.aio-max-nr = 1048576 o fs.file-max = 6815744 o kernel.shmmni = 4096 o kernel.sem = 250 32000 100 128 o net.ipv4.ip_local_port_range = 9000 65500 o net.core.rmem_default =1048576 o net.core.rmem_max = 4194304 o net.core.wmem_default = 262144 o net.core.wmem_max = 1048576Enter the following command to change the current values of the kernel parameters: • /sbin/sysctl -pEnter the command /sbin/sysctl -a to view and confirm that the values are set correctly • /sbin/sysctl –aNOTE: Do not change the value of any kernel parameter on a system where it isalready higher than listed as minimum requirement. Page 69 of 85
  • 70. Configuring Kernel Parameters (cont)Using any text editor, edit the /etc/pam.d/login file, and add or edit lines similar to thefollowing: session required pam_limits.so • vi /etc/pam.d/login session required pam_limits.soIf necessary, update the resource limits in the /etc/security/limits.conf • vi /etc/security/limits.conf -- Add oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536 oracle soft stack 10240NOTE: Do not change the value of any kernel parameter on a system where it isalready higher than listed as minimum requirement. Page 70 of 85
  • 71. Installing Oracle11g R2 Software Only Page 71 of 85
  • 72. Page 72 of 85
  • 73. Page 73 of 85
  • 74. Page 74 of 85
  • 75. Page 75 of 85
  • 76. Page 76 of 85
  • 77. Page 77 of 85
  • 78. Page 78 of 85
  • 79. Page 79 of 85
  • 80. Page 80 of 85
  • 81. Page 81 of 85
  • 82. Page 82 of 85
  • 83. Page 83 of 85
  • 84. Page 84 of 85
  • 85. Page 85 of 85

×