Oracle8i for SUN SOLARIS2.7 installation Instructions

Source: Internet
Author: User
First, pre-installation ORACLE preparatory work

Description: The main task is to increase the number of Oracle users and groups, change some system parameter files.

1, #vi/etc/passwd last line plus oracle::9722:643:oracle:/oracle_home:/bin/csh
(Increase Oracle user/or use useradd)

2, #vi/etc/group the last line after adding dba::643:oracle
(Increase Oracle's group/or use Groupadd)

3, #passwd Oracle knock two times password, to indicate the password to Oracle users

4, at the root/next #chown Oracle Oracle #chgrp DBA Oracle

5, #cp. cshrc/oracle copies the two files under the root to the/oracle path.

6. #cd Oracle #chown Oracle. * Turn the hidden files that you have copied into Oracle group #chgrp DBA. *

7, #vi/etc/services finally add two lines orasrv 1525/tcp Oracle Listener 1521/TCP

8, #vi/etc/system add a paragraph after set
Set shmsys:shminfo_shmmax=4294967295
Set Shmsys:shminfo_shmmin=1
Set shmsys:shminfo_shmmni=100
Set shmsys:shminfo_shmseg=10
Set semsys:seminfo_semmns=200
Set semsys:seminfo_semmni=70

9. #su-oracle

10,%vi. CSHRC Add a paragraph

Set Path= (/oracle/bin/usr/sbin/usr/bin/usr/openwin/bin/oracle/etc/usr/ccs/bin.)
Setenv oracle_home/oracle
Setenv Oracle_sid Oracle8
#setenv DISPLAY 10.1.1.110:0.0
Setenv Nls_lang American_america. zhs16cgb231280
#setenv nls_lang=simplified Chinese_china. Zhs16gbk

Note: Plus # is optional parameter, 10.1.1.110 is configured with PC running Extrax login server.

11, #sync; sync;reboot Sun os reboot to make parameters effective

Second, install ORACLE

1. Insert Oracle installation CD
#/etc/init.d/volmgt stop
#/etc/init.d/volmgt start
%volcheck
%df-k check for equipment with or without CDROM

2,%cd/cdrom/cdrom0%./runinstaller appear ORACLE Universal Installer Installation window, press Next key to continue

3. Destination box enter the directory where Oracle will be installed, then a pop-up window is required to run with root/tmp/orainstroot.sh (it creates the Orainventory installation directory) and then select the product to install Oracle8i 8.1.5

4, choose Typical or Custom installation, pay attention to the top Screen language button, select Chinese language.

5, then appear will install all the information of Oracle products, if there is a wrong place can press the Perious button to return to change. If the confirmation is correct, press Next,oracle to start the installation.

6, installation success 100% and then back to the beginning of the option menu. /oracle/orainst/install.log Install log file last hint OK

7, eject the Setup Privileges window, request to run with root #/oracle/root.sh
Are these setting correct (y/n): Knock y Enter The full pathname of the local bin directory (y/n): Knock/bin (This shell program in/var/opt/or Acle path to generate a file Oratab, and do system detection)

8, #vi/var/opt/oracle/oratab the last line to change oracle8:/oracle:y

9. #vi/var/opt/oracle/listener.ora host= (host_name) oraclehome= (/oracle)
Example: listener= (address_list=
(Address= (PROTOCOL=TCP)
(port=1521)
(Host=joe)))
Sid_list_listener= (sid_list=
(Sid_desc= (Sid_name=oracle8)
(oracle_home=/oracle)))
Trace_level+listener=admin
Startup_wait_time_listener=0
Connect_timeout_listener=5

10, #vi/var/opt/oracle/tnsnames.ora Some connection strings, useful for distributed communication

11, #su-oracle%env See the environment variable changed no

12,%SVRMGRL wake-up svrmgr State
Svrmgr>connect Internal
Connect Open Database Svrmgr>shutdown Immediate first close instances, database
Svrmgr>startup again open the database, when you see instances startup, database mount, database open, Oracle installation was successful
Svrmgr>exit

14,%lsnrctl start listener if the error check the environment variable is set, and Lsnrctl file content and execution properties

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.