CentOS 7.1靜默安裝11.2.0.3 64位單機(jī)數(shù)據(jù)庫軟件

第1章?CentOS 7.1靜默安裝11.2.0.3 64位單機(jī)數(shù)據(jù)庫軟件

1.1 ?安裝前的準(zhǔn)備工作

1.1.1 ???? 軟件準(zhǔn)備




1.1.2 ???? 檢查硬件

注意這里的內(nèi)存應(yīng)該滿足要求蝶俱,不然可能引起數(shù)據(jù)庫在安裝過程中長時(shí)間的掛起等待擂啥。。。。

在正式安裝開始前,請先檢查你的軟硬件條件是否滿足安裝需要亩钟。

硬件上可以使用命令查看內(nèi)存情況和?CPU?特性:

more? /proc/meminfo

more ?/proc/cpuinfo

其中內(nèi)存的要求是不低于?1G


下面的不是必須的,可選使用

cat /etc/redhat-release

#df?–k /dev/shm?檢查共享內(nèi)存

#df?–k?? /tmp?檢查臨時(shí)磁盤空間

#more /proc/version?檢查操作系統(tǒng)版本

#uname?–r?檢查內(nèi)核版本


內(nèi)存:

# grep MemTotal /proc/meminfo

交換空間

# grep SwapTotal /proc/meminfo

磁盤空間

# df -ah

# free

#free -m



1.1.3 ???? 修改hosts文件鳖轰、修改主機(jī)名

永久生效:

[root@localhost ~]# hostnamectl set-hostname COSLHR

或修改文件/etc/hostname:

[root@localhost ~]# cat? /etc/hostname

COSLHR

臨時(shí)生效:

[root@localhost ~]# hostname COSLHR

查看/etc/hosts文件中必須包含a fully qualified name for the server清酥,必須包含127.0.0.1和真實(shí)的IP地址這2行:

[root@localhost ~]# cat /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1?????????????? localhost.localdomain localhost

::1???????????? localhost6.localdomain6 localhost6

192.168.59.155 COSLHR

注意將主機(jī)名對應(yīng)到真實(shí)IP地址,否則Oracle有可能將監(jiān)聽程序僅僅建立在127.0.0.1上蕴侣。


注意:修改主機(jī)名后焰轻,需要重啟系統(tǒng)后生效。


1.1.3.1 ??? 配置固定IP

DEVICE=ens33

IPADDR=192.168.59.51

NETMASK=255.255.255.0

NETWORK=192.168.59.0

BROADCAST=192.168.59.255

GATEWAY=192.168.59.2

ONBOOT=yes

USERCTL=no

BOOTPROTO=static

#HWADDR=00:0c:29:97:f1:5b

TYPE=Ethernet

IPV6INIT=no

DNS1=202.96.209.5

DNS2=8.8.8.8

NAME="ens33"


1.1.4 ???? 安裝軟件包檢查

http://blog.itpub.net/26736162/viewspace-2133603/


可以統(tǒng)一檢查:

rpm -q \

binutils \

compat-libstdc++-33 \

elfutils-libelf \

elfutils-libelf-devel \

expat \

gcc \

gcc-c++ \

glibc \

glibc-common \

glibc-devel \

glibc-headers \

libaio \

libaio-devel \

libgcc \

libstdc++ \

libstdc++-devel \

make \

pdksh \

sysstat \

unixODBC \

unixODBC-devel | grep "not installed"


如果部分包不存在昆雀,可以批量更新安裝辱志,但如果依賴關(guān)系缺失,可能需要多執(zhí)行兩遍或者手工調(diào)整狞膘,所以建議使用yum進(jìn)行安裝:

package compat-libstdc++-33 is not installed

package elfutils-libelf-devel is not installed

package gcc-c++ is not installed

package libaio-devel is not installed

package libstdc++-devel is not installed

package pdksh is not installed

package unixODBC is not installed

package unixODBC-devel is not installed

依次安裝如下的包:

yum install -y compat-libstdc++-33

yum install -y elfutils-libelf-devel

yum install -y gcc-c++

yum install -y libaio-devel

yum install -y libstdc++-devel

yum install -y pdksh

yum install -y unixODBC

