The steps described in this article may not be necessary, but the author does not verify it further, so all the steps in the installation process are listed here.
1. Install Redflag Linux 5.0 Desktop Edition
2. Prepare before installation, make a few patches
1). Redhat LINUX9 under the first CD redhat/rpms/compat-libstdc++-7.3-2.96.118.i386.rpm (Installation Method RPM-IVH * * *)
2. oracle9i204 Linux Patch P3006854 (this is used when installing racle9i, but reinstall oracle10g because there are many problems with the JRE after oracle9i installed)
SH rhel3_pre_install.sh
3). oracle10.1.0.3 Disc under rpms/asmlib/rhel2.1
ORACLEASM-SUPPORT-1.0.2-1.I386.RPM (Installation Method RPM-IVH * * *)
oracleasmlib-1.0.0-1.i386.rpm
3. Simulate Redhat as 2.1 license to create a file under/etc redhat-release
Input: Red Hat Enterprise Linux as Release 2.1 (Nahant Update 1)
4. Configure security parameters/etc/security/limits.conf file increase
Oracle Soft Nproc 2047
Oracle Hard Nproc 16384
Oracle Soft Nofile 1024
Oracle Hard Nofile 65536
5. Modify Kernel Parameters/etc/sysctl.conf
Kernel.sem = 256 32000 100 128
Kernel.shmmax = 2147483648
Kernel.shmmni = 4096
kernel.shmall=2097152
Fs.file-max = 65536
Verification:/sbin/sysctl-p
6. Create Oracle Users
Su-root
Groupadd dba
Groupadd Oinstall
USERADD-G oinstall-g dba Oracle
passwd Oracle (Set password)
7. Start Installation oralce10.1.0.3
Su-root
Xhost + 127.0.0.1 0.0
Su-oracle
Xhost + 127.0.0.1 0.0
Export lang=en
./runinstaller (formally started installation, installed under/home/oracle)
Select Do not create database
The installation process uses root to execute 2 files, opening a system terminal (there will be a message prompt box)
1) sh/home/oracle/orainventory/orainstroot.sh
2) sh/home/oracle/product/10.1.0/db_1/root.sh
The installation process to check the system environment, it does not matter, ignore a failed to check through the gcc-2.96 (requires a lower version than the system installation)
8. Installation complete, CREATE database
(The English interface is used here, the questions about the Chinese interface will be described in another article)
Su-root
Xhost + 127.0.0.1 0.0
Su-oracle
Xhost + 127.0.0.1 0.0
Export lang=en
Export Oracle_home=/home/oracle/product/10.1.0/db_1
CD Oracle_home/bin
./DBCA
You can now create a database as needed
9. Configure a default listener
After my database is installed, a listener is not automatically configured
Su Root
Xhost + 127.0.0.1 0.0
Su Oracle
Xhost + 127.0.0.1 0.0
Export lang=en
CD Oracle_home/bin
./NETCA or./netmgr
10. Restart Redflag Linux
Su-root
Reboot
Configure Environment variables
Valid for Oracle users only Vi/home/oracle/.bash_profile
Effective vi/etc/profile for all users
Join
Export Oracle_home=/home/oracle/product/10.1.0/db_1
Export ORACLE_SID=ORCL
11. Manual Start Oralce (System automatically start in another article described)
Manual Start (Auto start change:/etc/oratab)
Su Root
Xhost + 127.0.0.1 0.0
Su Oracle
Xhost + 127.0.0.1 0.0
Export lang=en
$ORACLE _home/bin/lsnrctl Start (Start listener)
$ORACLE _home/bin/sqlplus/nolog
Sql>conn/as SYSDBA
Sql>startup
Sql>exit
12. You can start to use, please see further how to get Oracle Automatic startup, Chinese problem solving and other articles.
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.