The oracle8.1.7 installation process is recorded on Linux 7.1.

Source: Internet
Author: User
Tags character set command line dba linux
oracle| process
System Preparation ======== Redhat8 Install the additional installation package by Server type: 1 contains an x system, it is recommended to use GNOME, 2 will develop toolkit develop tools selected, standard GCC tools and so on. 3 It is recommended that network utiliety be selected, Nmap mtr such gadgets are useful for installing approximately 1.4G space and setting the locale to the default en_US. UTF-8 (default is en_us.iso885915 under Redhat 7.3) to en_US root#vi/etc/sysconfig/i18n to: lang= "en_US" supported= "En_us:en" before installation ============= 0 Download: 1 latest JVM: Recommended Use jdk1.4http://java.sun.com/jdk1.4.2

2 Oracle8.1.7 installation package: http://technet.oracle.com/software/products/oracle8i/content.html Linux81701.tar Oracle8i Linux installation package glibc-2.1.3-stubs.tar.gz patch (http://download.oracle.com/otn/linux/oracle8i/ glibc-2.1.3-stubs.tar.gz)

2 Create users and Groups Oracle8i service username: Oracle belongs to DBA Group Root#groupadd DBA Root#useradd oracle-g dba modifies Oracle user password: ROOT#PASSWD Oracle 3 Settings ORAC Le User's environment variable, add the following settings: Oracle%vi ~oracle/.bash_profile ##################################################### Export LD_ assume_kernel=2.2.5 # oracle_home Main Catalog Export oracle_base=/home/oracle export oracle_home= $ORACLE _base/product/8.1.7 # Default Character Set: Export Nls_lang=american # Command line tool entry Export path= $PATH: $ORACLE _home/bin ######################################## ############# If you want these environment settings to take effect immediately: source. Bash_profile Two Oracle installation process =================== Unpack Linux81701.tar (approx 530M) oracle% Tar XF Linux81701.tar with Oracle users into the X environment, running the Disk1/runinstaller the entire installation process is best to open 2 windows: One is Runinstaller, in another terminal window run some auxiliary script program Following is the process of switching through the 2 windows of the installation step: ORACLE INSTALLER PATCH TERMINAL--------------------------------------------------------------- ----------------------------------1/path/to/disk1/runinstaller, it is OK to follow the default option to install it step-by-step. Recommended only: 1 Oracle Server 2 Net8 3 Oracle Utilities 4 orcale Configuration assistants do not install OPS, do not install JservEr, single database single instance, otherwise it will be slow to let you suspect the crash ... 2 Middle About when permission group settings are in place, all of the predefined DBA groups are filled in when the Oracle installation prompt runs the Oracle user group permissions settings Script root#orainstroot.sh 3 The middle of the configuration of database installation does not install the database (or the last time the database helper is not installed, must be used in the Oracle-provided glibc-2.1.3-stubs.tar.gz setup_stub.sh after the patch to install the database) 4 when Oracle installation prompts to run root.sh with root root#root.sh Oracle8.1.7.0.1 version at this time the root.sh has a bug in line 156th, corrected as follows: Ruid= '/usr/bin/id| $AWK-f (' {print $} ' | $AWK-f) ' {print $ "Last write less single quotes" "---------^ 5 Oracle Application Installation complete, NET8 configuration follows the default settings (perform typical configuration): Database application and Network Service Basic installation completed initially But the database is not initialized, you can exit the Installer installation Interface 6 switch to the Oracle user patch ORACLE%CP glibc-2.1.3-stubs.tar.gz%oracle_home/oracle%cd $ORACLE _ After the home Oracle%tar zxf glibc-2.1.3-stubs.tar.gz oracle%./setup_stubs.sh 7 patch is finished, in the X environment, start with an Oracle user Dbassist follow the prompts to create the database. After the Oracle%dbassist installation completes the database setup, set the newly installed Oracle_sid to. Bash_profile: Suppose you use the default database instance ID Name: ORCL export ORACLE_SID=ORCL This is the time to start the database using the Dbstart script Oracle%dbstart or oracle%sqlplus sql>connect internal sql>startup listening Port boot Oracle%lsnrctl Start three set up service Autostart =================== set the corresponding database instance to allow automatic start of root# vi/e with system servicesTc/oratab the final: orcl:/home/oracle/product/8.1.7:n to: orcl:/home/oracle/product/8.1.7:y Simple Service automatic startup script root# vi/etc/ rc.local #start oracle8i listener su-oracle-c ' lsnrctl start ' #start oracle8i su-oracle-c ' Dbstart '


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.