yum install -y unixODBC-devel

安裝完成后再次檢查是否還有沒有安裝的包揩懒。


注意:其中的pdksh包可以忽略。



1.1.5 ???? 內(nèi)核參數(shù)--shell限制


1.1.5.1?/etc/security/limits.conf


設(shè)置Shell Limits

在/etc/security/limits.conf文件中加入下列行:

oracle soft nofile 65536

oracle hard nofile 65536

oracle soft nproc 16384

oracle hard nproc 16384


為安裝用戶設(shè)置資源限制

要改善?Linux?系統(tǒng)上的軟件性能挽封,必須對?Oracle?軟件所有者用戶(grid已球、oracle)增加以下資源限制:

Shell?限制?limits.conf?中的條目?硬限制

打開文件描述符的最大數(shù)? ??? nofile ? 65536

可用于單個(gè)用戶的最大進(jìn)程數(shù)???? nproc?? 16384

進(jìn)程堆棧段的最大大小??? ??? stack? 10240


1.1.5.2?/etc/pam.d/login

在/etc/pam.d/login文件中加入下列行,如果里面沒有的話:

session required /lib/security/pam_limits.so

session required pam_limits.so



1.1.5.3?/etc/profile

對默認(rèn)的?shell?啟動(dòng)文件進(jìn)行以下更改辅愿,以便更改所有?Oracle?安裝所有者的?ulimit?設(shè)置:


在/etc/profile后加入以下語句:

if [ $USER = "oracle" ]; then

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

??????????????? ulimit -p 16384

??????????????? ulimit -n 16384

??????? else

??????????????? ulimit -u 16384 -n 16384

??????? fi

fi??


1.1.5.4?/etc/sysctl.conf

Configuring Kernel Parameters for Linux

vim /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


生效

# /sbin/sysctl -p



參數(shù)的含義:http://blog.itpub.net/26736162/viewspace-2147273/


1.1.6 ???? 關(guān)閉防火墻


systemctl status firewalld.service

systemctl stop firewalld.service

systemctl disable firewalld.service


[root@localhost /]# systemctl status firewalld.service

●?firewalld.service - firewalld - dynamic firewall daemon

?? Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)

Active:?active (running)?since Thu 2016-04-07 18:54:29 PDT; 2h 20min ago

?Main PID: 802 (firewalld)

?? CGroup: /system.slice/firewalld.service

?└─802 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid


Apr 07 18:54:25 localhost.localdomain systemd[1]: Starting firewalld - dynamic firewall daemon...

Apr 07 18:54:29 localhost.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.

[root@localhost /]# systemctl stop firewalld.service  #關(guān)閉防火墻

[root@localhost /]# systemctl status firewalld.service  #再次查看防火墻狀態(tài)智亮,發(fā)現(xiàn)已關(guān)閉

●?firewalld.service - firewalld - dynamic firewall daemon

?? Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)

Active:?inactive (dead)?since Thu 2016-04-07 21:15:34 PDT; 9s ago

?Main PID: 802 (code=exited, status=0/SUCCESS)


Apr 07 18:54:25 localhost.localdomain systemd[1]: Starting firewalld - dynamic firewall daemon...

Apr 07 18:54:29 localhost.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.

Apr 07 21:15:33 localhost systemd[1]: Stopping firewalld - dynamic firewall daemon...

Apr 07 21:15:34 localhost systemd[1]: Stopped firewalld - dynamic firewall daemon.

[root@localhost /]# systemctl disable firewalld.service  #禁止使用防火墻(重啟也是禁止的)

Removed symlink /etc/systemd/system/dbus-org.Fedoraproject.FirewallD1.service.

Removed symlink /etc/systemd/system/basic.target.wants/firewalld.service.

[root@localhost /]#



1.1.7 ???? 禁用selinux

修改/etc/selinux/config

編輯文本中的SELINUX=enforcing為SELINUX=disabled

[root@OCPLHR ~]# vi /etc/selinux/config

[root@OCPLHR ~]# more /etc/selinux/config

# 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 - SELinux is fully disabled.

SELINUX=disabled

# SELINUXTYPE= type of policy in use. Possible values are:

#?????? targeted - Only targeted network daemons are protected.

