Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install oracle 11g under SUSE enterprise 10 linux

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "how to install oracle 11g under SUSE enterprise 10 linux". It is easy to understand and clear. I hope it can help you solve your doubts. Let me lead you to study and learn how to install oracle 11g under SUSE enterprise 10 linux.

1. Install SUSE enterprise 10 linux

two。 Check whether the software and hardware environment of the operating system meets the installation requirements of oracle 11g

3. Create oracle user groups, oracle installation directories, and oracle user environment variables 4. 0. Modify kernel parameters

5. Install database software

6. Create a database listening netca

7. Create a database dbca

Software and hardware system configuration:

Operating system: suse enterprise 10 linux

Hardware configuration: 1024MB memory

Virtual network card

Network address: 192.168.31.17

I. operating system installation

Check whether the software and hardware environment of the operating system meets the installation requirements of oracle 11g.

2.1 check disk space

# df-h / tmp

2.2 check memory, swap partition, operating system, system kernel

2.3 check the software package

Binutils-2.17.50.0.6-2.el5

Compat-libstdc++-33-3.2.3-61

Elfutils-libelf-0.125-3.el5

Elfutils-libelf-devel-0.125

Gcc-4.1.1-52

Gcc-c++-4.1.1-52

Glibc-2.5-12

Glibc-common-2.5-12

Glibc-devel-2.5-12

Glibc-headers-2.5-12

Libaio-0.3.106

Libaio-devel-0.3.106

Libgcc-4.1.1-52

Libstdc++-4.1.1

Libstdc++-devel-4.1.1-52.e15

Make-3.81-1.1

Sysstat-7.0.0

UnixODBC-2.2.11

UnixODBC-devel-2.2.11

2.4 modify the operating system locale (unlike redhat enterprise as 5)

# yast

System (system)-language Language

Redhat enterprise as 5 modify language method

[root@redhat] # vi / etc/sysconfig/i18n

LANG= "en_US"

# LANG= "zh_CN.UTF-8"

2.5 modify the operating system login interface (same as redhat enterprise as 5)

# id:5:initdefault:

Id:3:initdefault:

Modify hostname

# vi / etc/hosts

Add 192.168.31.17 suse

Create oracle user groups, oracle installation directories and oracle user environment variables

# groupadd oinstall

# groupadd dba

# groupuser-g oinstall-G dba oracle-m

* this parameter is not required in redhat *

# passwd oracle

# mkdir-p / u01/app/oracle/project/11.1.0/db_1

# chown-R oracle:oinstall / U01

# chmod-R 755 / U01

# su-oracle

Password: XXX

# pwd

/ home/oracle

# vi .profile * in redhat, change the environment variable to # vi .base _ profile*

ORALCE_BASH=/u01/app/oracle/project

ORACLE_HOME=$ORACLE_BASE/11.1.0/db_1/oracle

* the oracle here is a newly created oracle user *

ORACLE_SID=orcl * oracle sid can be modified by itself *

PATH=$ORALCE_HOME/bin/:path

* the bin directory cannot make an error, otherwise you cannot create a new monitor and create a database after the installation is complete. *

Export ORACLE_BASE ORACLE_HOME ORACLE_SID PATH

Let the settings take effect

# source .profile

# source .base _ profile (redhat enterprise linux)

Fourth, modify kernel parameters

# vi / etc/sysctl.conf

# Kernel paramaters required by Oracle 11gR1

Fs.file-max = 6553600

Kernel.shmall = 2097152

Kernel.shmmax = 2147483648

Kernel.shmmni = 4096

Kernel.sem = 250 32000 100 128

Net.ipv4.ip_local_port_range = 1024 65000

Net.core.rmem_default = 4194304

Net.core.rmem_max = 4194304

Net.core.wmem_default = 262144

Net.core.wmem_max = 262144

For the / etc/sysctl.conf changes to take effect immediately, execute the following command.

# sysctl-p

# vi / etc/security/limits.conf

Oracle soft nproc 2047

Oracle hard nproc 16384

Oracle soft nofile 1024

Oracle hard nofile 65536

# vi / etc/pam.d/login

Session required pam_limits.so

# vi / etc/profile

If [$USER = "oracle"]; then

If [$SHELL = "/ bin/ksh"]; then

Ulimit-p 16384

Ulimit-n 65536

Else

Ulimit-u 16384-n 65536

Fi

Fi

5. Install database software

# unzip linux_oracle11g

# cd database

#. / runInstaller

1. Install the software. I choose advanced installation.

2.#netca create snooping

3.dbca creates a database

The above is all the contents of the article "how to install oracle 11g under SUSE enterprise 10 linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report