Name role server (RHEL6.0) server 1. prerequisites (1) decompress the compressed file [root @ localhost ~] # Unziplinux_11gR2 _
Name role server (RHEL6.0) server 1. prerequisites (1) decompress the compressed file [root @ localhost ~] # Unzip linux_11gR2 _
Name
Role
Server
(RHEL6.0)
Server
1. Prerequisites
(1) decompress the compressed file
[Root @ localhost ~] # Unzip linux_11gR2_database_1of2.zip//Decompress the zip package
[Root @ localhost ~] # Unzip linux_11gr2_databasesilicate f2.zip
[Root @ localhost ~] # Ls database///View the generated database data file
Doc install response rpm runInstaller sshsetup stage welcome.html
[Root @ localhost ~] # Mv database///Move the database file to the root, because the Oracle database will be installed under the user.
[Root @ localhost ~] # Chmod 777/database///Ordinary users do not have permissions and are given 777 permissions.
(2) requirements for installation
[Root @ localhost ~] # Cat/etc/RedHat-release//The system is RHEL6.
Red Hat Enterprise Linux Server release 6.1 (Santiago)
[Root @ localhost ~] # Grep MemTotal/proc/meminfo//Physical memory not less than 1 GB, virtual machine memory not less than 1200 MB
MemTotal:1563688 kB
[Root @ localhost ~] # Grep SwapTotal/proc/meminfo//Swap partition is 1-5 of the physical memory ~ 2 times. When the physical memory is 2 gb-16 GB, the swap partition is equal to the physical memory size.
SwapTotal:2097144 kB
[Root @ localhost ~] # Df-hT/tmp///Make sure that the partition space of the/tmp directory is not less than 1 GB, And the oracle 11 GB hard disk space cannot be less than 8 GB.
File System Type Capacity Used Available in use % mount point
/Dev/sda3Ext4 18G 13G 4.0G 77%/
[Root @ localhost ~] # Hostname dbserver.benet.com//The server must have a fully qualified Host Name
[Root @ localhost ~] # Hostname
Dbserver.benet.com
[Root @ localhost ~] # Cat/etc/hosts
192.168.1.1 dbserver dbserver.benet.com
127.0.0.1Localhost. localdomain localhost4 localhost4.localdomain4
: 1Localhost. localdomain localhost6 localhost6.localdomain6
2. software environment requirements
Attach a cd
[Root @ localhost ~] # Mount/dev/cdrom/media/
Mount: block device/dev/sr0 is write-protected, mounting read-only
Edit the yum repository and modify the configuration line.
[Root @ localhost ~] # Vi/etc/yum. repos. d/rhel-source.repo//Edit YUM Repository
[Rhel-source]
Name = Red Hat Enterprise Linux $ releasever-$ basearch-Source
Baseurl = file: // media/Server// UrlAccess path
Enabled = 1//Start the software Repository
Gpgcheck = 0 // do not verify the package Signature
Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Yum installation software environment
[Root @ localhost ~] # Yum-y install binutils compat-libstdc ++-33 compat-libstdc ++ elfutils-libelf-devel gcc-c ++ glibc-common glibc-devel glibc -headers libaio-devel libgcc libcstdc ++ libstdc ++-devel make sysstat unixODBC-devel
The oracle 11g installed in RHEL6 cannot be identified by the ksh software package in the system. Only RHEL5 can be mounted. Install the pdksh software package on this CD
[Root @ localhost ~] # Ls
Anaconda-ks.cfgLinux_11gR2_database_1of2.zipPublic Image Music
Install. logLinux_11gr2_databasesilicate f2.zipTemplate Document Desktop
Install. log. syslog pdksh-5.2.14-36.el5.i386.rpm Video Download
[Root @ localhost ~] # Rm-rf linux_11gR2_database_1of2.zip//When pdksh is installed, uninstall llg to save memory usage.
[Root @ localhost ~] # Rm-rf linux_11gr2_database204 f2.zip
[Root @ localhost ~] # Rpm-ivh pdksh-5.2.14-36.el5.i386.rpm//Mount RHEL5 and install pdksh
Install the Java-1.6.0 software package to support the oracle Installation interface in Chinese
[Root @ localhost ~] # Yum-y install java-1.6.0
[Root @ localhost ~] # Cd/usr/lib/jvm/jre-1.6.0/lib/
[Root @ localhost lib] # mv fontconfig. bfc fontconfig. bfc. origin//Backup default font configuration
[Root @ localhost lib] # cp fontconfig. RedHat.6.0.bfc fontconfig. bfc//Create a font configuration for RHEL6