#?????? strict - Full SELinux protection.

SELINUXTYPE=targeted

[root@OCPLHR ~]# /usr/sbin/sestatus -v

SELinux status: ????????????????disabled

[root@OCPLHR ~]#? getenforce

Disabled


臨時(shí)關(guān)閉(不用重啟機(jī)器):setenforce 0

查看SELinux狀態(tài):

1、/usr/sbin/sestatus -v ?##如果SELinux status參數(shù)為enabled即為開啟狀態(tài)

SELinux status: ?enabled

2点待、getenforce ?##也可以用這個(gè)命令檢查



1.2 ?新建用戶和組

The Oracle Inventory group (oinstall)?數(shù)據(jù)庫安裝組

The OSDBA group (dba)?數(shù)據(jù)庫管理員組

The Oracle software owner (oracle)?管理員用戶



groupadd oinstall

groupadd dba

useradd -g oinstall -G dba -m? oracle

passwd oracle


-m 表示為用戶oracle 新建一個(gè)根目錄

-g 表示為用戶指定一個(gè)主group

-G 表示為用戶指定一個(gè)副group

這樣oracle既屬于oinstall組也屬于dba組阔蛉。

平時(shí)主要是oinstall組發(fā)生作用。

[root@localhost ~]# id oracle

uid=501(oracle) gid=501(oinstall) groups=501(oinstall),502(dba) context=root:system_r:unconfined_t:SystemLow-SystemHigh


1.2.1 ???? 配置用戶的環(huán)境變量

vi /home/oracle/.bash_profile

umask 022

export ORACLE_SID=orcl

export ORACLE_BASE=/u01/app/oracle

export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1

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

export NLS_DATE_FORMAT="YYYY-MM-DD HH24:MI:SS"

export TMP=/tmp

export TMPDIR=$TMP

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



export EDITOR=vi

export TNS_ADMIN=$ORACLE_HOME/network/admin

export ORACLE_PATH=.:$ORACLE_BASE/dba_scripts/sql:$ORACLE_HOME/rdbms/admin

export SQLPATH=$ORACLE_HOME/sqlplus/admin



#export NLS_LANG="SIMPLIFIED CHINESE_CHINA.ZHS16GBK" --AL32UTF8 SELECT userenv('LANGUAGE') db_NLS_LANG FROM DUAL;

export NLS_LANG="AMERICAN_CHINA.ZHS16GBK"


alias sas='sqlplus / as sysdba'


#export PS1="[\u@\h-\`echo \$ORACLE_SID\` \W]$ "

#export PS1='[$LOGNAME@'`hostname`:'$PWD'']# '


1.3 ?新建安裝目錄

mkdir? -p? /u01/app/oracle

chown -R? oracle:oinstall? /u01/app

chmod? -R? 775? /u01/app



1.4 準(zhǔn)備oracle安裝文件


1.4.1 ???? 拷貝安裝文件

[root@localhost ~]# mkdir -p /soft

[root@localhost ~]# chmod 777 /soft



可以直接拷貝亦鳞,也可以用SecureFX馍忽、XFTP軟件等方式拷貝到/soft目錄下:

1.4.1.1 ??? 計(jì)算MD5值

安裝文件MD5

p10404530_112030_Linux-x86-64_1of7.zipbd bf 8e 26 36 63 21 4d c6 0b 0f de f5 a3 0b 0a

p10404530_112030_Linux-x86-64_2of7.zipe5 6b 3d 9c 6b c5 4b 77 17 e1 4b 6c 54 9c ef 9e

p10404530_112030_Linux-x86-64_3of7.zip69 5c ba d7 44 75 22 39 c7 64 87 e3 24 f7 b1 ab


[root@OCPLHR soft]# md5sum p10404530_112030_Linux-x86-64_1of7.zip

bdbf8e263663214dc60b0fdef5a30b0a? p10404530_112030_Linux-x86-64_1of7.zip


[root@OCPLHR soft]# md5sum p10404530_112030_Linux-x86-64_2of7.zip

e56b3d9c6bc54b7717e14b6c549cef9e? p10404530_112030_Linux-x86-64_2of7.zip

[root@OCPLHR soft]#

