Presentation is loading. Please wait.

Presentation is loading. Please wait.

Oracle on Oracle Linux Peter C. Smith NBS Consulting Solutions Paper #320.

Similar presentations


Presentation on theme: "Oracle on Oracle Linux Peter C. Smith NBS Consulting Solutions Paper #320."— Presentation transcript:

1 Oracle on Oracle Linux Peter C. Smith NBS Consulting Solutions Paper #320

2 Agenda Speaker Introduction Oracle Linux background Oracle Linux installation Oracle9i Oracle11g Oracle10g Upgrade 10g to 11g What was Learned What is the IOUG? Questions?

3 Who is Peter? for those who care about education: B.Sc. Electrical Engineer and Computing Sciences Honours B.Sc. degrees from Queens University, Kingston, Ontario what really counts: 20+ years RDBMS experience, 15 with Oracle. Now a consultant in Ottawa volunteering: Ottawa Oracle User Group. Currently the IOUG Director of Education. Scouting leader. Donated blood 85+ times, have you?

4 Objectives Tricks for configuring Oracle Linux Tips for Oracle11g on Oracle Linux Tips for Oracle10g on Oracle Linux Upgrading 10g to 11g

5 Oracle Enterprise Linux background When released in 2006, it was just Red Hat Enterprise server edition with an Oracle wrapper Oracle Linux 4.4 quickly became 4.5 and then 5, but it’s still RedHat in a different wrapper

6 Oracle Enterprise Linux background Oracle Enterprise LinuxRed Hat Enterprise Linux 4.43 4.54 5.05

7 Linux vs. Database Compatibility OSProductStatusAddtl. Info.Install Issue Oracle Enterprise Linux 5 11gR1CertifiedNone Oracle Enterprise Linux 4 11gR1CertifiedNone Oracle Enterprise Linux 5 10gR2CertifiedYesNone Oracle Enterprise Linux 4 10gR2CertifiedYesNone Oracle Enterprise Linux 4 9.2DesupportedYesN/A

8 Laptop Configuration 750MB RAM (should be 1GB) Celeron 1.4GHz XP SP2 60GB disk drive Used DPart to partition the disk drive into 2 x 30GB partitions

9 Oracle Linux Going with the latest-greatest: OEL 5 Free for download from OTN –5 CDs for installation –4 CDs for Source –Only needed first 3 installation CDs You can get Oracle9i, 10g and 11g for Linux as well from OTN http://oss.oracle.com/el5/docs/RELEASE-NOTES-en.html

10 Oracle Linux Installation Going for dual-boot rather than VMWare Used DPart to shrink down the XP partition Boot from 1 st disk and go Screen shots c/o Tim Hall –http://www.oracle- base.com/articles/linux/OracleEnterpriseLinux5Installation.phphttp://www.oracle- base.com/articles/linux/OracleEnterpriseLinux5Installation.php

11

12 Oracle Linux Installation Keyboard –Made the mistake of following Tim’s instructions. I may be Canadian, but my keyboard is American. –Don’t use United Kingdom (# -> £) –Changed to “U.S. English” via “System Tools”

13 Oracle Linux Installation Manual disk configuration –Select the new empty partition –2GB swap space –rest goes to /

14

15 Oracle Linux Installation Timezone / Region –Would be nice if some year they add in Ottawa since it is the national capital of Canada –Eastern / Montreal is the closest I’ve every seen for any flavour of Unix/Linux

16

17 Oracle Linux Installation Server –Software development –Web server

18

19 Oracle Linux Installation GNOME environment –Can do KDE, but stuck with defaults Only need the disks 1-3, even for 10g and 11g requirements

20

21 Oracle Linux Installation SELinux –Will need to disable it later, so might as well do it now. –The reboot will be essential, I forgot and SQLPlus returned some really interesting library file errors.

22

23

24

25 Linux Installation Now have Oracle Enterprise Linux installed!!! Create a group, DBA Create a user, ORACLE and assign to DBA group

26 Oracle 9i Oracle 9i can’t be installed on Oracle Linux 5. If you want to install 9i, then you can install Oracle Linux 4 or 4.5 as pointed out in the Certification table

27 Oracle 11g Tim Hall to the rescue, again http://www.oracle- base.com/articles/11g/OracleDB11gR1InstallationOnEnterpriseLin ux4and5.phphttp://www.oracle- base.com/articles/11g/OracleDB11gR1InstallationOnEnterpriseLin ux4and5.php Amazing all the kernel changes you have to make for an Oracle database to work on Oracle Linux!

28 Oracle 11g Kernel requirements are the same at 10g –Disks 1, 2, 3 needed –Runs fine with the 10g RPMs still installed Different RPMs needed than for 10g Spoof 11g entry in /etc/oratab xclock &

29 Oracle 11g Let’s check out his document and verify the configuration

30 Oracle 10g Once again, Tim Hall’s site is a perfect place to get the step-by-step installation information http://www.oracle- base.com/articles/10g/OracleDB10gR2InstallationOnRHEL5.phphttp://www.oracle- base.com/articles/10g/OracleDB10gR2InstallationOnRHEL5.php

31 Oracle 10g Different RPMs needed than for 11g –Disks 1, 2, 3 needed Have to convince Oracle that it’s RedHat 4 not 5, just to install 10g TMP / TMPDIR should be a big directory Spoof 10g entry in /etc/oratab

32 Oracle 10g Let’s check out his document and verify the configuration

33 Oracle 10g to 11g If we’ve got time, let’s play. We’ve got a 10g database, so let’s go to 11g

34 What was learned? Tim Hall’s web site is a wealth of information Linux 5 installs easily, only need disks 1 – 3 Oracle9i doesn’t work on Linux 5 Oracle 10g and 11g install easily on Linux 5 Upgraded 10g to 11g (hopefully)

35 Questions? Peter C. Smith Paper #320 –Please complete your session evaluation forms peter@nbsconsulting.ca


Download ppt "Oracle on Oracle Linux Peter C. Smith NBS Consulting Solutions Paper #320."

Similar presentations


Ads by Google