- 浏览: 305548 次
- 性别:
- 来自: 上海
文章分类
- 全部博客 (167)
- <HTML and JavaScript and CSS> (6)
- 《Java2 基础知识及概念》 (3)
- Java2 Tools及其他 (11)
- EJB2.0 相关 (3)
- 英语学习 (4)
- Oracle Database Server (27)
- 计算机理论 (9)
- Java持久层框架 (2)
- 《Linux操作系统》 (24)
- 杂项技术 (4)
- Application Server (15)
- Windows操作系统 (7)
- Java中间件 (6)
- 娱乐生活 (4)
- 《Java设计模式》 (3)
- 《Interview Skill》 (1)
- 《Struts原理及应用》 (1)
- Workflow (2)
- 云计算 (3)
- 项目实践 (3)
- WEB相关技术 (10)
- JavaScript技巧及应用 (1)
最新评论
linux 安装 oracle 的时候 报错: error while loading shared libraries: libstdc++-libc6.1-1.so.2 ---------------------------- cd /usr/lib 只用执行如下操作 ln -s libstdc++-libc6.2-2.so.3 libstdc++-libc6.1-1.so.2 以root身份登录
1 Logging In to the System as root
$ xhost fully_qualified_remote_host_name
2 Checking the Hardware Requirements
# grep MemTotal /proc/meminfo
# grep SwapTotal /proc/meminfo
# df -k /tmp
# grep "model name" /proc/cpuinfo
3 Checking the Software Requirements
# cat /etc/issue
# uname -r
# rpm -q package_name
5 Configuring Kernel Parameters
semmsl, semmns, semopm, and semmni |
# /sbin/sysctl -a | grep sem
This command displays the value of the semaphore parameters in the order listed. |
shmall, shmmax, and shmmni | # /sbin/sysctl -a | grep shm |
file-max | # /sbin/sysctl -a | grep file-max |
ip_local_port_range | # /sbin/sysctl -a | grep ip_local_port_range |
rmem_default | # /sbin/sysctl -a | grep rmem_default |
rmem_max | # /sbin/sysctl -a | grep rmem_max |
wmem_default | # /sbin/sysctl -a | grep wmem_default |
wmem_max | # /sbin/sysctl -a | grep wmem_max |
Using any text editor, create or edit the /etc/sysctl.conf
file, and add or edit lines similar to the following:
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
net.core.rmem_default = 1048576
net.core.rmem_max = 1048576
net.core.wmem_default = 262144
net.core.wmem_max = 262144
Setting Shell Limits for the oracle User
Maximum number of open file descriptors
Maximum number of processes available to a single user
-
Add the following lines in the
/etc/security/limits.conf
file:oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536
-
Add the following line to the
/etc/pam.d/login
file, if it does not already exist:session required /lib/security/pam_limits.so session required pam_limits.so
-
Depending on the
oracle
user's default shell, make the following changes to the default shell startup file:-
For the Bourne, Bash, or Korn shell, add the following lines in the
/etc/profile
file (or the/etc/profile.local
file on SUSE systems):if [ $USER = "oracle" ]; then if [ $SHELL = "/bin/ksh" ]; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi fi
-
For the C shell, add the following lines in the
/etc/csh.login
file (or the/etc/csh.login.local
file on SUSE systems):if ( $USER == "oracle" ) then limit maxproc 16384 limit descriptors 65536 endif
-
6 Creating Required Directories
/u01/app/oracle
# chown -R oracle:oinstall /mount_point/app/oracle_sw_owner
# chmod -R 775 /mount_point/app/oracle_sw_owner
7 Configuration ENV
$ xhost fully_qualified_remote_host_name
$ echo $SHELL
$ vi .bash_profile
umask 022
$ DISPLAY=local_host:0.0 ; export DISPLAY
$ su - root
# mkdir /mount_point/tmp
# chmod a wr /mount_point/tmp
# exit
$ unset ORACLE_HOME
$ unset TNS_ADMIN
# eject /mnt/dvd
# mount -t iso9660 /dev/dvd /mnt/dvd
$ /mount_point/db/runInstaller
oracle_home/install/portlist.ini
http://host.domain:1158/em/
Red Hat Enterprise Linux 4.0 and Asianux 2.0:
binutils-2.15.92.0.2-13.EL4 compat-db-4.1.25-9 compat-libstdc -296-2.96-132.7.2 control-center-2.8.0-12 gcc-3.4.3-22.1.EL4 gcc-c -3.4.3-22.1.EL44 glibc-2.3.4-2.9 glibc-common-2.3.4-2.9 gnome-libs-1.4.1.2.90-44.1 libstdc -3.4.3-22.1 libstdc -devel-3.4.3-22.1 make-3.80-5 pdksh-5.2.14-30 sysstat-5.0.5-1 xscreensaver-4.18-5.rhel4.2 setarch-1.6-1
4 Creating Required Operating System Groups and Users
The following local operating system groups and users are required if you are installing Oracle Database:
-
The Oracle Inventory group (
oinstall
) -
The OSDBA group (
dba
) -
The Oracle software owner (
oracle
) -
An unprivileged user (
nobody
)
To determine whether these groups and users already exist, and if necessary, to create them, follow these steps:
-
To determine whether the
oinstall
group exists, enter the following command:# more /etc/oraInst.loc
If the output of this command shows the
oinstall
group name, then the group already exists.If the
oraInst.loc
file exists, then the output from this command is similar to the following:inventory_loc=/u01/app/oracle/oraInventory inst_group=oinstall
The
inst_group
parameter shows the name of the Oracle Inventory group,oinstall
. -
To determine whether the
dba
group exists, enter the following command:# grep dba /etc/group
If the output from this commands shows the
dba
group name, then the group already exists. -
If necessary, enter the following commands to create the
oinstall
anddba
groups:# /usr/sbin/groupadd oinstall # /usr/sbin/groupadd dba
-
To determine whether the
oracle
user exists and belongs to the correct groups, enter the following command:# id oracle
If the
oracle
user exists, then this command displays information about the groups to which the user belongs. The output should be similar to the following, indicating thatoinstall
is the primary group anddba
is a secondary group:uid=440(oracle) gid=200(oinstall) groups=201(dba),202(oper)
-
If necessary, complete one of the following actions:
-
If the
oracle
user exists, but its primary group is notoinstall
or it is not a member of thedba
group, then enter the following command:# /usr/sbin/usermod -g oinstall -G dba oracle
-
If the
oracle
user does not exist, enter the following command to create it:# /usr/sbin/useradd -g oinstall -G dba oracle
This command creates the
oracle
user and specifiesoinstall
as the primary group anddba
as the secondary group.
-
-
Enter the following command to set the password of the
oracle
user:# passwd oracle
-
To determine whether the
nobody
user exists, enter the following command:# id nobody
If this command displays information about the
nobody
user, then you do not have to create the user.If the
nobody
user does not exist, then enter the following command to create it:# /usr/sbin/useradd nobody
<!--{PS..0}-->
发表评论
文章已被作者锁定,不允许评论。
-
RH Linux 网络配置
2011-11-20 09:07 1081网络配置: #setup ifconfig #se ... -
LInux Shell编程初步
2011-11-20 09:07 1014执行: #bash < xxx.sh 第一行: ... -
RH Linux Grub
2011-11-20 09:07 1139/boot/grub/grub.conf defaul ... -
RH Linux 常用系统命令
2011-11-20 09:07 1168#dmesg 查看硬件信息 #unam ... -
Linux 挂载U盘及光盘
2011-11-20 09:07 990挂载U盘 $cd mnt $mkdir usb $mou ... -
Linux RPM 常用命令
2011-11-19 11:25 892RPM命令: rpm -i xxx 安装 rpm ... -
Linux 常用压缩格式及命令
2011-11-19 11:21 948tar.gz tar.bz2 zip gzip x ... -
RH Linux配置Vsftpd
2011-11-19 08:10 907cd /etc/vsftd/ 编辑ftpusers和u ... -
RH Linux配置VNCServer
2011-11-19 08:01 1050使用vncserver命令为当前用户启动vnc服务(将在当前用 ... -
SUSE10下vsftpd配置
2011-08-13 03:47 12691,使用root用户登录系统,输入yast,选择Network ... -
《Linux性能监测工具》
2011-04-30 15:54 12971、uptime uptime命令用于查看服务器运行 ... -
《SVN自启动的脚本(Linux) 》
2011-04-05 20:17 1222#!/bin/sh## chkconfig: 2345 33 ... -
《linux设置apache自启动》
2011-04-05 17:34 1065Apache安装路径为:/usr/local/apacheLi ... -
《linux中chkconfig命令详解》
2011-04-05 17:23 750chkconfig: chkconfig ... -
《linux下svn的安装和配置》
2011-04-05 16:33 1463一、准备好相关的几个安装包 Apr : apr-1.3.8 ... -
《轻松愉快LINUX视频教程》
2011-04-04 13:55 1341Linux版本号r.x.y r: release versi ... -
《linux 查看内存使用情况》
2011-03-09 11:26 1072$ free -m total ... -
《Linux iSCSI target配置全过程》
2010-03-17 13:38 3703一:Install iSCSI target for Linu ... -
《Linux 服务的添加删除,自动运行及状态》
2010-03-17 13:17 13011. 添加服务添加服务的步骤为: a. 将该服务的脚本文件拷 ... -
《解决Linux中Too many open files问题》
2009-09-24 17:00 14391、相关命令:ulimit –a ...
相关推荐
#### 标题:Oracle Database 快速安装指南 for Linux x86-64 本指南旨在为用户提供快速安装 Oracle Database 11g Release 2 (11.2) 的步骤和指导,特别针对 Linux x86-64 平台。 #### 描述:Oracle Database 快速...
### Oracle 10g数据库在Linux x86系统上的快速安装指南 #### 一、概述与准备工作 **Oracle 10g**是甲骨文公司(Oracle Corporation)发布的一款关系型数据库管理系统,它提供了高性能、高可靠性和强大的数据管理...
Oracle Database Quick Installation Guide 11.2 for Linux x86-64 是一本旨在帮助用户快速在基于Linux的x86-64架构系统上安装Oracle数据库11g Release 2 (11.2)的指南。以下是该指南中涵盖的关键步骤和知识点的详细...
Oracle Database Client 快速安装指南11g Release 2 (11.2) for Linux x86 是一本针对在Linux x86系统上快速安装Oracle数据库客户端的实用手册。本指南旨在帮助用户在没有任何Oracle软件预装的系统上进行默认安装,...
首先,该文档是关于Oracle Database 11g Release 2(11.2)版本在Linux x86平台上的快速安装指南。这个指南详细描述了如何在Linux的32位系统上快速安装Oracle数据库。该指南不仅包括了安装过程中需要的基本步骤,也...
根据提供的文档信息,我们可以深入探讨Oracle® Database 10g Release 2 (10.2) for Linux x86-64安装指南中的关键知识点。这份文档主要关注于如何在Linux x86-64平台上安装Oracle数据库10g第二版(10.2版本),并...
Oracle Database Quick Installation Guide 11g Release 2 (11.2) for Linux x86-64-32
本指南旨在提供一个快速、简洁的方法来安装 Oracle Database 11g Release 1 (11.1) for Linux x86 系统。它包含了从系统登录到安装完成的所有必要步骤,并对每个步骤进行了详细的解释。 #### 一、审查本指南的信息 ...
Oracle Database Client 快速安装指南11g Release 2 (11.2) for Linux x86-64 是一份旨在帮助用户迅速在Linux x86-64系统上安装Oracle Database Client 11.2版本的文档。该指南包含了以下几个关键步骤: 1. **审查...
### Oracle10g在Solaris 10 x86上的安装指南 #### 一、安装前的准备 在开始安装Oracle 10g数据库软件到SUN Solaris 10 x86系统之前,有几个关键步骤需要进行: 1. **硬件需求**:首先,确保服务器的主内存至少为...
本指南旨在提供Oracle Database 11g Release 2 (11.2)在Oracle Solaris x86-64 (64位)平台上的快速安装流程。文档编号为E24351-01。 #### 二、安装前准备 ##### 1. 用户权限管理 - **以root用户登录**: 安装过程...
自Oracle Database 10g Release 2起,除了Oracle Database Installation Guide for Linux x86-64中列出的操作系统外,还增加了以下操作系统版本的支持: - Asianux 2.1 - Asianux 3 - Oracle Linux 4/Oracle VM - ...
- **EBS12.1.1 for Linux x86_64 Installation Guide**: 这个标题明确指出文档的主题是关于如何在Linux x86_64架构上安装Oracle E-Business Suite 12.1.1版本。 ### 描述解析 - 描述与标题相同,没有提供额外的信息...
《Oracle Database 快速安装指南 11g for Oracle Solaris》是针对在x86-64架构的Oracle Solaris系统上快速部署Oracle数据库11g Release 2 (11.2)的详细指导。本指南的目标是帮助用户以默认选项安装数据库,适用于...
### Linux x86 32位操作系统快速安装Oracle数据库操作指南 #### 一、概述 本文档旨在指导用户如何在Linux x86 32位操作系统上快速安装Oracle Database 10g。它包含了从系统准备到软件安装的全过程指南,并提供了...
- Oracle Applications Installation and Upgrade Notes Release 12(12.1) for LINUX x86-64【761566.1】 - Oracle Applications NLS Release Notes Release 12.1 这些文档将帮助理解安装过程中可能遇到的技术细节...
它指出,如果你的系统已经存在Oracle软件安装,那么应参考《Oracle Database Client Installation Guide for Oracle Solaris》获取更详尽的安装指导。 2. **以root身份登录系统**:安装Oracle Database Client通常...
若要获取更详细的安装信息或进行高级配置,用户应参考Oracle提供的其他安装指南,如Oracle Database Installation Guide for Linux、Oracle Clusterware Installation Guide for Linux以及Oracle Real Application ...
- **安装文档**:参考《Oracle Database Installation Guide 10g Release 2 (10.2) for Solaris Operating System (x86)》(文档编号 B15697),此文档提供了详细的安装步骤和技术细节。 **2. 下载 Oracle 10g R2 ...
《Red Hat Enterprise Linux-5-Installation Guide-en-US.pdf》是一份详尽的技术文档,旨在指导用户如何安装 Red Hat Enterprise Linux 5(以下简称 RHEL 5)操作系统。这份指南不仅涵盖了安装过程中的基本步骤,还...