[root@OCPLHR soft]#

[root@OCPLHR soft]# md5sum p10404530_112030_Linux-x86-64_3of7.zip?

695cbad744752239c76487e324f7b1ab? p10404530_112030_Linux-x86-64_3of7.zip




D:\Users\xiaomaimiao>certutil -hashfile "G:\安裝文件\數(shù)據(jù)庫\Oracle\oracle db安裝\11.2.0.3\11.2.0.3_linux\64位\p10404530_112030_Linux-x86-64_1of7.zip" MD5

MD5?哈希(文件?G:\安裝文件\數(shù)據(jù)庫\Oracle\oracle db?安裝\11.2.0.3\11.2.0.3_linux\64位\p10404530_112030_Linux-x86-64_1of7.zip):

bd bf 8e 26 36 63 21 4d c6 0b 0f de f5 a3 0b 0a

CertUtil: -hashfile?命令成功完成棒坏。


D:\Users\xiaomaimiao>certutil -hashfile "G:\安裝文件\數(shù)據(jù)庫\Oracle\oracle db安裝\11.2.0.3\11.2.0.3_linux\64位\p10404530_112030_Linux-x86-64_2of7.zip" MD5

MD5?哈希(文件?G:\安裝文件\數(shù)據(jù)庫\Oracle\oracle db?安裝\11.2.0.3\11.2.0.3_linux\64位\p10404530_112030_Linux-x86-64_2of7.zip):

e5 6b 3d 9c 6b c5 4b 77 17 e1 4b 6c 54 9c ef 9e

CertUtil: -hashfile?命令成功完成。


D:\Users\xiaomaimiao>certutil -hashfile "G:\安裝文件\數(shù)據(jù)庫\Oracle\oracle db安裝\11.2.0.3\11.2.0.3_linux\64位\p10404530_112030_Linux-x86-64_3of7.zip" MD5

MD5?哈希(文件?G:\安裝文件\數(shù)據(jù)庫\Oracle\oracle db?安裝\11.2.0.3\11.2.0.3_linux\64位\p10404530_112030_Linux-x86-64_3of7.zip):

69 5c ba d7 44 75 22 39 c7 64 87 e3 24 f7 b1 ab

CertUtil: -hashfile?命令成功完成遭笋。




1.4.2 ???? 解壓安裝文件

[root@OCPLHR soft]# ll

total 3401656

drwx------ 2 root root????? 16384 Jan? 5 14:42 lost+found

-rw-r--r-- 1 root root 1358454646 Dec 14? 2011 p10404530_112030_Linux-x86-64_1of7.zip

-rw-r--r-- 1 root root 1142195302 May 25? 2012 p10404530_112030_Linux-x86-64_2of7.zip

-rw-r--r-- 1 root root? 979195792 May 26? 2012 p10404530_112030_Linux-x86-64_3of7.zip

[root@OCPLHR soft]# chmod 777 *

[root@OCPLHR soft]# ll

total 3401656

drwxrwxrwx 2 root root????? 16384 Jan? 5 14:42 lost+found

-rwxrwxrwx 1 root root 1358454646 Dec 14? 2011 p10404530_112030_Linux-x86-64_1of7.zip

-rwxrwxrwx 1 root root 1142195302 May 25? 2012 p10404530_112030_Linux-x86-64_2of7.zip

-rwxrwxrwx 1 root root? 979195792 May 26? 2012 p10404530_112030_Linux-x86-64_3of7.zip



解壓oracle安裝文件包:如果不想輸出信息坝冕,則可以加上?“>? /dev/null 2>&1”,-d表示解壓到的目錄:

unzip p10404530_112030_Linux-x86-64_1of7.zip? -d /tmp >? /dev/null 2>&1 && unzip p10404530_112030_Linux-x86-64_2of7.zip? -d /tmp? >? /dev/null 2>&1



unzip? p10404530_112030_Linux-x86-64_1of7.zip >? /dev/null 2>&1? && unzip p10404530_112030_Linux-x86-64_2of7.zip > /dev/null 2>&1

切換到oracle用戶瓦呼,圖形界面登錄喂窟,執(zhí)行oracle安裝文件

[root@OCPLHR soft]# su - oracle

