linux下安裝oracle 11g
1.安裝rpm包
elfutils-libelf-devel-0.137
elfutils-libelf-devel-static-0.137
gcc-4.1.2
gcc-c++-4.1.2
glibc-devel-2.5
glibc-headers-2.5
kernel-headers-2.6.18
libaio-devel-0.3.106
libao-devel-0.8.6
libgomp-4.4.0
libstdc++-devel
sysstat-7.0.2
unixODBC-2.2.11
unixODBC-devel-2.2.11
2.新增組和使用者
[root@OCM ~]# groupadd oinstall
[root@OCM ~]# groupadd dba
[root@OCM ~]# mkdir -p /u01/app/oracle
[root@OCM oracle]# useradd -g oinstall -G dba oracle
[root@OCM /]# chown -R oracle:oinstall u01
3.配置核心引數
1)編輯/etc/sysctl.conf檔案
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
2)編輯/etc/security/limits.conf檔案,新增以下內容
以oracle使用者登入,編輯/home/oracle/.bash_profile檔案
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export ORACLE_SID=orcl
export PATH=$ORACLE_HOME/bin:$PATH
5.開始安裝
以oracle使用者登入,執行./runInstaller
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_1421580757h4Zi.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_14215811030Qu9.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_1421581167r3mc.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_1421581202XCxX.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_1421581320hQgc.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_1421581344ubs7.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_1421581446XQ4q.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_14215815014b3c.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_14215815576f44.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_1421581627pMdy.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_1421581648Bkoj.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_1421581664J7oT.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_1421581702U1bj.png?x-oss-process=style/bb)
elfutils-libelf-devel-0.137
elfutils-libelf-devel-static-0.137
gcc-4.1.2
gcc-c++-4.1.2
glibc-devel-2.5
glibc-headers-2.5
kernel-headers-2.6.18
libaio-devel-0.3.106
libao-devel-0.8.6
libgomp-4.4.0
libstdc++-devel
sysstat-7.0.2
unixODBC-2.2.11
unixODBC-devel-2.2.11
2.新增組和使用者
[root@OCM ~]# groupadd oinstall
[root@OCM ~]# groupadd dba
[root@OCM ~]# mkdir -p /u01/app/oracle
[root@OCM oracle]# useradd -g oinstall -G dba oracle
[root@OCM /]# chown -R oracle:oinstall u01
3.配置核心引數
1)編輯/etc/sysctl.conf檔案
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
2)編輯/etc/security/limits.conf檔案,新增以下內容
oracle soft nofile 1024
oracle hard nofile 65536
4.配置oracle環境變數以oracle使用者登入,編輯/home/oracle/.bash_profile檔案
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export ORACLE_SID=orcl
export PATH=$ORACLE_HOME/bin:$PATH
5.開始安裝
以oracle使用者登入,執行./runInstaller
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_1421580757h4Zi.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_14215811030Qu9.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_1421581167r3mc.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_1421581202XCxX.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_1421581320hQgc.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_1421581344ubs7.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_1421581446XQ4q.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_14215815014b3c.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_14215815576f44.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_1421581627pMdy.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_1421581648Bkoj.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_1421581664J7oT.png?x-oss-process=style/bb)
![](http://img.blog.itpub.net/blog/attachment/201501/18/26937943_1421581702U1bj.png?x-oss-process=style/bb)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26937943/viewspace-1406080/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 在Oracle Linux 6.6下安裝Oracle 11gOracleLinux
- oracle linux 下安裝oracle 11g問題OracleLinux
- Linux下Oracle 11g靜默安裝LinuxOracle
- oracle linux 下安裝OGG 11gOracleLinux
- Oracle 11g for linux 安裝OracleLinux
- Oracle Linux中安裝Oracle 11gOracleLinux
- rhel5.5 linux系統下安裝Oracle 11gLinuxOracle
- CentOS 7下安裝Oracle 11gCentOSOracle
- 【OLS】Linux作業系統Oracle 11g環境下安裝解除安裝Oracle Label SecurityLinux作業系統Oracle
- linux下解除安裝oracleLinuxOracle
- linux 下oracle的安裝LinuxOracle
- Oracle安裝部署之linux(redhat/centos)快速安裝oracle 11g racOracleLinuxRedhatCentOS
- 【實驗】Oracle Enterprise Linux 5.3 32Bits 環境下安裝 Oracle 11g 安裝文件OracleLinux
- 實驗】Oracle Enterprise Linux 5.3 32Bits 環境下安裝 Oracle 11g 安裝文件OracleLinux
- Oracle Linux 6.7 靜預設安裝Oracle 11gOracleLinux
- 在oracle linux 5.6上安裝oracle 11g RACOracleLinux
- 在oracle 11g下安裝配置scheduler agentOracle
- linux 下 sysben for oracle 的安裝LinuxOracle
- 在linux下安裝oracle bbedLinuxOracle
- 安裝Oracle 11g rac for linux as 4 update 4OracleLinux
- Linux 安裝 Oracle資料庫11G 配置LinuxOracle資料庫
- Oracle Linux 7.5下載和安裝OracleLinux
- linux下安裝oracle10gLinuxOracle
- linux下安裝oracle需要的配置LinuxOracle
- Oracle BIEE在linux下的安裝OracleLinux
- Linux as 4.0 下安裝Oracle 10.2.0.1LinuxOracle
- Linux 下安裝Oracle10gLinuxOracle
- Linux下Oracle安裝寶典 (轉)LinuxOracle
- Linux平臺下解除安裝ORACLELinuxOracle
- Linux下通過VNC安裝OracleLinuxVNCOracle
- linux下安裝oracle 10gLinuxOracle 10g
- Linux下Oracle安裝寶典(轉)LinuxOracle
- Oracle 11G 安裝文件Oracle
- Oracle 11g解除安裝Oracle
- 安裝Oracle RAC 11gOracle
- ORACLE 11G 安裝注意Oracle
- 簡化 Oracle Linux 6 上的 Oracle Database 11g 安裝OracleLinuxDatabase
- oracle 11g 之linux redhat 5.5上的安裝OracleLinuxRedhat