oracle8.16 installation Steps on RedHat7.1

Source: Internet
Author: User
Tags exit ftp interface log mail mkdir oracle database linux
Oracle
Good friends, Oracle installed on Linux on the internet everywhere. But none of the readers can be installed successfully according to the article. To tell the truth, I have referred to the online article installed n times before the success of the installation of its pain, in order to let new friends not have my pain I am determined to write this article on my installation of the whole process to tell you and as much as possible to detail not to let the details of everyone puzzled. My name is xiyuxi I mail is sybase8@163.net

Because the level of limited if there are omissions, please forgive me, if you have any suggestions or unclear please mail me.

Good luck to all of you. The installation was successful.

The installation steps are as follows:

1. Machine configuration:

Memory greater than 128M

Hard disk space is large enough to have at least 600M of space left on the installation side,

2. To view hard disk space:

Log in [Root@xiyuxi/root] with root user #df

View available space, if not enough, do not install.

3. Start Service

Be sure to manually start Telnet and FTP services before installing the following methods:

A. Log in [Root@xiyuxi/root] with root user #ntsysv

B. Use the SPACEBAR to select Telnet and FTP options

C. Use the TAB key to move the focus to the OK key and hit enter

D. exit

E. [Root@xiyuxi/root] #cd/etc/rc.d/init.d/

F. [Root@xiyuxi/root]#./network restart (please be careful not to ignore the dots above)

4. Install 6.2 compatible RPM package

Please prepare the RedHat7.1 installation CD to find the following three glibc2.1 compatibility packs

COMPAT-GLIBC-6.2-2.1.3.2.RPM (first CD)

COMPAT-LIBS-6.2-3.RPM (second CD)
COMPAT-EGCS-6.2-1.1.2.14.RPM (second CD)

Installation steps are as follows

Log in as root [root/xiyuxi/root]#

Put the first disc into the CD drive.

[Root@xiyuxi/root] #umount/mnt/cdrom

[Root@xiyuxi/root] #mount/mnt/cdrom

[Root@xiyuxi/root] #cd/mnt/cdrom/redhat/rpms/

[Root@xiyuxi/root] #rpm –IVH compat-glibc-6.2-2.1.3.2.rpm

[Root@xiyuxi/root] #cd/

[Root@xiyuxi/root] #umount/mnt/cdrom

Remove the first disc and put the second CD into the optical drive;

[Root@xiyuxi/root] #umount/mnt/cdrom

[Root@xiyuxi/root] #mount/mnt/cdrom

[Root@xiyuxi/root] #cd/mnt/cdrom/redhat/rpms/

[Root@xiyuxi/root] #rpm –IVH compat-libs-6.2-3.rpm

[Root@xiyuxi/root] #rpm –IVH compat-egcs-6.2-1.1.2.14.rpm



5. Set up Oracle users, as follows:

Log in as root [root@xiyuxi/root]#

[Root@xiyuxi/root] #useradd Oracle

[Root@xiyuxi/root] #passwd Oracle (set password)

6. Establish the Oracle installation directory

Log on with Root [root@xiyuxi/root]#

The establishment of ORACLE8161_TAR.GZ software package (275M) Decompression directory/home/test steps are as follows:

[Root@xiyuxi/root] #mkdir/home/test

To establish the Oracle installation directory/ORA8 The following steps:

[Root@xiyuxi/root] #mkdir/ora8

To establish the Oracle data file directory/oradata steps as follows:

[Root@xiyuxi/root] #mkdir/oradata

7. The right steps to change the directory and its subdirectories to an Oracle user's extreme group are as follows

Log in as root [root@xiyuxi/root]#

[Root@xiyuxi/root] #chown oracle/home/test

[Root@xiyuxi/root] #chown Oracle/ora8

[Root@xiyuxi/root] #chown Oracle/oradata

[Root@xiyuxi/root] #chgrp oracle/home/test

[Root@xiyuxi/root] #chgrp Oracle/ora8

