Configuring Linux for the Installation of Oracle Database 10g Purpose In this lesson, you learn how to configure Linux and prepare for the installation of Oracle Database 10g Topics This lesson covers the following topics.:
OverviewPrerequisitesChecking the Hardware RequirementsConfiguring the Kernel and Creating the oracle User Viewing Screenshots Place the cursor on this icon to display all the screenshots in the lesson. You can also place the cursor on each individual icon in the following steps to see only the screenshot that is associated WITH THAT STEP. OVERVIEW Back to List The Lesson Prepares The Linux Oracle Database 10g. Prerequisites Back to Topic List Before Starting this Lesson, you Should Have:
1. Installed an Oracle Database 10g certified version of Linux on a platform certified for that version of Linux. To see the latest certification information, use Metalink and select Certify & Availability. You can also use OTN.
script> Checking The Hardware Requirements Back to Topic List The System On Which You Install Linux Must Meet The Following Requirements:
512 MB of Physical Random Access Memory (RAM) 1 GB of Swap Space (or Twice THE OF RAM) SWAP SPAP SPAP SPAPEEN One and Two Times The Size of Ram (on Systems with 2 GB or more of Ram) 400 MB of Disk Space in the / tmp directory 2.1 GB of disk space for the Oracle software and Sample Schema Database Configuring the Kernel and Creating the oracle User Back to Topic List to configure the system, follow these steps (written for Bourne, Korn, and bash shells):
. 1. Open a terminal window and log in as the root user 2. The following local UNIX groups and user must exist on the system: Groups: oinstall and dba User: oracle Optionally, the oper group can be created Group:. Oper We Now Create The Three Groups OinsTall, DBA, And Oper: / USR / Sbin / GroupAdd Oinstall / USR / Sbin / GroupAdd DBA
/ usr / sbin / groupadd Oper 3. Create the Operating System User Oracle: / usr / sbin / useradd -g oinstall -g dba, Oper Oracle 4. Enter the Following Command To set the password of the oracle user: / usr / bin / Passwd Oracle 5. with an editor of your choosing, open /Home/oracle/.bash_profile. if you are useing another shell, please add the entries to the appriate file.umask 022
PATH = / bin: / usr / bin: / usr / local / bin: / usr / x11r6 / bin
LD_LIBRARY_PATH = / usr / lib: / usr / x11r6 / lib
Oracle_base = / u01 / app / oracle
Oracle_Home = $ Oracle_Base / Product / 10.1.0 / db_1
Oracle_sid = Orcl
PATH = $ oracle_home / bin: $ PATH
Export Path LD_Library_Path
Export Oracle_Base Oracle_Home Oracle_sid 6. Create The Directory for The Software Installation and Assign Ownership To Oracle: OINSTALL. IN The Example, You Use /u01/app/oracle.mkdir -P / U01 / App / Oracle
Chown -r Oracle: OinsTall / U01 / App
CHMOD -R 775 / U01 / App 7. SET Required Kernel Parameters:
Parameter Value
-------------------------------------------
Kernel.semmsl 250
Kernel.semmp 3200
Kernel.semopm 100
Kernel.semmni 128
Kernel.shmall 2097152
Kernel.shmmax 2147483648
Kernel.shmmni 4096
FS.FILE-MAX 65536
net.ipv4.ip_local_port_range 1024 65000 Open the /etc/sysctl.conf file in any text editor and add lines similar to the following: kernel.sem = 250 32000 100 128kernel.shmall = 2097152kernel.shmmax = 2147483648kernel.shmmni = 4096fs.file -max = 65536net.ipv4.ip_local_port_range = 1024 65000 with specified values for these parameters in the /etc/sysctl.conf file, the values persist when you reboot the system. 8. The kernel changes made previously take effect with each reboot. Issue this command to set the kernel parameters: / sbin / sysctl -p 9. Log in as operating system user oracle You must install the software from an X Window System workstation, an X terminal, or a PC or other system with X server software. . installed Installing Oracle Database 10g on Linux Purpose In this lesson, you learn how to install Oracle Database 10g on Linux Topics This lesson covers the following topics:. OverviewPrerequisitesInstalling Oracle Database 10g on Linux Viewing Screenshots Place the cursor on this icon to display all the screenshots in the lesson. You can also place the cursor on each individual icon in the following steps to see only the screenshot that is associated with that step. Overview Back to List Using the Oracle Universal Installer, you install The Oracle Database 10g Software and Create A Database. Prerequisites Back to Topic List Before Starting this Lesson, you shouth
1. Completed the configuring linux for the installation of oracle Database 10g Lesson.
script> installing Oracle Database 10g on Linux Back to Topic List to Install The Oracle Software, You Must Use The GUI Installer.
. 1. Log in to the Linux box as user oracle and mount the Oracle Database 10g CD Change directory to the CD and execute the script / mnt / cdrom / runInstaller from your home directory: / mnt / cdrom / runInstaller 2. At the Welcome window, click Next. 3. You need to specify your Inventory directory. The location should be set to / u01 / app / oracle / oraInventory. Accept the default Operating System group name, oinstall. Then click Next. 4. The following window appears Leave this window OpenSTROOT.SH as the root user. Open a Terminal Window and Enter the Following Commands: su
CD / U01 / App / Oracle / ORAINVENTORY
./orainstroot.sh
exit
Exit 6. Switch Back to the Universal Installer Window and Click Continue. 7. At The Specify File Locations Window, Change The Path To /u01/app/oracle/Product/10.1.0/db_1. Then Click Next. 8. make Sure the Installation Type Enterprise Edition is selected and click Next. 9. The installer now verifies that the system meets all the minimum requirements for installing and configuring the chosen product. Please correct any reported issues before continuing. When the check successfully completes, click Next. 10. You want to create a starter database. Make sure that Create a starter database and General Purpose are both selected. Then click Next. 11. Enter orcl.oracle.com in the Global Database Name field, and select the Create database with example schemas check box. Then click Next. If you plan to perform any of the multilingual lessons, you should select Unicode standard UTF-8 AL32UTF8 as the database character set. 12. The Select Database Management Option window ena bles you to choose between Database Control or Grid Control of your database. In this example, you accept the default, which is Database Control. Click Next. 13. Specify the database file location as / u01 / app / oracle / oradata and click Next . 14. In the Specify Backup and Recovery Options window, you do not want to enable automated backups at this time. Accept the default and click Next. 15. Enter and confirm a password for all accounts, and then click Next. 16. Review the Summary window to verify what is to be installed. Then click Install. 17. The progress window appears. 18. The Configuration Assistants window appears. 19. Your database is now being created. 20. When the database is created, click OK.
. 21. When the Setup Privileges window appears, open a new terminal window 22. You need to execute root.sh as the root user From your terminal window, enter the following commands:. Cd $ ORACLE_BASE / product / 10.1.0 / db_1su
./root.sh
exit
Exit 23. The end of installation summary Appears. The ports shown in the summary can be found in $ Oracle_base / product / 10.1.0 / db_1 / portlist.ini. Click OK. 24. Click Yes To EXIT. Place The Cursor on this Icon to hide all screenshots.