oraclelinux-r7-u1-server-x86_64 Install Oracle-11.2.0.4.0 32-bit and 64-bit editions

Source: Internet
Author: User

1. Installing the RPM Package environment

x86 under:

Yum-y Install binutils compat-libstdc++-33 compat-libstdc++-33.i686 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc libxext.i686 glibc.i686 glibc-common glibc-devel glibc-devel.i686 glibc-headers ksh Libaio libaio.i686 Libaio-devel libaio-devel.i686 libgcc libgcc.i686 libstdc++ libstdc++.i686 libstdc++-devel make Sysstat

X86_64 under:

Yum install Libaio glibc compat-libstdc++-33 elfutils-libelf-devel libaio-devel libgcc libstdc++ UnixODBC unixodbc-devel Ksh

Also need to install a Pdksh package, online download installation may conflict with the Ksh package, you can remove the Ksh package and then install Pdksh package, you can also directly force the installation of Pdksh package, Force installation statements:

RPM-IVH--force--nodeps pdksh-5.2.14-30.x86_64.rpm

2. Modify Host Name

vim/etc/hosts127.0. 0.1 localhost Sun

3. Set SELinux mode

vim/etc/selinux/configsleinux=disabled

4. Modify the sysctl.conf file

vim/etc/sysctl.conffs.suid_dumpable=1Fs.aio-max-nr=1048576FS.file-max=6815744Kernel.shmall=2097152Kernel.shmmax=915316736Kernel.shmmni=4096Kernel.sem= - 32000  -  -Net.ipv4.ip_local_port_range=9000 65500Net.core.rmem_default=262144Net.core.rmem_max=4194304Net.core.wmem_default=262144Net.core.wmem_max=1048586

5. Let the sysctl.conf configuration take effect

6. Adding parameters

vim/etc/security/limits.conforacle           soft    nofile          1024x768           Oracle    Hard Nofile          65536oracle           soft    nproc           16384Oracle           Hard    nproc           16384oracle           soft    stack           10240

7. Adding Oracle Users and Groups

501502503 504505506 502 g Oinstall-g dba,asmdba,oper Oraclepasswd Oracle  

8. Configure paths and Permissions

mkdir -p/u01/oracle/product/11.2. 0/db_1mkdir -p/u01/oracle/oradatamkdir -p/u01/ orainventory chown -R oracle.oinstall/u01chmod775

9. Configure Environment variables

 vim/home/oracle/.bash_profile -- Note Here the oracle_hostname must be filled out correctly export TMP  =/tmpexport TMPDIR  = $TMPexport oracle_hostname  =sunexport oracle_unqname  =sunexport oracle_base  =/u01/oracleexport oracle_home  = $ORACLE _base/ Product/11.2 . 0 /db_1export oracle_sid  =orclexport PATH  = $ORACLE _home/bin: $PATHexport ld_library_path  =$ Oracle_home/lib: $LD _library_pathexport CLASSPATH  = $ORACLE _home/jlib: $ORACLE _home/rdbms/jlib: $CLASSPATHexport nls_lang  =american_america. ZHS16GBK 

10. Interface installation, using Oracle User Login installation

cd/opt//home/oracle//home/oracle/database/. /runinstaller

11. An error occurs at the time of installation to around 70%:
Error in invoking target ' agent NMHS ' of makefile '/u01/oracle/product/11.2.0/db_1/sysman/lib/ins_emagent.mk '
Solution: Keep the installation process, open a terminal window, change (MK_EMAGENT_NMECTL) in the Ins_emagent.mk file to $ (mk_emagent_nmectl)-lnnz11, and then click Retry during the installation process.


12. Install the final steps follow the prompts to execute the script under the root user.

/u01/orainventory/orainstroot. sh/u01/oracle/product/11.2. 0/db_1/root. SH

oraclelinux-r7-u1-server-x86_64 Install Oracle-11.2.0.4.0 32-bit and 64-bit editions

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.