Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
The "/etc/hosts" file must contain a fully qualified name for the server.
For example.
Oracle-Validated Setup
If you plan to use the "oracle-validated" package to perform all your prerequisite setup, follow the instructions
at http://public-yum.oracle.com to setup the yum repository for OL, then perform the following command.
Manual Setup
If you have not used the "oracle-validated" package to perform all prerequisites, you will need to manually perform the
following setup tasks.
fs.suid_dumpable = 1
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
fs.suid_dumpable = 1
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default=4194304
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=1048586
/sbin/sysctl -p
groupadd oinstall
groupadd dba
groupadd oper
groupadd asmadmin
Note. We are not going to use the "asmadmin" group, since this installation will not use ASM.
Additional Setup
The following setup tasks must be performed regardless of which setup method you used previously.
Disable secure linux by editing the "/etc/selinux/config" file, making sure the SELINUX flag is set as follows.
SELINUX=disabled
Alternatively, this alteration can be done using the GUI tool (Applications > System Settings > Security Level). Click on the
SELinux tab and disable the feature. If SELinux is disabled after installation, the server will need a reboot for the change
to take effect.
mkdir -p /u01/app/oracle/product/11.2.0/db_1
chown -R oracle:oinstall /u01
chmod -R 775 /u01
xhost +<machine-name>
Login as the oracle user and add the following lines at the end of the ".bash_profile" file, remembering to adjust them for
your specific installation.
# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
Installation
Log into the oracle user. If you are using X emulation then set the DISPLAY environmental variable.
Start the Oracle Universal Installer (OUI) by issuing the following command in the database directory.
./runInstaller