Environmental requirements:
Xmanager Enterprise 4
VMware 11.0.0 build-2305329
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
Oracle 11g R2 for Linux 64-bit
Http://download.oracle.com/otn/linux/oracle11g/R2/linux.x64_11gR2_database_1of2.zip
Http://download.oracle.com/otn/linux/oracle11g/R2/linux.x64_11gR2_database_2of2.zip
Linux host-related configuration
# Vi/etc/sysconfig/network-scripts/ifcfg-eth0 Configure IP Address
ipaddr=192.168.1.15
netmask=255.255.255.0
# Vi/etc/sysconfig/network Configuring the Gateway
Hostname=dba. No1
gateway=192.168.1.254
# vi/etc/resolv.conf Configuring DNS
NameServer 192.168.1.254
# vi/etc/hosts Configure IP Resolution host name
192.168.1.15 dba. No1
Test:
# hostname
Dba. No1
# ping dba. No1
Configure the Linux server to support Xbrowser Remote Desktop Connection
Introduction to related configuration files
1./usr/share/gdm/defaults.conf--Gnome managing default Profiles
2./etc/inittab-init the Master profile of the process
Custom configuration files for 3./etc/gdm/custom.conf-gnome
View defaults.conf from that package:
# rpm-qf/usr/share/gdm/defaults.conf
Gdm-2.16.0-59.el5
To view description information for the GDM package:
# rpm-qf/usr/share/gdm/defaults.conf
Gdm-2.16.0-59.el5
# Rpm-qi GDM
NAME:GDM Relocations: (not relocatable)
version:2.16.0 Vendor:red Hat, Inc.
Release:59.el5 Build date:2011 October 29 Saturday 05:54 09 seconds
Install date:2015 January 05 Monday 09:54 18 seconds Build host:hs20-bc2-3.build.redhat.com
Group:user interface/x Source rpm:gdm-2.16.0-59.el5.src.rpm
size:11673818 LICENSE:LGPL/GPL
SIGNATURE:DSA/SHA1, November 30, 2011 Wednesday 22:34 06 seconds, Key ID 5326810137017186
Packager:red Hat, Inc.
Url:ftp://ftp.gnome.org/pub/gnome/sources/gdm
Summary:gnome display Manager.
Description:
GDM (GNOME display manager) is a highly configurable re-implementation of the XDM (X display manager). GDM allows you to log in to a system running an X Window system and supports running several X sessions simultaneously on your local machine.
Server Configuration
1. Change defaults.conf file permissions, default is read only
chmod 700/usr/share/gdm/defaults.conf
2. Make the following configuration-edit/usr/share/gdm/defaults.conf
Enable=true
displaysperhost=10
port=177
Allowroot=true
Allowremoteroot=true
Allowremoteautologin=false
3. Make the following configuration-edit/etc/gdm/custom.conf
[XDMCP]
Enable=1
4. Do the following configuration-edit/etc/inittab (Do not modify the original settings, in the last new line as follows record)
X:5:RESPAWN:/USR/SBIN/GDM#此设置经过试验可以不加
5. Reload the GNOME desktop configuration
Init 3;init 5
Mount the optical drive install the software name required for Oracle Software Installation:
To view the missing packages:
Rpm-q binutils compat-libstdc++ elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc\ glibc-common glibc-devel glibc- Headers ksh Libaio libaio-devel libgcclibstdc++ \
Libstdc++-devel make Sysstat UnixODBC unixodbc-devel
# Mkdir/mnt/cdrom
# mount-t Iso9660/dev/cdrom/mnt/cdrom
# cd/mnt/cdrom/server/
Install using the RPM-IVH package name---
Create Oracle Users and groups:
# Groupadd Oinstall
# Groupadd DBA
# USERADD-G OINSTALL-G dba Oracle
Upload the Oracle software and unzip it using the Xmanager Enterprise 4 xftp:
# Mkdir/oraapp
# Cd/orapp
# unzip Linux.x64_11gR2_database_1of2.zip && unzip Linux.x64_11gR2_database_2of2.zip
# Chown-r Oracle:oinstall/oraapp/database
Configure system core Parameters related files:/etc/sysctl.conf
# vi/etc/sysctl.conf
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 = 1048576
Use system core parameters to take effect:
# sysctl-p
Modify the shell Limits to improve Oracle execution efficiency:
# vi/etc/security/limits.conf
Oracle Soft Nofile 131072
Oracle Hard Nofile 131072
Oracle Soft Nproc 131072
Oracle Hard Nproc 131072
Oracle Soft Core Unlimited
Oracle Hard Core Unlimited
Oracle Soft Memlock 50000000
Oracle Hard Memlock 50000000
Create an Oracle installation directory
# mkdir-p/u01/app/oracle
# Chown-r Oracle:oinstall/u01
# Chmod-r 755/u01
To modify an Oracle environment variable:
#my Oracle Set
Export Tmp=/tmp
Export tmpdir= $TMP
Export Editor=vim
Export Oracle_base=/u01/app/oracle
Export Oracle_home= $ORACLE _base/product/11.2/db_1
Export Oracle_sid=secooler
Export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
Export ld_library_path= $LD _library_path: $ORACLE _home/lib
Export path= $ORACLE _home/bin: $PATH
Umask 022
$ source. bash_profile
To test whether the Oracle environment variable is configured successfully:
$ echo $ORACLE _home
/u01/app/oracle/product/11.2/db_1
[Email protected] ~]$ echo $ORACLE _base
/u01/app/oracle
Enter the graphical environment to install
# Xhost +
# Export display=192.168.1.4:0.0
# su-oracle
# cd/oraapp/database/
$./runinstaller If you do not want Oracle to check for prerequisites./runinstaller-ignoresysprereqs
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/58/24/wKioL1SqR9Hh8-YRAALnk1OD2T8694.jpg "title=" Ins.png "alt=" Wkiol1sqr9hh8-yraalnk1od2t8694.jpg "/>
ORACLE11GR2 installation of the first interface:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/58/24/wKioL1SqSN3S52lhAAJQNSA0Ahw525.jpg "title=" ORACLE11GR2 installation of the first interface "alt=" Wkiol1sqsn3s52lhaajqnsa0ahw525.jpg "/>
Do not receive security updates next
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/27/wKiom1SqSyHheSY7AAHaZY6IEHI574.jpg "title=" 03.png "alt=" wkiom1sqsyhhesy7aahazy6iehi574.jpg "/> Choose to install only database software next
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/24/wKioL1SqTMHBo7X8AAHVMzl1HwI213.jpg "title=" 04.png "alt=" wkiol1sqtmhbo7x8aahvmzl1hwi213.jpg "/> Single Instance database installation next
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/24/wKioL1SqTRfBnZlTAAKQX4qCQdM543.jpg "title=" 05.png "alt=" Wkiol1sqtrfbnzltaakqx4qcqdm543.jpg "/>
Default Next
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/24/wKioL1SqTcyRkyI6AALewrwU8sg483.jpg "title=" 06.png "alt=" wkiol1sqtcyrkyi6aalewrwu8sg483.jpg "/> Enterprise Edition Next
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/28/wKiom1SqTVSRI2LIAAKIbZb8fpM935.jpg "title=" 07.png "alt=" Wkiom1sqtvsri2liaakibzb8fpm935.jpg "/>
Default Next
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/28/wKiom1SqTdeC2QO3AAKPAHd9yXM911.jpg "title=" 08.png "alt=" wkiom1sqtdec2qo3aakpahd9yxm911.jpg "/> Default Next
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/28/wKiom1SqTkXgPIrwAAKFdj6pzvI369.jpg "title=" 09.png "alt=" wkiom1sqtkxgpirwaakfdj6pzvi369.jpg "/> Default Next
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/58/28/wKiom1SqToejdcFeAALddJvCmVQ866.jpg "title=" 001. PNG "alt=" wkiom1sqtoejdcfeaalddjvcmvq866.jpg "/> Prerequisite checks to ensure that all dependent packages are installed
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/58/28/wKiom1SqT1ujXmZPAALLgt1mYmk459.jpg "title=" 002. PNG "alt=" wkiom1sqt1ujxmzpaallgt1mymk459.jpg "/>
Complete
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/58/24/wKioL1SqUGjBXBzZAANSALerOLg708.jpg "title=" 003. PNG "alt=" wkiol1squgjbxbzzaansalerolg708.jpg "/>
/u01/app/orainventory/orainstroot.sh
/u01/app/oracle/product/11.2/db_1/root.sh
Run the above two scripts as root of the Oracle User environment:
[Email protected] server]# su-oracle
[email protected] ~]$ su
Password:
# CD $ORACLE _home
#./root.sh
# CD $ORACLE _base
# .. /orainventory/orainstroot.sh
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/25/wKioL1SqUumhC55cAAGuA8hinSc293.jpg "title=" 0031. PNG "alt=" wkiol1squumhc55caagua8hinsc293.jpg "/>
This article is from the "attention to Linux technology" blog, please be sure to keep this source http://werewolftj.blog.51cto.com/1606482/1599478
Installation of ORALCE11GR2