[oracle@OCPLHR ~]$ cd /soft/

[oracle@OCPLHR soft]$ ll

total 3401656

drwxrwxrwx 2 root root????? 16384 Jan? 5 14:42 lost+found

-rwxrwxrwx 1 root root 1358454646 Dec 14? 2011 p10404530_112030_Linux-x86-64_1of7.zip

-rwxrwxrwx 1 root root 1142195302 May 25? 2012 p10404530_112030_Linux-x86-64_2of7.zip

-rwxrwxrwx 1 root root? 979195792 May 26? 2012 p10404530_112030_Linux-x86-64_3of7.zip

[oracle@OCPLHR soft]$ ll

total 3401664

drwxrwxrwx 2 root?? root????????? 16384 Jan? 5 14:42 lost+found

-rwxrwxrwx 1 root?? root???? 1358454646 Dec 14? 2011 p10404530_112030_Linux-x86-64_1of7.zip

-rwxrwxrwx 1 root?? root???? 1142195302 May 25? 2012 p10404530_112030_Linux-x86-64_2of7.zip

-rwxrwxrwx 1 root?? root????? 979195792 May 26? 2012 p10404530_112030_Linux-x86-64_3of7.zip

[oracle@OCPLHR soft]$ unzip? p10404530_112030_Linux-x86-64_1of7.zip >? /dev/null 2>&1? && unzip p10404530_112030_Linux-x86-64_2of7.zip >? /dev/null 2>&1?????????????????????????????????????????????????

[oracle@OCPLHR soft]$ ll

total 3401664

drwxr-xr-x 8 oracle oinstall?????? 4096 Sep 22? 2011 database

drwxrwxrwx 2 root?? root????????? 16384 Jan? 5 14:42 lost+found

-rwxrwxrwx 1 root?? root???? 1358454646 Dec 14? 2011 p10404530_112030_Linux-x86-64_1of7.zip

-rwxrwxrwx 1 root?? root???? 1142195302 May 25? 2012 p10404530_112030_Linux-x86-64_2of7.zip

-rwxrwxrwx 1 root?? root????? 979195792 May 26? 2012 p10404530_112030_Linux-x86-64_3of7.zip

[oracle@OCPLHR soft]$ du -sh database

2.5G??? database

[oracle@OCPLHR soft]$ cd database/

[oracle@OCPLHR database]$ ll

total 100

drwxr-xr-x 12 oracle oinstall? 4096 Sep 19? 2011 doc

drwxr-xr-x? 4 oracle oinstall? 4096 Sep 22? 2011 install

-rwxr-xr-x? 1 oracle oinstall 28122 Sep 22? 2011 readme.html

drwxr-xr-x? 2 oracle oinstall? 4096 Sep 22? 2011 response

drwxr-xr-x? 2 oracle oinstall? 4096 Sep 22? 2011 rpm

-rwxr-xr-x? 1 oracle oinstall? 3226 Sep 22? 2011 runInstaller

drwxr-xr-x? 2 oracle oinstall? 4096 Sep 22? 2011 sshsetup

drwxr-xr-x 14 oracle oinstall? 4096 Sep 22? 2011 stage

-rwxr-xr-x? 1 oracle oinstall? 5466 Aug 23? 2011 welcome.html



1.5 ?開始靜默安裝


可以只執(zhí)行一條命令即可安裝完成數(shù)據(jù)庫軟件的部署:

/soft/database/runInstaller -silent? -force -noconfig -IgnoreSysPreReqs -ignorePrereq? -showProgress \

oracle.install.option=INSTALL_DB_SWONLY \

DECLINE_SECURITY_UPDATES=true \

UNIX_GROUP_NAME=oinstall \

INVENTORY_LOCATION=/u01/app/oraInventory \

SELECTED_LANGUAGES=en \

ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 \

ORACLE_BASE=/u01/app/oracle \

oracle.install.db.InstallEdition=EE \

oracle.install.db.isCustomInstall=false \

oracle.install.db.DBA_GROUP=dba \

oracle.install.db.OPER_GROUP=dba \

oracle.install.db.isRACOneInstall=false \

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

SECURITY_UPDATES_VIA_MYORACLESUPPORT=false \

