How to install Oracle in Linux and related knowledge points-Series 4

Source: Internet
Author: User

10. Use the rpm installation package

If there is a ready-made package locally, you can directly use rpm for installation. Rpm package name, but sometimes it needs the support of other packages, if you need to ignore this prompt, force installation, execute rpm-I -- force -- nodeps + rpm package name. However, this force-installed software package cannot guarantee full functionality.

Knowledge Point 5: linux rpm Installation

Command Format:
Rpm-I (or -- install) options file1.rpm... fileN. rpm
Parameters:
File1.rpm... fileN. rpm file name of the RPM package to be installed
Detailed options:
-H (or -- hash) outputs the hash mark (''# ') during installation (''#')
-- Test only tests the installation and does not actually install it.
-- Percent: the installation progress is displayed as a percentage.
-- Excludedocs does not install the document files in the Software Package
-- Includedocs installation document
-- Replacepkgs force the installed software package to be reinstalled
-- Replacefiles: Replace the files of other software packages.
-- Force ignores conflicts between software packages and files
-- Noscripts does not run the pre-Installation and post-installation scripts
-- Prefix install the software package to the specified path
-- Ignorearch does not validate the structure of the software package
-- Ignoreos does not check the operating system of the software package.
-- Nodeps does not check Dependencies
-- Ftpproxy is used as an FTP Proxy
-- Ftpport specifies that the FTP port is
11. To set the user environment variables, you must configure the environment variables for the Oracle Installation user. The content set in the experiment (. bash_profile): export TMP =/tmp; export TMPDIR = $ TMP; Note: As mentioned earlier, if/tmp has less than 1 GB space, you need to set the TMP and TMPDIR environment variables. Export ORACLE_BASE =/opt/app/ora11g; export ORACLE_HOME = $ ORACLE_BASE/PRODUCT/11.2.0; export ORACLE_SID = bisal; export PATH = $ PATH:/usr/sbin: $ ORACLE_HOME/bin; export LD_LIBRARY_PATH = $ ORACLE_HOME/lib:/usr/lib: $ ORACLE_HOME/rdbms/lib; export CLASSPATH = $ ORACLE_HOME/JRE: $ ORACLE_HOME/jlib; $ ORACLE_HOME/rdbms/jlib; export EDITOR = 'vi'; export PS1 = "ora11g @ 'hostname · $"; stty erase ^ H note: some online posts may indicate that variables such as LD_LIBRARY contain more But at least this is used here, which is also the basic path configuration. Some posts also indicate the need to configure: if [$ USER = "ora11g"]; thenif [$ SHELL = "/bin/ksh"]; thenulimit-p 16384 ulimit-n 65536 elseulimit-u 16384-n 65536fifi but the system prompts "-bash: ulimit: max user processes: cannot modify limit: Not Allowed operation" during logon ", in fact, I have configured limits before. conf file:

Ora11g soft nproc 2047

Ora11g hard nproc 16384

Ora11g soft nofile 1024

Ora11g hard nofile 65536

-Nofile-max number of open files and-nproc-max number of processes have the same meaning as-u and-n. -U maximum number of processes available to users. -N indicates the maximum number of file descriptors that can be opened. Therefore, if limits is configured. conf, so you do not need to configure the profile file. This setting may be required for the previous version. Some content on the Internet may correspond to the configuration of the old version, and sometimes requires targeted filtering.
Not complete... To Be Continued...

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.