安裝oracle軟件
成都創(chuàng)新互聯(lián)公司是少有的成都網(wǎng)站建設(shè)、成都網(wǎng)站設(shè)計(jì)、營(yíng)銷(xiāo)型企業(yè)網(wǎng)站、小程序定制開(kāi)發(fā)、手機(jī)APP,開(kāi)發(fā)、制作、設(shè)計(jì)、友情鏈接、推廣優(yōu)化一站式服務(wù)網(wǎng)絡(luò)公司,從2013年開(kāi)始,堅(jiān)持透明化,價(jià)格低,無(wú)套路經(jīng)營(yíng)理念。讓網(wǎng)頁(yè)驚喜每一位訪客多年來(lái)深受用戶好評(píng)
1>創(chuàng)建用戶組、用戶和目錄
bjdb節(jié)點(diǎn)下:
[root@node1 /]# groupadd -g 200 oinstall
[root@node1 /]# groupadd -g 201 dba
[root@node1 /]# useradd -u 200 -g oinstall -G dba oracle
Creating mailbox file: File exists
[root@node1 /]# passwd oracle
Changing password for user oracle.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@node1 /]# mkdir -p /top/app/oracle
[root@node1 /]# chown -R oracle:oinstall /eb_db
shdb節(jié)點(diǎn)下創(chuàng)建相同的用戶組和用戶,腳本一樣;
關(guān)閉郵件服務(wù)器
[root@node1 /]# chkconfig sendmail off
2>修改內(nèi)核參數(shù)
/etc/sysctl.conf文件添加:
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
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 = 1048586
[root@node1 /]# sysctl -p //參數(shù)文件生效
/etc/security/limits.conf 文件下添加:
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft stack 10240
/etc/pam.d/login 文件下添加:
session required /lib/security/pam_limits.so
/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
oracle用戶下修改 .bash_profile 文件
[oracle@beijing ~]$ vi .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
export EDITOR=vi
export ORACLE_SID=prod
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
umask 022
創(chuàng)建監(jiān)聽(tīng):在oracle用戶下操作
Bash-3.00$ netca //此后會(huì)打開(kāi)一個(gè)創(chuàng)建監(jiān)聽(tīng)的圖形化界面。進(jìn)行后續(xù)配置。
Bash-3.00$ lsnrctl status //查看監(jiān)聽(tīng)狀態(tài)
3>安裝軟件并在bjdb上使用dbca創(chuàng)建數(shù)據(jù)庫(kù)
在bjdb和shdb上分別安裝oracle軟件
當(dāng)前標(biāo)題:oracle11g安裝過(guò)程
轉(zhuǎn)載來(lái)源:http://sd-ha.com/article42/gjjdhc.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供Google、品牌網(wǎng)站建設(shè)、定制開(kāi)發(fā)、面包屑導(dǎo)航、微信小程序、搜索引擎優(yōu)化
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)