[Root@xiyuxi/root] #chgrp Oracle/oradata

8. Modify the environment and configuration files (please note that you must correct them)

A. To log in to Oracle users [oracle@xiyuxi/oracle]#

b. [Oracle@xiyuxi/oracle] #vi. Bash_profile (please do not ignore points)

C. Add the following lines below (assuming the Oracle installation/ORA8) directory



Oracle_home=/ora8; Export Oracle_home
Ld_library_path=/ora8/lib; Export Ld_library_path
Oracle_base=/ora8; Export Oracle_base
Oracle_sid=ora8; Export Oracle_sid
Ora_nls33=/ora8/ocommon/nls/admin/data; Export ORA_NLS33
Nls_lang=american_america.zhs16cgb231280;export Nls_lang
Export ld_assume_kernel=2.2.5
. /usr/i386-glibc21-linux/bin/i386-glibc21-linux-env.sh
Umask 022

Please note that there must be a space between the dots and/or;

---------------------------------------------------------------

The row path= $PATH: $HOME/bin modified as follows

Path= $PATH: $HOME/bin:/ora8/bin

---------------------------------------------------------------

Save a disk exit;



9. Install Oracle Software

A. Log in as root [root@xiyuxi/root]#

B. View hostname

C. [Root@xiyuxi/root] #vi/etc/hosts

D. exit

E. If you do not know you can use localhost as a hostname

F. [Root@xiyuxi/root] #xhost + host name (if unknown host name is localhost) as follows

G. [root@xiyuxi/root] #xhost + localhost

H. [Root@xiyuxi/root] #su –oracle

I. [Oracle@xiyuxi/oracle] $CD/home/test/oracle8ir2

J. [Oracle@xiyuxi Oracle8ir2]$./runinstaller

K. This time the Oracle installation interface pops up, follow the prompts step by step next.
Attention:
On the file locations interface, check destination path for/ora8
In the UNIX Group name window, type Oracle
When the pop-up prompts you to run/ora8/orainstroot.sh as root,
Switch to the root user window that you just reserved
---------------------------------------------------------------
[root@xiyuxi/root]# Cd/ora8
[Root@xiyuxi ora8]$./orainstroot.sh
---------------------------------------------------------------
Then return to the window just popped up and click Retry.
Select "Oracle8i Enterprise edition8.1.6.1.0" on the "Available products" window that appears
Installation Type Optional typical
When prompted for global database name, make a name such as Ora8.xyx, Oracle_sid is Ora8 (same as. bsah_profile)
Prompt for DB files localtion, enter/oradata
The last Summary window, click Install
Depending on the speed of the machine, my machine will be finished in about 10 minutes. After that, pop up a window asking to run root.sh, switch to another window,
---------------------------------------------------------------
[Root@xiyuxi ora8]./root.sh
---------------------------------------------------------------
When you are asked for local bin directory, press ENTER to return to the window just now and click OK
And then the more 10 machine minutes after Oracle Database Configuration assistants, click OK, on the end of the installation screen, click Exit, in the pop-up do your reallywant to exit? Click Yes on the window, Oralce 8i Enterprise is installed!





10. Start Oracle Server

Landing with Oracle users [oracle@xiyuxi/oracle]$

[Oracle@xiyuxi/oracle] $svrmgrl

[Oracle@xiyuxi/oracle] $connect Internal

[Oracle@xiyuxi/oracle] $startup

10. Stop Oracle Server

Landing with Oracle users [oracle@xiyuxi/oracle]$

[Oracle@xiyuxi/oracle] $svrmgrl

[Oracle@xiyuxi/oracle] $connect Internal

[Oracle@xiyuxi/oracle] $shutdow Normal



11. Managing Oracle

A, start the Oracle server

b, you can use its Windows system with Sql*plus worksheet even your Oracle server

You can do the rest by yourself.

Well, finally, I wish you all a successful installation of Oracle, preferably one success, if unknown, or found errors please

Mail me. Sybase8@163.net










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.