Several notes about Oracle Installation on linux

Source: Internet
Author: User

1. The hosts file before installation

L CAT/etc/hosts

# Check the host's domain name resolution. In addition to 127.0.0.1, there are also host IP hostname entries. Otherwise, there may be no response during the installation process for a long time.

2. Large SGA configuration (over 1.7 GB) Problems

After installing the software, you must perform the following operations to configure the big SGA (over 1.7 GB) when creating the database:

1) if a database is running, close all databases and their services.
2) echo 3000000000>/proc/sys/kernel/shmmax
# Modify the shmmax value (you can modify the/etc/sysctl. conf file: kernel. shmmax = 3000000000,/sbin/sysctl-P to make the change take effect permanently)
3) use an oracle user to perform the following operations
% Cd $ ORACLE_HOME/rdbms/lib
% CP ksms. O ksms. o_orig # back up the ksms. o file
% Genksms-S 0x15000000> ksms. s
% Make-F ins_rdbms.mk ksms. o
% Make-F ins_rdbms.mk ioracle

3. Chinese garbled characters

One reason for these problems is that these programs use JDK, and the corresponding JDK (or JRE) uses the font configuration file. the font in properties does not match the font or font configuration file of the operating system. the solution is to make the two the same.
1) download and unpack ship.db.cpio.gz to generate the directory disk1
2) CD disk1/stage/components/oracle. SWD. JRE/1.4.2.0.0/1/datafiles/
Unzip all_effect_bin.jar
(A jre directory is generated)
Cd jre/1.4.2/lib/
Mv font. properties font. properties. bak
Cp font. properties. zh_CN.Redhat8.0 font. properties
Cd ../../../
Zip-r all_except_bin.jar.new jre/
Mv all_except_bin.jar.new all_except_bin.jar
(In fact, the font. properties file is replaced. In this way, the Chinese character display is no problem during installation)

3) In the same way, Disk1/stage/Components/oracle. jdk/1.4.2.0.0/1/DataFiles/sol_bin.1.1.jar

The font. properties file in the file is replaced, and the garbled Characters During database creation and network configuration execution are lost. The isqlplus and em garbled characters are also fixed.


After the installation is complete, you do not need to reinstall it. You only need to modify the following three files and restart the corresponding program or service.

$ ORACLE_HOME/javavm/lib/ojvmfonts/font. properties
$ ORACLE_HOME/jre/1.4.2/lib/font. properties
$ ORACLE_HOME/jdk/jre/lib/font. properties

4. Version matching

10.1 can be installed on rh3. To install 10.1 On rh4, install the patch (which can be downloaded from metalink) first ). 10.2 there is no problem with rh4 installation.

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.