中文字幕日韩精品一区二区免费_精品一区二区三区国产精品无卡在_国精品无码专区一区二区三区_国产αv三级中文在线

RedHat7如何靜默安裝Oracle11g-創(chuàng)新互聯(lián)

這篇文章主要介紹RedHat 7如何靜默安裝Oracle11g,文中介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們一定要看完!

成都創(chuàng)新互聯(lián)長(zhǎng)期為上千客戶(hù)提供的網(wǎng)站建設(shè)服務(wù),團(tuán)隊(duì)從業(yè)經(jīng)驗(yàn)10年,關(guān)注不同地域、不同群體,并針對(duì)不同對(duì)象提供差異化的產(chǎn)品和服務(wù);打造開(kāi)放共贏平臺(tái),與合作伙伴共同營(yíng)造健康的互聯(lián)網(wǎng)生態(tài)環(huán)境。為晉源企業(yè)提供專(zhuān)業(yè)的成都網(wǎng)站設(shè)計(jì)、成都網(wǎng)站建設(shè)、外貿(mào)網(wǎng)站建設(shè),晉源網(wǎng)站改版等技術(shù)服務(wù)。擁有十多年豐富建站經(jīng)驗(yàn)和眾多成功案例,為您定制開(kāi)發(fā)。

安裝環(huán)境:

主機(jī):浪潮NF5270M4 CPU:2顆; MEM:128G

操作系統(tǒng)Red Hat Enterprise Linux Server release 7.2 (Maipo)
安裝介質(zhì):

p13390677_112040_LINUX_1of7.zip

數(shù)據(jù)庫(kù)基礎(chǔ)包

p13390677_112040_LINUX_2of7.zip

數(shù)據(jù)庫(kù)基礎(chǔ)包

IP分配:

主機(jī)名

主機(jī)IP

crm_db

192.168.2.36

安裝目錄:

oracle軟件

/home/app/oracle/11.2.0/db_1

修改/etc/hosts 文件:

[root@crm_db home]# vi /etc/hosts

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4

::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.2.36 crm_db

[root@crm_db home]#  groupadd -g 1001 oinstall

[root@crm_db home]# groupadd -g 1100 dba

[root@crm_db home]# useradd -m -g oinstall -G dba -u 1200 oracle

[root@crm_db home]# passwd oracle

zh;92YjrC

創(chuàng)建目錄:

[root@crm_db home]# mkdir -p /home/app/oracle/product/11.2.0/db_1

[root@crm_db home]# chown -R oracle:oinstall /app

#ORACLE SETTING

oracle soft nproc 2047

oracle hard nproc 16384

oracle soft nofile 1024

oracle hard nofile 65536

oracle soft memlock -1

oracle hard memlock -1


#%PAM-1.0

auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so

auth       include      system-auth

account    required     pam_nologin.so

account    include      system-auth

password   include      system-auth

# pam_selinux.so close should be the first session rule

session    required     pam_selinux.so close

session    required     pam_loginuid.so

session    optional     pam_console.so

# pam_selinux.so open should only be followed by sessions to be executed in the user context

session    required     pam_selinux.so open

session    required     pam_namespace.so

session    optional     pam_keyinit.so force revoke

session    include      system-auth

-session   optional     pam_ck_connector.so

#ORACLE SETTING

#ORACLE SETTING

fs.aio-max-nr = 1048576

fs.file-max = 6815744

kernel.shmall = 33554432

kernel.shmmax = 89060441849

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

vm.nr_hugepages = 3876


# This file controls the state of SELinux on the system.

# SELINUX= can take one of these three values:

#     enforcing - SELinux security policy is enforced.

#     permissive - SELinux prints warnings instead of enforcing.

#     disabled - No SELinux policy is loaded.

SELINUX=disabled

# SELINUXTYPE= can take one of these two values:

#     targeted - Targeted processes are protected,

#     mls - Multi Level Security protection.

SELINUXTYPE=targeted

關(guān)閉防火墻:

systemctl stop firewalld.service
systemctl disable firewalld

[root@crm_db home]#rpm -q binutils compat-libcap1 compat-libstdc++ gcc gcc-c++  glibc glibc-devel ksh libaio libaio-devel libgcc libstdc++ libstdc++-devel make sysstat unixODBC unixODBC-devel

安裝缺少的安裝包:

mount /dev/cdrom /mnt

[root@oracleserver1 u01]# cd /mnt

[root@oracleserver1 mnt]# cd Packages/

rpm -ivh libaio-devel-0.3.107-10.el6.x86_64.rpm

# .bash_profile

# Get the aliases and functions

if [ -f ~/.bashrc ]; then

        . ~/.bashrc

fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH

ORACLE_SID=oracrm; export ORACLE_SID

