Oracle
Oracle 8i Installation manual under Redhat 7.1~7.3
The following take linux7.3 as an example
1. Preparatory work:
1). List of software:
compat-egcs-6.2-1.1.2.16.i386.rpm
compat-egcs-c++-6.2-1.1.2.16.i386.rpm
compat-egcs-objc-6.2-1.1.2.16.i386.rpm
compat-glibc-6.2-2.1.3.2.i386.rpm
compat-libs-6.2-3.i386.rpm
compat-libstdc++-6.2-2.9.0.16.i386.rpm
binutils-2.10.91.0.2-3.i386.rpm
Glibc-2.1.3-stubs.tar.gz
I386-glibc-2.1-linux.tar.gz
J2sdk-1_4_2_05-linux-i586-rpm.bin
Linux81701.tar
If you are fully installed Redhat 7.3, the first 6 packages have been installed, if not, please install them on Redhat 7.3 CD-ROM.
Next, install the glibc2.1 package. Oracle 8i installation requires glibc2.1. Since the glibc version of Red Hat Linux 7.x and above is higher than version 2.1, the glibc must be degraded. Otherwise, an error occurs during installation, causing the installation to fail. Log in with the root account and execute the following command:
# CD/
#tar ZXVF i386-glibc-2.1-linux.tar.gz
Hide gcc, cc, LD in the/usr/bin directory to avoid being used by Oracle installer, code as follows:
2. Installation of binutils-2.10.91.0.2-3.i386.rpm, must be installed, do not forget, because he and later LD-related, do not install will appear LD:
Unrecognized emulation MODE:ELF_I386_GLIBC21 error.
4. Get the patch Pack--Two Oracle glibc-2.1.3-stubs.tar.gz, and one of the most critical, all under Redhat 7.x installed Oracle
8.1.7 friends are 97% linking error made very annoyed, this bag is the tube of this bug, is actually a file--env_ctx.mk, how to use, don't worry, a will tell you.
5. Prepare the user environment.
Groupadd dba
Groupadd Oinstall//optional
Useradd oracle-g oinstall-g dba
passwd Oracle
Enter the password for the new user.
Create the installation directory (for example,/usr/local/oracle)
/mnt/cdrom/runinstaller (if you are installing from CD)
The following installation screen appears:
Click Next to continue
Select the installation path and go directly to the next step. The next step is to let you add the installation group name-oinstall and then execute the orainstroot.sh with the root user, but I do not appear here, this is the one I have installed, and then uninstall, and that's it.
Choose to install the product, choose the first one, the following screen appears:
Select the type of installation, where you can choose a typical, next to the JDK home.
Next, fill in the database SID, this is Oracle8,
Next, the next step will be the installation progress, the installation has officially begun.
You can go to take a break, 15 minutes after coming back, this time you see should be the following, error!!!!
This is the fault of ENV_CTX.MK, new open a konsole window, the download env_ctx.mk copy to $oracle_home/ctx/lib/directory, and then retry.
The installation can be completed successfully. When you jump out of the window, run as root root.sh
Click OK when you are done. The Net8 configuration window appears:
Don't worry. Next, open a new Konsole port, the download of the ORACLE patch package glibc-2.1.3-stubs.tar.gz, under $oracle_home
Tar-xvzf/tmp/glibc-2.1.3-stubs.tar.gz
Then run,./setup_stubs.sh (Perhaps this name), about 5 minutes later, everything OK. Return to the installation screen, selection perform typical configuration, next,
When you create a database, the image above
Database creation completed.
The Oracle database installation process is complete.
You should be able to connect to the database by opening the Konsole window and running Sqlplus system/manager@oracle8. Running Oemapp Dbastudio, the following Oracle
DBA Studio. Everything ok!
Start and close scripts
1 startup script (Dbstart)
#! /bin/bash
su-oracle<
. /home/oracle/.bash_profile
Lsnrctl start
svrmgrl<
Connect Internal
Startup
Exit
EoE
Exit
Eof
2) Close script (dbstop)
#! /bin/bash
su-oracle<
. /home/oracle/.bash_profile
Lsnrctl stop
svrmgrl<
Connect Internal
Shutdown immediate
Exit
EoE
Exit
Eof
Then assign executable permissions and copy to/ETC/INIT.D
Chmod +x Dbstart
Chmod +x Dbstop
In making a connection
Ln–s/etc/init.d/dbstart/etc/rc3.d/s99dbstart
Ln–s/etc/init.d/dbstop/etc/rc0.d/k10dbstop
Oracle will be able to operate normally under Linux.
Note: During the installation process, it may be all right and the error in the document will not occur, so you can skip copying the new Env_ctx.mk file. This continues.
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.