This article describes how to install the oracledatabase11greleasegatebit database on the Fedora1764bit system. This article assumes that you have installed Fedora1764bit
This article describes how to install the OracleDatabase 11g Release 2 64bit database on the 64ora17 64bit system. Assume that you have installed 64ora17 64bit
This article describes how to install the OracleDatabase 11g Release 2 64bit database on the 64ora17 64bit system. Assume that you have installed the 64ora17 64bit operating system and the swap partition is 2 GB, linux security is disabled and the following software groups are installed:
Gnome Desktop Environment
Editors
Graphical Internet
Development Libraries
Development Tools
Legacy Software Development
Server Configuration Tools
Administration Tools
Base
Fonts
Legacy Fonts
Hardware Support
Input Methods
Legacy Software Support
System Tools
X Windows System
To install the SDK, follow these steps:
Download the compressed database software package
Decompress the package
Modify the Hosts file
Set Kernel Parameters
Configuration
Install
Complete installation
1. Download the compressed database software package:
· OracleDatabase 11g Release 2 (11.2) Software
Decompress the package:
Unziplinux.x64_11gR2_database_1of2.zip
Unziplinux.x64_11gr2_database5of2.zip
The two packages will be decompressed to the same directory: database
2. Modify the Hosts file
Open the/etc/hosts file and add the server name as follows:
For example:
127.0.0.1 localhost. localdomain localhost4 localhost4.localdomain4192.168.0.191 fedora17.localdomain fedora17
3. Set kernel parameters:
The recommended minimum parameter settings for Oracle are as follows:
Fs. aio-max-nr = 1048576fs. file-max = 6815744kernel. shmall = 2097152kernel. shmmax = 536670912kernel. shmmni = 4096kernel. sem = 250 32000 100. net. ipv4.ip _ local_port_range = 9000 65500net. core. rmem_default = 262144net. core. rmem_max = 4192134net. core. wmem_default = 262144net. core. wmem_max= 1048586
Run the following command to view the kernel parameters of the current system:
/Sbin/sysctl-a | grep
Open the "/etc/sysctl. conf" configuration file and add or modify existing kernel parameters, as shown below:
Fs. aio-max-nr = 1048576fs. file-max = 6815744kernel. shmall = 2097152kernel. shmmax = 536670912kernel. shmmni = 4096 # semaphores: semmsl, semmns, semopm, semmnikernel. sem = 250 32000 100. net. ipv4.ip _ local_port_range = 9000 65500net. core. rmem_default = 262144net. core. rmem_max = 4192134net. core. wmem_default = 262144net. core. wmem_max= 1048586
If you do not want to restart the system, run the following command to modify the kernel parameters of the current system:
/Sbin/sysctl-p
Add the following information to the "etc/security/limits. conf" file.
Oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536
If the following settings do not exist in the "/etc/pam. d/login" file, add them.
Session required pam_limits.so
To disable linux security, modify the "/etc/selinux/config" file as follows:
SELINUX = disabled.
If you need to restart the system to change Linux security after installation, we recommend that you modify it before installation.
4. Configuration
Install the following package:
# Yum install binutils # yum install compat-libstdc ++-33yum install compat-libstdc ++-33. i686 # yum install elfutils-libelfyum install elfutils-libelf-devel # yum install gcc-c ++ # yum install glibc. i686 # yum install glibc-common # yum install glibc-devel # yum install glibc-headersyum install glibc-devel.i686yum install kshyum install libaioyum install libaio. i686yum install libaio-develyum install libaio-devel.i686 # yum install libgcc. i686 # yum install libstdc ++. i686 # yum install libstdc ++-devel # yum install make # yum install numactlyum install numactl-develyum install sysstatyum install unixODBCyum install unixODBC. i686yum install unixODBC-develyum install unixODBC-devel.i686
Create new user groups and users for database installation.
Groupadd oinstallgroupadd dbagroupadd opergroupadd asmadmin # This user will not use useradd-g oinstall-G dba, role, asmadmin oraclepasswd oracle
Create the installation directory as needed:
Mkdir-p/u01/app/oracle/product/11.2.0/db_1chown-R oracle: oinstall/u01chmod-R 775/u01
Log On with root and execute the following command:
Xhost +
Modify the system release information. Oracle only recognizes some commercial linux systems. Change the following to RedHat5, modify the "/etc/redhat-release" file, and replace "Fedora17 ..." And Other information:
Redhat release 5
Log on with an oracle user and add the following to. bash_profile:
# Oracle SettingsTMP =/tmp; export TMPDIR = $ TMP; export TMPDIR ORACLE_HOSTNAME = fedora17.localdomain; export region = DB11G; export ORACLE_UNQNAMEORACLE_BASE =/u01/app/oracle; export ORACLE_BASEORACLE_HOME = $ ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOMEORACLE_SID = DB11G; export ORACLE_SIDORACLE_TERM = xterm; export ORACLE_TERMPATH =/usr/sbin: $ PATH; export PATHPATH = $ ORACLE_HOME/bin: $ PATH; export PATH LD_LIBRARY_PATH = $ ORACLE_HOME/lib:/usr/lib; export LD_LIBRARY_PATHCLASSPATH = $ ORACLE_HOME/JRE: $ ORACLE_HOME/jlib: $ ORACLE_HOME/rdbms/jlib; export CLASSPATH if [$ USER = "oracle"]; then if [$ SHELL = "/bin/ksh"]; then ulimit-p 16384 ulimit-n 65536 else ulimit-u 16384-n 65536 fifi