Recently, the Japanese have successfully installed Oracle10g (10.1.0.2.0) on Red Hat Enterprise Linux as 3. The installation process and some experiences are summarized as follows, hoping to help you, there are few detours during the installation process.
System hardware requirements:
M memory (recommended for Oracle), I think if the conditions permit to add more memory, less than m after the installation of the system will become very slow. As a matter of fact, the m running does not feel good performance (my experience ).
2. At least 3.7 GB of Hard Disk Space (minimum requirements for Oracle Installation) is used to install Oracle and store database files. We recommend that you use hard disk space larger than 5 GB.
Software requirements:
1. Red Hat Enterprise Linux as 3
2. Oracle10g
The above software can be downloaded at http://www.wormwang.net/c-index.htmland oracle:www.oracle.com.
Red Hat Enterprise Linux as 3 installation:
1. confirm that at least 1 GB of swap space and at least MB of/tmp directory are required for later Oracle installation.
2. After installing Red Hat Enterprise Linux as 3, confirm to install the following package:
Gcc-3.2.3-2
Make-3.79
Binutils-2.11
Openmotif-2.2.2-16
Setarch-1.3-1
Compat-db-4.0.14.5
Compat-gcc-7.3-2.96.122
Compat-gcc-C ++-7.3-2.96.122
Compat-libstdc ++-7.3-2.96.122
Compat-libstdc ++ devel-7.3-2.96.122
I suggest you install Red Hat Enterprise Linux as 3 If you confirm that the above package is difficult to install and the hard disk space is licensed. After installation, the system includes the above packages.
Oracle10g installation:
1. After installing the system, you must add two user groups: oinstall, DBA, and oracle users, and define the oinstall and DBA groups as the primary and secondary groups of oracle users. Command reference:
#/Usr/sbin/groupadd oinstall
#/Usr/sbin/groupadd DBA
#/Usr/sbin/useradd-G oinstall-g dba Oracle
2. log on to the system as an oracle user to create the installation directory and database file directory of the Oracle system. For example:/u01/APP/Oracle/u02/oradata, and the command for changing the attribute of the preceding directory is as follows:
# Mkdir-P/u01/APP/Oracle
# Mkdir/u02/oradata
# Chown-r Oracle install/u01/APP/Oracle/u02/oradata
# Chmod-r 775/u01/APP/Oracle/u02/oradata
3. Configure the system kernel parameters, log on as the root user, modify the parameters in the/etc/sysctl. conf file, and add the following parameters to the file:
Kernel. Shmall = 2097152
Kernel. shmmax = 2147483648 (this parameter value is recommended to be half of the physical memory)
Kernel. shmmni = 4096
Kernel. SEM = 250 32000 100 128
FS. File-max = 65536
Net. ipv4.ip _ local_port_range = 1024 65000
Modify the/etc/security/limits. conf file and add the following parameters to the file:
* Soft nproc 2047
* Hard nproc 16384
* Soft nofile 1024
* Hard nofile 65536
Modify the/etc/PAM. d/login file and add the following parameters to the file:
Session required/lib/security/pam_limits.so
4. Configure the Oracle user environment, log on as an oracle user, and modify the. bash_profile file. The. bash_profile file in my system is described as follows:
# Get the aliases and functions
If [-f ~ /. Bashrc]; then
.~ /. Bashrc
Fi
# User specific environment and startup programs
Path = $ path: $ home/bin
Export path
Unset Username
(The following is what we need to configure)
Umask 022
Temp =/tmp
Tmpdir =/tmp
Export temp tmpdir
Oracle_base =/home/Oracle/APP/Oracle (determined based on the Oracle directory created by the user)
ORACLE_HOME = $ oracle_base/product/10.1.0
Oracle_sid = meltaway (optional)
Export oracle_base oracle_sid ORACLE_HOME
Path = $ path: $ ORACLE_HOME/bin
These are the minimum values required for Oracle user environment configuration, but they are all essential. In particular, ORACLE_HOME and path. If you do not specify a number of commands provided by Oracle after the installation is complete, the system will report an error indicating that you cannot find or require you to specify a path. You can refer to my files for corresponding configuration.
5. Complete the above preparations. Now you can start the installation. Log on to the system as an oracle user. We recommend that you log on to the system in English. The Oracle 10g installer does not provide good support for Chinese characters. garbled characters may occur when you log on to the installation program in a Chinese environment, which may affect the installation. Follow the prompts to install the database smoothly. We recommend that you use the template provided by the system to create a database, so that the database can be created quickly. During the installation process, you need to run two scripts as the root user. The installation prompts you to execute them in the corresponding directory. The specific process is relatively simple and will not be detailed here.
6. after the installation is complete, the system runs the created database and listening process. In this case, you may encounter a problem where everything on the server runs normally, but the client cannot create the correct network service name (tnsname) as a result, the client cannot connect to the database, and the system always prompts that no listening program is available. This problem has plagued me for several days. Later, I found that the following changes need to be made on the server:
1. log on to the system as an oracle user and run the Oracle Net manager tool (command: netmgr, in the bin subdirectory of ORACLE_HOME)
2. select the created listening process, for example, listener. In the Configuration window on the right, select databaseservice and configure the corresponding description name of the database you created in sequence, the Oracle Home Directory (automatically configured by the system) and database instance name. Make changes and solve the problem.
The above is a much more convenient installation experience and summary than 9i, which is provided for your reference. If you have any questions, I hope you can install Oracle10g on Red Hat Enterprise Linux as 3.