Installing Oracle 10g on Suse 9.1 Professional

zhaozj2021-02-12  188

[Oracle] Installing Oracle 10g on Suse 9.1 Professional

Author: Fenng Date: 03-Jul-2004 Source: http: //www.dbanotes.net Version: 1.01

SUSE 9.1 Professional is released for a while. SUSE is an important Linux manufacturer in Europe. SUSE Linux has been known as gorgeous interface. In fact, a very striking place for SUSE Linux is to support Oracle's support has always been good.

In several versions of SUSE, it has been a special improvement in Oracle. It is also convenient to install it. General users only need to install an RPM package. However, the current version 9.1 supports Oracle 10G yet no official statement. After testing, it was found that Oracle 10G can run on SUSE.

SUSE Linux 9.1 uses the core of 2.6 (2.6.4-52). This is an important reason for the author to test. This version of KDE is a 3.2 version, and the GUI is gorgeous enough, but this is not big in this and this topic today. Readers who are interested in SUSE's new feature can go to see this links: http://www.suse.com/us/private/products/suse_linux/prof/new_features.html. In addition, SUSE integrates LVM2. LVM has brought a lot of convenience on maintenance, and in a sense, it improves system availability. 2.6 Core LVM2 10G - It is really quite attractive.

Before installation, let's go to the Oracle support site to see: http://www.suse.com/en/business/certification/certified_software/oracle/Documents.html. Although not directly for Oracle 10g, some documents are also very reference value. There are also http://otn.oracle.com support documents, should also be read.

Preparation

First check the operating system package is not installed. That is, those things, gcc, binutils, make, etc., GCC, Binutils, Make, etc.

Refer to http://www.dbanotes.net/oracle/install-oracle10g-rhel3.htm information here. (In addition, other useful links can also be found in this Link.

Next we create users and related groups, adjust the user's environment variable:

Export oracle_base = / u / app / oracle

Export Oracle_Home = $ Oracle_Base / Product / 10.1.0 / db_1

Export Oracle_sid = TEST

Export Path = $ PATH: $ HOME / BIN: $ ORACLE_HOME / BIN

Export LD_Library_Path = $ ORACLE_HOME / LIB: / USR / LIB

Create a directory to check the core parameters. I didn't find the sysctl.conf file on SUSE. I created themselves. The content is as follows:

Kernel.shmall = 2097152

Kernel.shmmax = 2147483648

Kernel.shmmni = 4096

Kernel.sem = 250 32000 100 128

fs.file-max = 65536

Net.IPv4.ip_local_port_range = 1024 65000

Then SysctL -P is determined. The point you should pay attention to here is that the file we created will not be automatically read after the system restarts. Can consider it

#CHKCONFIG BOOT.SYSCTL ON

Or use the SUSE's YaST tool to set.

Second installation software

Take it before installation. Because SUSE is not mentioned in the configuration file required by Runinstaller, it will report an error when the pre-check is reported.

We take the way to adjust the document. Specific reference: http://www.dbanotes.net/oracle/10g-beta-install-bug.htm

Vi OrtaParam.ini

turn up

[CERTIFIED VERSIONS]

Linux = redhat-2.1, unitedlinux-1.0, redhat-3

changed to

[CERTIFIED VERSIONS]

Linux = redhat-2.1, unitedlinux-1.0, redhat-3, suse-9.1

Then run ./RunInstaller

If the X installation interface cannot appear, pay attention to the setting of the Display environment variable. It is a graphic file in the future. Not much to say. Note that do not create a database when installing.

Three creation instances

Run DBCA, create an instance. However, there is a more headache problem. Graphical creation instances are always reported: ORA-27125: Unable to create shared memory segment. Check core parameters without finding problems. Later, through the exchange of exchanges: Linux 2.6 kernel has a feature: huge TLB support. This feature is activated by default.

Related explanation:

By default only root has permission to allocate shared memory with this option (SHM_HUGETLB) and Oracle 10g defaults using it, so Oracle fails to allocate the SGA.This capability is supposed to be able to controlled with the setcaps program (CAP_IPC_LOCK), but I could not get it to work properly. The solution is either to set DISABLE_HUGETLBFS = 1 before you start Oracle or to recompile the kernel without CONFIG_HUGETLB_PAGE and CONFIG_HUGETLBFS configuration parameters.

To solve this problem, perform $ export disable_hugetlbfs = 1 under Oracle users (the first draft is incorrectly) Note (September 19, 2004): There is a problem initially described in this article. Generally, the following operation is relatively stable:

Linux: # cd $ oracle_home / bin

Linux: # mv Oracle Oracle.bin

CAT> Oracle << "EOF"

#! / bin / bash

Export disable_hugetlbfs = 1

EXEC $ ORACLE_HOME / BIN / ORACLE.BIN $ @

EOF

Linux: # chmod x oracle

This is because Java applications like DBCAs cannot be passed to the Oracle executor.

The specific information can be referred to URL: http: //www.gesinet.it/oracle/hugetlb.html also has the following reference URL.

Then run DBCA again. If you encounter problems, it is best to customize the library, and finally select "Generate Script" (of course, you can write your script to build library, but use graphics tools to be more convenient). Run the script creation instance. If there is no accident, there should be no problem this time. The installation database is just a sequence of Oracle 10g. Don't wait, start to explore the numerous features of 10G!

Reference Information

Oracle On Suse, an Italian brother maintained site - http://www.gesinet.it/oracle/roacleonsuse.html Explanation to hugetlb - http://www.gesinet.it/oracle/hugetlb.html 5 Solve ORA -27125 Measures - http://linux.inet.hr/oracle10g_on_debian.html

Related Information

http://blog.9cbs.net/fenng/archive/2004/07/04/33439.aspx http://blog.itpub.net/post/8/1196

Origin

http://www.dbanotes.net/oracle/install-oracle10g-suse9.1.htm Back to Page <- | -> Back Home

All Articles (by Fenng) Are Licensed Under a Creative Commons License.i Would Welcome Any Feedback. Please send Questions, Comments or Corrections to dbanotes@gmail.com Valid XHTML 4.01 / Valid CSS

转载请注明原文地址:https://www.9cbs.com/read-7645.html

New Post(0)