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. We now create the two groups oinstall and dba:
/usr/sbin/groupadd oinstall /usr/sbin/groupadd dba /usr/sbin/groupadd oper



Create the operating system user oracle:
/usr/sbin/useradd -g oinstall -G dba oracle


Enter the following command to set the password of the oracle user:
/usr/bin/passwd oracle


With an editor of your choosing, open /home/oracle/.bash_profile. If you are using another shell, please add the entries to the appropriate 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

Set required kernel parameters: . you use /u01/app/oracle. Create the directory for the software installation and assign ownership to oracle:oinstall. mkdir -p /u01/app/oracle chown -R oracle:oinstall /u01/app chmod -R 775 /u01/app 7. In the example.6.

conf file in any text editor and add lines similar to the following: kernel.Parameter ---------------------------kernel.ip_local_port_range Value ----------------250 3200 100 128 2097152 2147483648 4096 65536 1024 65000 Open the /etc/sysctl.semopm kernel.ipv4.semmni kernel.ipv4.shmmax kernel. .ip_local_port_range = 1024 65000 With specified values for these parameters in the /etc/sysctl.shmall = 2097152 kernel.sem = 250 32000 100 128 kernel.shmall kernel.file-max = 65536 net.file-max net.shmmni fs.shmmni = 4096 fs.semmsl kernel.semmns kernel. the values persist when you reboot the system.shmmax = 2147483648 kernel.conf file.

8. The kernel changes made previously take effect with each reboot. Issue this command to set the kernel parameters: /sbin/sysctl -p .

Installing Oracle Database 10g on Linux To install the Oracle software. Log in as operating system user oracle. .9. Log in to the Linux box as user oracle and mount the Oracle Database 10g CD. or a PC or other system with X server software installed. You must install the software from an X Window System workstation. an X terminal. Change directory to the CD and execute the script /mnt/cdrom/runInstaller from your home directory: /mnt/cdrom/runInstaller 1. you must use the GUI installer.

click Next. 2. .At the Welcome window.

The following window appears. The location should be set to /u01/app/oracle/oraInventory. Accept the default Operating System group name. oinstall. 4. Then click Next. . Leave this window open.3. You need to specify your Inventory directory.

sh exit exit Switch back to the Universal Installer window and click Continue. 6. su <rootpassword> cd /u01/app/oracle/oraInventory ./orainstRoot. .sh as the root user. Open a terminal window and enter the following commands: 5.You need to execute orainstRoot.

0/db_1. . Then click Next.1.At the Specify File Locations window. 7. change the path to /u01/app/oracle/product/10.

. 8.Make sure the Installation Type Enterprise Edition is selected and click Next.

. When the check successfully completes. The installer now verifies that the system meets all the minimum requirements for installing and configuring the chosen product. click Next.9. Please correct any reported issues before continuing.

Then click Next.You want to create a starter database. Make sure that Create a starter database and General Purpose are both selected. . 10.

click Next.Enter orcl. If you plan to perform any of the multilingual lessons. Then .com in the Global Database Name field. and select the Create database with example schemas check box. you should select Unicode standard UTF-8 AL32UTF8 as the database character set.

this example. which is Database Control. . In 12. Click Next. you accept the default.The Select Database Management Option window enables you to choose between Database Control or Grid Control of your database.

13.Specify the database file location as /u01/app/oracle/oradata and click Next. .

In the Specify Backup and Recovery Options window. you do not want to enable automated backups at this time. . click Next. Accept the default and 14.

. 15.Enter and confirm a password for all accounts. and then click Next.

. Then click Install. 16.Review the Summary window to verify what is to be installed.

The progress window appears. 17. .

18.The Configuration Assistants window appears. .

19.Your database is now being created. .

When the database is created. 20. click OK. .

/root.When the Setup Privileges window appears. You need to execute root. cd $ORACLE_BASE/product/ exit exit .sh as the root user. open a new terminal window. 21.1. From your terminal window.0/db_1 su <rootpassword> . enter the following commands: 22.

ini.0/db_1/portlist.The End of Installation summary appears. The ports shown in the summary can be found in 23. $ORACLE_BASE/product/10. . Click OK.1.

Click Yes to exit. . 24.

Sign up to vote on this title
UsefulNot useful