Install Oracle in RHEL6.0

Source: Internet
Author: User

Name Role
Server (RHEL6.0) Server

1. prerequisites (1) decompress the compressed file [root @ localhost ~] # Unzip linux_11gR2_database_1of2.zip //Decompress the ZIP file package [root @ localhost ~] # Unzip linux_11gr2_database204 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 you will need to install the Oracle database under the program user later [root @ localhost ~] # Chmod 777/database/ //Ordinary users do not have permissions and are granted 777 permissions (2) for the installation requirements [root @ localhost ~] # Cat/etc/RedHat-release //The system is RHEL6Red Hat Enterprise Linux Server release 6.1 (Santiago) [root @ localhost ~] # Grep MemTotal/proc/meminfo //The physical memory is not less than 1 GB, and the virtual machine memory is not less than 1200 MBMemTotal: 1563688 kB[Root @ localhost ~] # Grep SwapTotal/proc/meminfo //Swap partition is 1-5 of the physical memory ~ 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. Type Capacity Used Available % mount point/dev/sda3 Ext4 18G 13G 4.0G 77%/[Root @ localhost ~] # Hostname dbserver.benet.com //The server must have a fully qualified host name [root @ localhost ~] # Hostnamedbserver.benet.com [root @ localhost ~] # Cat/etc/hosts192.168.1.1 dbserver. benet. com127.0.0.1 Localhost. localdomain localhost4 localhost4.localdomain4: 1 Localhost. localdomain localhost6 localhost6.localdomain62. CD mounting required in the software environment [root @ localhost ~] # Mount/dev/cdrom/media/mount: block device/dev/sr0 is write-protected, mounting read-only edit yum repository, 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-Sourcebaseurl = file: // media/Server // UrlAccess path enabled = 1 //Start the software warehouse gpgcheck = 0 // do not verify the package signature gpgkey = file: /// etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-releaseyum install the 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 the oracle 11g installed in the unixODBC-develRHEL6, the ksh software package in the system cannot be identified. Only RHEL5 can be mounted. Install the pdksh software package in this CD [root @ localhost ~] # Ls anaconda-ks.cfg Linux_11gR2_database_1of2.zipPublic Image Music install. log Linux_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 to install the Java-1.6.0 software package to support the Chinese oracle Installation interface [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
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next Page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.