linux安装oracle

简介:

官方的安装文档

.上安装1.2redhat5orace10g#FromRedHatAS5Disk1
cd/media/cdrom/Server
rpm-Uvhsetarch-2*
rpm-Uvhmake-3*
rpm-Uvhglibc-2*
rpm-Uvhlibaio-0*
cd/
eject

#FromRedHatAS5Disk3
cd/media/cdrom/Server
rpm-Uvhopenmotif-2*
rpm-Uvhcompat-db-4*
cd/
eject

我们可以通过下面这个命令来检查,rpm-qbinutilscompat-dbcontrol-centergccgcc-c++glibcglibc-common/
gnome-libslibstdc++libstdc++-develmakepdkshsysstatxscreensaverlibaioopenmotif21

配置好YUM后安装相关包:

更新系统:
yum-yupdate


安装常用软件:
yum-yinstallautoconfautomakebinutils-develbisoncppdos2unixftpgccgcc-c++lrzszpython-devel


安装Oracle必需软件:
yum-yinstallcompat-dbcompat-db42compat-db43compat-gcc-34compat-gcc-34-c++compat-libstdc++-33glibc-*glibc-*.i686libXpm-*.i686libXp.so.6libXt.so.6libXtst.so.6libgcc_s.so.1kshlibXplibaio-develnumactlnumactl-develunixODBCunixODBC-devel

10G11G设置内核参数文件中加入下列行)
4294967295
kernel.shmmni=4096
#semaphores:semmsl,semmns,semopm,semmni
kernel.sem=25032000100128
fs.file-max=101365
net.core.rmem_default=262144
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=1048586

fs.aio-max-nr=1048576

kernel.shmall=2097152

4294967295

kernel.sem=25032000100128

net.core.rmem_default=262144

net.core.wmem_default=262144

--然后运行下面命令,使上面的设置生效
为物理内存的一半;

fs.file-max128这是根据metalink343431.1net.ipv4.tcp_rmem/net.ipv4.tcp_wmem等需很多网络传输情况下;

其它参数根据官方文档要求设置即可.

具体内容参考我的Linuxhttp://blog.csdn.net/tianlesoftware/archive/2009/10/15/4668741.aspx


4.1/etc/security/limits.confvi/etc/security/limits.conf

oraclehardnproc16384

oraclehardnofile65536

修改此文件为系统的每个用户设置环境信息,并从/etc/profile.dif[$USER="oracle"];then

ulimit-p16384

else

fi

:/etc/pam.d/login:

:SELINUX

编辑/etc/selinux/configSELINUX=disabled


oracle###changeusergroupattribute
usermod-goinstall-Gdbaoracle
#passwdoracle

#groupaddoinstall
#groupadddba
#groupaddoper
#useradd-goinstall-Gdbaoracle
-g定义值为使用者的起始群组。

创建安装文件夹
:文件并将(FedoraCorerelease6(Zod))或者在安装时加参数

:oracle文件中:

Oracle10g的安装包是.cpio.gz格式,其解压缩方法如下:

#gunzip文件名.cpio.gz

这样文件就解压成为"文件名.cpio"了,然后再对它进行cpio操作
#cpio-idmv<文件名.cpio
<文件名.cpio
文件名.cpio
这样就将cpio文件彻底暴露在我们面前了




系统里装,那么需要设置几个参数

用户下:exportDISPLAY=IP:0.0

用户:su-oracle

不过还是用xmanager十二中安装数据库切换到刚才解压的目录下运行:exportDISPLAY=IP:0.0

在安装oracle将所需启动的实例修改为验证
<SPANstyle=""font-family:宋体">$sqlplus/nolog
connsys/oracleassysdba
startup
connscott/tiger
select*fromv$version;














本文转自东方之子736651CTO博客,原文链接: http://blog.51cto.com/ecloud/1300586,如需转载请自行联系原作者



相关文章
|
2天前
|
Linux 开发工具 C语言
Linux 安装 gcc 编译运行 C程序
Linux 安装 gcc 编译运行 C程序
20 0
|
2天前
|
Ubuntu Linux Python
Linux(15)Ubuntu安装ninja构建工具
Linux(15)Ubuntu安装ninja构建工具
11 0
|
5天前
|
NoSQL Linux 测试技术
Redis的安装(Linux版)
Redis的安装(Linux版)
105 1
|
15天前
|
缓存 Linux 测试技术
安装【银河麒麟V10】linux系统--并挂载镜像
安装【银河麒麟V10】linux系统--并挂载镜像
78 0
|
15天前
|
Linux C语言
linux yum安装ffmpeg 图文详解
linux yum安装ffmpeg 图文详解
35 0
|
15天前
|
NoSQL Linux Redis
linux 下和win下安装redis 并添加开机自启 图文详解
linux 下和win下安装redis 并添加开机自启 图文详解
17 0
|
15天前
|
Linux
linux yum 安装rar和unrar
linux yum 安装rar和unrar
50 0
|
27天前
|
Java Linux Maven
Linux中安装MAVEN环境配置
Linux中安装MAVEN环境配置
60 3
|
1天前
|
监控 安全 Linux
Linux系统之安装ServerBee服务器监控工具
【4月更文挑战第22天】Linux系统之安装ServerBee服务器监控工具
33 2
|
2天前
|
Linux 开发工具 Android开发
Docker系列(1)安装Linux系统编译Android源码
Docker系列(1)安装Linux系统编译Android源码
4 0