oracle.installer.autoupdates.option=SKIP_UPDATES



[root@localhost ~]# su - oracle

Last login: Wed Feb? 7 08:48:45 PST 2018 on pts/3

[oracle@localhost ~]$ cd /soft/

[oracle@localhost soft]$ ll

total 2442048

drwxr-xr-x. 8 oracle oinstall?????? 4096 Sep 22? 2011 database

-rw-r--r--. 1 root?? root???? 1358454646 Dec 13? 2011 p10404530_112030_Linux-x86-64_1of7.zip

-rw-r--r--. 1 root?? root???? 1142195302 May 25? 2012 p10404530_112030_Linux-x86-64_2of7.zip

[oracle@localhost soft]$ cd database/

[oracle@localhost database]$ ll

total 52

drwxr-xr-x. 12 oracle oinstall? 4096 Sep 18? 2011 doc

drwxr-xr-x.? 4 oracle oinstall? 4096 Sep 22? 2011 install

-rwxr-xr-x.? 1 oracle oinstall 28122 Sep 22? 2011 readme.html

drwxr-xr-x.? 2 oracle oinstall??? 58 Sep 22? 2011 response

drwxr-xr-x.? 2 oracle oinstall??? 33 Sep 22? 2011 rpm

-rwxr-xr-x.? 1 oracle oinstall? 3226 Sep 22? 2011 runInstaller

drwxr-xr-x.? 2 oracle oinstall??? 28 Sep 22? 2011 sshsetup

drwxr-xr-x. 14 oracle oinstall? 4096 Sep 22? 2011 stage

-rwxr-xr-x.? 1 oracle oinstall? 5466 Aug 22? 2011 welcome.html

[oracle@localhost database]$ /soft/database/runInstaller -silent? -force -noconfig -IgnoreSysPreReqs -ignorePrereq? -showProgress \

> oracle.install.option=INSTALL_DB_SWONLY \

> DECLINE_SECURITY_UPDATES=true \

> UNIX_GROUP_NAME=oinstall \

> INVENTORY_LOCATION=/u01/app/oraInventory \

> SELECTED_LANGUAGES=en \

> ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 \

> ORACLE_BASE=/u01/app/oracle \

> oracle.install.db.InstallEdition=EE \

> oracle.install.db.isCustomInstall=false \

> oracle.install.db.DBA_GROUP=dba \

> oracle.install.db.OPER_GROUP=dba \

> oracle.install.db.isRACOneInstall=false \

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

> SECURITY_UPDATES_VIA_MYORACLESUPPORT=false \

> oracle.installer.autoupdates.option=SKIP_UPDATES

Starting Oracle Universal Installer...


Checking Temp space: must be greater than 120 MB.?? Actual 91506 MB??? Passed

Checking swap space: must be greater than 150 MB.?? Actual 1586 MB??? Passed

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2018-02-07_08-58-36AM. Please wait ...[oracle@localhost database]$ You can find the log of this install session at:

?/u01/app/oraInventory/logs/installActions2018-02-07_08-58-36AM.log


Prepare in progress.

..................................................?? 9% Done.


Prepare successful.


Copy files in progress.

..................................................?? 14% Done.

..................................................?? 20% Done.

..................................................?? 26% Done.

..................................................?? 31% Done.

..................................................?? 36% Done.

..................................................?? 44% Done.

..................................................?? 49% Done.

..................................................?? 55% Done.

..................................................?? 63% Done.

..................................................?? 68% Done.

..................................................?? 73% Done.

..................................................?? 78% Done.

..................................................?? 83% Done.

..............................

Copy files successful.


Link binaries in progress.

..........

Link binaries successful.


Setup files in progress.

..................................................?? 88% Done.

..................................................?? 94% Done.


Setup files successful.

The installation of Oracle Database 11g was successful.

Please check '/u01/app/oraInventory/logs/silentInstall2018-02-07_08-58-36AM.log' for more details.


Execute Root Scripts in progress.


As a root user, execute the following script(s):

??????? 1. /u01/app/oraInventory/orainstRoot.sh

??????? 2. /u01/app/oracle/product/11.2.0/dbhome_1/root.sh