ORACLE_BASE=/home/app/oracle; export ORACLE_BASE

ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME

ORACLE_UNQNAME=oracleserver; export ORACLE_UNQNAME

ORACLE_TERM=xterm; export ORACLE_TERM

PATH=/usr/sbin:$PATH; export PATH

PATH=$ORACLE_HOME/bin:$PATH; export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH

CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH

NLS_DATE_FORMAT="yyyy-mm-dd HH24:MI:SS"; export NLS_DATE_FORMAT

NLS_LANG=AMERICAN_AMERICA.ZHS16GBK;export NLS_LANG

ORA_NLS11=$ORACLE_HOME/nls/data; export ORA_NLS11

THREADS_FLAG=native; export THREADS_FLAG

TMP=/tmp; export TMP

TMPDIR=$TMP; export TMPDIR

if [ $USER = "oracle" ] || [ $USER = "grid" ]; then

        if [ $SHELL = "/bin/ksh" ]; then

         ulimit -p 16384

              ulimit -n 65536

        else

              ulimit -u 16384 -n 65536

        fi

        umask 022

fi

重啟操作系統(tǒng)


shutdown -r now

安裝數(shù)據(jù)庫(kù)軟件,不建庫(kù)

1.編輯db_install.rsp文件,可以拷貝一份出來(lái),把原來(lái)的清理掉,然后輸入以下內(nèi)容:

oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0

oracle.install.option=INSTALL_DB_SWONLY

ORACLE_HOSTNAME=crm_db

UNIX_GROUP_NAME=oinstall

INVENTORY_LOCATION=/home/app/oraInventory

SELECTED_LANGUAGES=en

ORACLE_HOME=/home/app/oracle/product/11.2.0/db_1

ORACLE_BASE=/home/app/oracle

oracle.install.db.InstallEdition=EE

oracle.install.db.EEOptionsSelection=false

oracle.install.db.DBA_GROUP=dba

oracle.install.db.OPER_GROUP=oinstall

oracle.install.db.config.starterdb.type=GENERAL_PURPOSE

oracle.install.db.config.starterdb.globalDBName=oracrm

oracle.install.db.config.starterdb.SID=oracrm

oracle.install.db.config.starterdb.characterSet=AL32UTF8

oracle.install.db.config.starterdb.memoryOption=true

oracle.install.db.config.starterdb.memoryLimit=40960

oracle.install.db.config.starterdb.password.ALL=oracle

oracle.installer.autoupdates.option=SKIP_UPDATES

#iSECURITY_UPDATES_VIA_MYORACLESUPPORT=false

DECLINE_SECURITY_UPDATES=true

2,看到讓用root用戶(hù)執(zhí)行兩個(gè)腳本的提示后,把腳本執(zhí)行完,軟件就安裝完成了。

創(chuàng)建數(shù)據(jù)庫(kù):

編輯

dbca.rsp

腳本:

[GENERAL]

RESPONSEFILE_VERSION = "11.2.0"

OPERATION_TYPE = "createDatabase"

[CREATEDATABASE]

GDBNAME = "oracrm"

SID = "oracrm"

TEMPLATENAME = "General_Purpose.dbc"

CHARACTERSET = "AL32UTF8"


netca /silent /responseFile /home/oraclesoftware/netca.rsp

以上是“RedHat 7如何靜默安裝Oracle11g”這篇文章的所有內(nèi)容,感謝各位的閱讀!希望分享的內(nèi)容對(duì)大家有幫助,更多相關(guān)知識(shí),歡迎關(guān)注創(chuàng)新互聯(lián)-成都網(wǎng)站建設(shè)公司行業(yè)資訊頻道!

網(wǎng)頁(yè)名稱(chēng):RedHat7如何靜默安裝Oracle11g-創(chuàng)新互聯(lián)
網(wǎng)站地址:http://www.rwnh.cn/article28/cecsjp.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供面包屑導(dǎo)航外貿(mào)網(wǎng)站建設(shè)、外貿(mào)建站、自適應(yīng)網(wǎng)站、網(wǎng)站收錄、關(guān)鍵詞優(yōu)化

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶(hù)投稿、用戶(hù)轉(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)

小程序開(kāi)發(fā)
崇礼县| 廉江市| 玉林市| 沂南县| 黄石市| 涟水县| 平顺县| 光山县| 淄博市| 崇义县| 六枝特区| 丹巴县| 德格县| 都安| 余庆县| 苍溪县| 北流市| 大理市| 永春县| 新沂市| 休宁县| 石家庄市| 错那县| 香河县| 邹城市| 靖远县| 蚌埠市| 武冈市| 梧州市| 山阴县| 炎陵县| 东平县| 迁西县| 三河市| 乡城县| 古浪县| 二连浩特市| 长白| 芜湖县| 九龙坡区| 梧州市|