linux5下安装oracel
一 RHEL 5 环境
1 安装RHEL 5
LINUX的安装基本上有点像Windows没做多少选择,只安装了操作系统,其他的服务器我个人安装了dhcp&smb。(如果像我这样,接下来安装Oracle时会出现很多问题,建议SWAP在1G以上)
2 查询所需安装包是否完整(缺少补啥)
rpm -qf gcc make binutils openmotif setarc compat-db compat-gcc compat-gcc-c compat-libstdc compat-libstdc -devel
3 .OS参数要求vi /etc/sysctl.conf , 在行末添加以下内容
#use for oracle
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=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144
再运行sysctl -p应用以上参数
4 vi /etc/security/limits.conf 行末添加以下内容
#use for oracle
* soft nproc 2047
* hard nproc 16384
* soft nofile 1024
* hard nofile 65536
5 vi /etc/pam.d/login 行末添加以下内容
session required pam_limits.so
6 vi /etc/selinux/config 确保以下内容
SELINUX=disabled
关闭SELIINUX
7 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
export ORACLE_BASE=/u01/app/oracle(这里是最后oracle软件和数据库存放的地方,适用于练习)
export ORACLE_SID=orcl
8 复制 oracle 10.2.0.1安装文件过来
9 因为默认rhel5.1不支持10.2,0.1,修改安装文件
# vi /10201_database_linux32/database/install/oraparam.ini
### #[Certified Versions]
Linux=redhat-3,SuSE-9,redhat-4,redhat-5,UnitedLinux-1.0,asianux-1,asianux-2]
再添加
[Linux-redhat-5.0-optional]
TEMP_SPACE=80
SWAP_SPACE=150
MIN_DISPLAY_COLORS=256
10 修改目录权限
#chmod -R 777 10201_database_linux32
二.Oracle安装
1.创建和配置用户
#/usr/sbin/groupadd oinstall
#/usr/sbin/groupadd dba
#/usr/sbin/useradd -m -g oinstall -G dba oracle
#id oracle
为Oracle用户设置密码:
#passwd oracl
vi /etc/redhat_release 修改为版本4(因为版本5不支持oracle10g)
vi /etc/hosts 修改127.0.0.1 为当前IP地址
2.创建安装目录mkdir -p /u01/app/oracle
# chown -R oracle:oinstall /u01/app/oracle
# chmod -R 775 /u01/app/oracle
# su - oralce
$ cd /tmp/10201_database_linux32/databases
$ export DISPLAY="192.168.0.7:0.0"
$ export LANG=en_US
$ ./runInstaller
出现安装界面
常见错误:
常见错误1:[oracle@nj15 database]$ ./runInstaller
正在启动 Oracle Universal Installer...
正在检查安装程序要求...
检查操作系统版本: 必须是redhat-3, SuSE-9, redhat-4, redhat-5, UnitedLinux-1.0, asianux-1 or asianux-2
通过所有安装程序要求均已满足。
准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2007-12-29_02-57-39AM.
请稍候...[oracle@nj15 database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError:
Redhat_linux5.5下Oracle_10g安装配置手册_IT/计算机_专业资料。Redhat linux5.5 下 Oracle 10g 安装配置手册——shawnley@hotmail.com —— 1. 安装准备 1.1...
linux5 oracle安装文档 7页 1下载券 Oracle 10g for linux5 ... 2页 2下载...准备 硬件说明 硬件说明在 linux 或者是 sun 的系统中,HP 的硬盘都被识别成 ...
Linux5 下安装 Oracle 10g 数据库 一. 安装环境(1)硬盘剩余空间:10G 以上 虽然 Oracle 10g 的安装文件只有 800 多 MB,但安装后的 oracle+oraInventory 目 ...
Redhat_linux5.6下Oracle_10g_安装及升级到10.2.0.4配置手册_计算机软件及应用_IT/计算机_专业资料。Redhat linux5.6下Oracle 10g (10.2.0.1)安装及升级...
Redhat linux5.5 下 Oracle 10g 安装配置手册——shawnley@hotmail.com 1. 安装准备 1.1 1.2 RedHat Linux Server 5.5 安装文件 Oracle 10g Linux 安装...
Redhat_linux5.6下Oracle_10g_安装及升级到10.2.0.4配置手册_计算机软件及应用_IT/计算机_专业资料。Redhat linux5.6下Oracle 10g (10.2.0.1)安装及升级...
Redhat_linux5.5下Oracle_10g安装手册_计算机软件及应用_IT/计算机_专业资料。redhat as5.5 下oracle 10G 安装手册Redhat linux5.5 下 Oracle 10g 安装配置手册...
在Linux_enterprise_5下安装Oracle_10g_IT/计算机_专业资料。在Linux_enterprise_5下安装Oracle_10g在Linux enterprise 5 下安装 Oracle 10g 一、安装系统 首先...
Red Hat Enterprise Linux 5 下安装 Oracle 全程图解一、Red Hat Enterprise Linux 5 下安装 Oracle 前准备: 下载文件 Oracle Database 10g Release 2(10.2.0...
RedHat5(Linux)下安装Oracle_10g_databases详细教程(有图有真相)_计算机软件及应用_IT/计算机_专业资料。RedHat5(Linux)下安装Oracle_10g_databases详细教程(有图...
热门文档