The more things you learn, the more you need to sort it out, and the blog is born. As the first blog, it must be Oracle, because I want to be a DBA. Don't say much nonsense, get up.
Two. Preparatory work: 10201_database_linux32.zip.
LIBXP-1.0.0-8.1.EL5.I386.RPM (the package is in the mirror)
Three. According to the company's needs, do the configuration:
1. Adjust the kernel parameters and install the RPM package:
Root login, execute Xhost + under X-windows (set Xserver access rights)
echo 400000000 >/proc/sys/kernel/shmmax
Source/etc/profile
RPM-IVH libxp-1.0.0-8.1.el5.i386.rpm
2. Create DBA groups and Oracle users:
Groupadd dba
Useradd Oracle–g dba
passwd Oracle
mkdir–p/home/oracle/product/1020
Chown oracle.dba/home/oracle/product/1020
Mkdir-p/home/oracle/tmp
Chown oracle.dba/home/oracle/tmp
3. Log in to Oracle and set the Oracle environment variable (the variable will be added later in/etc/profile)
Log in to Oracle using command: su-oracle
VI. bash_profile
Export Oracle_base=/home/oracle
Export oracle_home=/home/oracle/product/1020
Export ORACLE_SID=ORCL
Export Ld_library_path=/lib:/usr/lib: $ORACLE _home/lib
Export path= $PATH: $ORACLE _home/bin
Export Tmpdir=/home/oracle/tmp
Export Nls_lang=american_america. UTF8
Export Lang=en_us.utf8
4. Copy the 10201_database_linux32.zip to the/home/oracle directory and unzip it. (The following operations need to be performed on the server side because of graphical operations)
Use command when copying: CP 10201_database_linux32.zip/home/oracle
Use command when extracting: Unzip 10201_database_linux32.zip
Login Oracle:su–oracle
CD Database
[Email protected] database]$./runinstaller
Starting Oracle Universal Installer ...
Checking Installer Requirements ...
Checking operating system version:must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Failed <<<<
Exiting Oracle Universal Installer, log for the session can be found At/tmp/orainstall2014-11-21_12-31-14am/installactio Ns2014-11-21_12-31-14am.log
Error: Oracle only supports systems below AS4, modify the configuration file as follows
Vi/etc/redhat-release
Red Hat Enterprise Linux Server Release 4 (Tikanga)
5. Continue the installation to succeed. Installation is simple, the kernel is not optimized, and there will be more detailed Oracle installation records later.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/53/B2/wKiom1RtuAzxQNruAAQsUTIaqGc241.jpg "title=" Oracle Start.jpg "alt=" Wkiom1rtuazxqnruaaqsutiaqgc241.jpg "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/53/B2/wKiom1RttKLTviMRAAKNQOWGCx4688.jpg "title=" Oracle Finished.jpg "alt=" Wkiom1rttkltvimraaknqowgcx4688.jpg "/>
Four. Here is the error I installed the first time:
If there is this error, the LIBXP-1.0.0-8.1.EL5.I386.RPM package is not installed.
[Email protected] database]$./runinstaller
Starting Oracle Universal Installer ...
Checking Installer Requirements ...
Checking operating system version:must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from/tmp/orainstall2014-11-21_12-31-50am. Please wait ... [[email protected] database]$ Exception in thread "main" Java.lang.UnsatisfiedLinkError:/tmp/orainstall2014-11-21_ 12-31-50am/jre/1.4.2/lib/i386/libawt.so:libxp.so.6:cannot open Shared object file:no such file or directory
At Java.lang.classloader$nativelibrary.load (Native Method)
At Java.lang.ClassLoader.loadLibrary0 (Unknown Source)
At Java.lang.ClassLoader.loadLibrary (Unknown Source)
At Java.lang.Runtime.loadLibrary0 (Unknown Source)
At Java.lang.System.loadLibrary (Unknown Source)
At Sun.security.action.LoadLibraryAction.run (Unknown Source)
At java.security.AccessController.doPrivileged (Native Method)
At Sun.awt.NativeLibLoader.loadLibraries (Unknown Source)
At sun.awt.debughelper.<clinit> (Unknown Source)
At java.awt.component.<clinit> (Unknown Source)
2. If you have the following problem, use the root user to perform the two scripts that appear during the installation process.
/home/oracle/orainventory/orainstroot.sh
/home/oracle/product/1020/root.sh
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/53/B0/wKioL1RttCCApCvjAAD9pTKpRmY850.jpg "title=" Oui-10058.jpg "alt=" Wkiol1rttccapcvjaad9ptkprmy850.jpg "/>
This article is from the "Half City" blog, please be sure to keep this source http://whnba.blog.51cto.com/1215711/1580219
Red Hat 5.5 Installs Oracle 10G