Oracle Installation (Linux) summary from: http://www.phpx.com/cma2896.html

Source: Internet
Author: User
Tags i18n
Summary of Oracle Installation (Linux) by freet15 [article from:] Oracle Installation (Linux) by lanf, source: Author: Oracle Installation in freet15 Linux: oracle claims that the installation of the Oracle9i database in Linux requires at least MB of memory and at least 1 GB or two times of memory swap space. For servers with a system memory larger than 2 GB, the swap space can be between 2 gb-4gb. If you want to try Oracle9i on a general PC with only MB of memory, you can run the Oracle Data database normally when 1 GB of swap space is allocated. To check the memory space, log on to Linux and run the following command in the command line mode (Bash environment): grep memtotal/proc/meminfo to check the swap space. Execute the following command in the command line: grep swaptotal/proc/meminfo 1. decompress. cpio file # cpio-idvm <lnx_920_disk1.cpio # cpio-idvm <lnx_920_disk2.cpio # cpio-idvm <lnx_920_disk3.cpio generates disk1, disk2, and disk3 in the current directory. 2. patch unzip into lerpm.zip # rpm-IVH *. i586.rpm -- nodeps -- force 3. create a user and group # groupadd DBA # mkdir/opt/oraclehome # adduser-u 499-D/opt/oraclehome/-g dba Oracle note: -u can be 1-500 (system user)-G added to the private group DBA # chown oracle. DBA/opt/oraclehome/# mkdir/opt/oraclehome/ora9i # chown oracle. DBA/opt/oraclehome/ora9i # Touch/etc/rac_on # mkdir/opt/tmp # chmod 1777/opt/tmp # cp oracle. bashrc/opt/oraclhome /. bashrc 4. linux system optimization # dd If =/dev/Zero of =/opt/tmpswap BS = 1 k count = 1024000 # chmod 600/opt/tmpswap # mkswap/opt/tmpswap # Swapon- v/opt/tmpswap # sysctl-W kernel. SEM = "250 32000 100 128" # sysctl-W kernel. shmmax = 'expr 512/* 1024/* 1024 '# echo "kernel. SEM = 250 32000 100 128 ">/etc/sysctl. conf # echo "kernel. shmmax = 'expr 512/* 1024/* 1024 '">/etc/sysctl. conf Note: View/etc/sysctl after the preceding two lines are executed. conf changes. # echo 65536>/proc/sys/fs/file-Max # ulimit-N 65536 # ulimit-u 16384 Note: The above three lines of commands are system optimization, we recommend that you add it to/etc/rc. in the local file, the system is automatically optimized every time it is started. install # xhost localhost # Su-Oracle # cd/opt/source/disk1 #. /runinstaller The following are precautions: select software only and then use the dbca command to create a database. solve the font problem during installation: # unset Lang, if the above command cannot be executed, then modify/root /. i18n and/etc/sysconfig/i18n # vi/root /. i18n NOTE: For the root user's language environment, comment out all items and add a line of lang = "en_us" # vi/etc/sysconfig/i18n. Note: A new user's language environment is added in the system (every time a user is added, it is copied to its home directory for generation. i18n) 2. error during installation: the first few errors are indicated by the error message. Only the last/opt/oraclhome/Oracle9i/CTX/lib/file has an error, modify the/opt/oraclhome/Oracle9i/CTX/lib/env_ctx.mk file to add a record $ (ldlibflag) dL 3 in the inso_link = line. oracle User Shell problems # userdel Oracle # adduser-u 499-D/opt/oraclehome/-g dba Oracle tips: # hdparm-T/dev/hda view hard disk read/write speed, if it is only about 2 MB, run # hdparm-D 1/dev/hda to enable the DMA function and add it to/etc/rc. local file.
Related Article

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.