..................................................?? 100% Done.


Execute Root Scripts successful.

Successfully Setup Software.


[oracle@localhost database]$



[root@localhost ~]# /u01/app/oraInventory/orainstRoot.sh

Changing permissions of /u01/app/oraInventory.

Adding read,write permissions for group.

Removing read,write,execute permissions for world.


Changing groupname of /u01/app/oraInventory to oinstall.

The execution of the script is complete.

[root@localhost ~]# /u01/app/oracle/product/11.2.0/dbhome_1/root.sh

Check /u01/app/oracle/product/11.2.0/dbhome_1/install/root_localhost.localdomain_2018-02-07_09-10-23.log for the output of root script

[root@localhost ~]#

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個(gè)濱河市央串,隨后出現(xiàn)的幾起案子磨澡,更是在濱河造成了極大的恐慌,老刑警劉巖质和,帶你破解...
    沈念sama閱讀 207,248評(píng)論 6 481
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件稳摄,死亡現(xiàn)場離奇詭異,居然都是意外死亡饲宿,警方通過查閱死者的電腦和手機(jī)厦酬,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 88,681評(píng)論 2 381
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來瘫想,“玉大人仗阅,你說我怎么就攤上這事」梗” “怎么了减噪?”我有些...
    開封第一講書人閱讀 153,443評(píng)論 0 344
  • 文/不壞的土叔 我叫張陵,是天一觀的道長车吹。 經(jīng)常有香客問我筹裕,道長,這世上最難降的妖魔是什么礼搁? 我笑而不...
    開封第一講書人閱讀 55,475評(píng)論 1 279
  • 正文 為了忘掉前任饶碘,我火速辦了婚禮目尖,結(jié)果婚禮上馒吴,老公的妹妹穿的比我還像新娘。我一直安慰自己瑟曲,他們只是感情好饮戳,可當(dāng)我...
    茶點(diǎn)故事閱讀 64,458評(píng)論 5 374
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著洞拨,像睡著了一般扯罐。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上烦衣,一...
    開封第一講書人閱讀 49,185評(píng)論 1 284
  • 那天歹河,我揣著相機(jī)與錄音掩浙,去河邊找鬼。 笑死秸歧,一個(gè)胖子當(dāng)著我的面吹牛厨姚,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播键菱,決...
    沈念sama閱讀 38,451評(píng)論 3 401
  • 文/蒼蘭香墨 我猛地睜開眼谬墙,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了经备?” 一聲冷哼從身側(cè)響起拭抬,我...
    開封第一講書人閱讀 37,112評(píng)論 0 261
  • 序言:老撾萬榮一對情侶失蹤,失蹤者是張志新(化名)和其女友劉穎侵蒙,沒想到半個(gè)月后造虎,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 43,609評(píng)論 1 300
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡纷闺,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 36,083評(píng)論 2 325
  • 正文 我和宋清朗相戀三年累奈,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片急但。...
    茶點(diǎn)故事閱讀 38,163評(píng)論 1 334
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡澎媒,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出波桩,到底是詐尸還是另有隱情戒努,我是刑警寧澤,帶...
    沈念sama閱讀 33,803評(píng)論 4 323
  • 正文 年R本政府宣布镐躲,位于F島的核電站储玫,受9級(jí)特大地震影響,放射性物質(zhì)發(fā)生泄漏萤皂。R本人自食惡果不足惜撒穷,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 39,357評(píng)論 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望裆熙。 院中可真熱鬧端礼,春花似錦、人聲如沸入录。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,357評(píng)論 0 19
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽僚稿。三九已至凡桥,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間蚀同,已是汗流浹背缅刽。 一陣腳步聲響...
    開封第一講書人閱讀 31,590評(píng)論 1 261
  • 我被黑心中介騙來泰國打工啊掏, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人衰猛。 一個(gè)月前我還...
    沈念sama閱讀 45,636評(píng)論 2 355
  • 正文 我出身青樓脖律,卻偏偏與公主長得像,于是被迫代替她去往敵國和親腕侄。 傳聞我的和親對象是個(gè)殘疾皇子小泉,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 42,925評(píng)論 2 344

推薦閱讀更多精彩內(nèi)容