RedHat Linux 5.4_x64安裝Oracle11g-1_64筆錄

來源:互聯網
上載者:User

最近在單位一台DELL T710_x64機器上布置了一個Oracle11g-1_64,從網上查很多的資料,進行綜合才得以安裝成功,以下是安裝步驟總結,為給哪些和我一樣迷茫過的初學者提供協助,我的機器配置如下:

伺服器:DELL T710-64位

CPU:E5520 64位 ×2

記憶體:8G

硬碟:STA 1T×3塊 RAID5 2T

作業系統:RedHat linux 5.4

硬碟分區:

/         :60G

/boot/ :200m

/usr/    :30G

/swap/ :20G

/tmp/   :10G

/home/ :40G

/ora/    :120G ;oracle11g-1系統和資料檔案都在這個分區

/data/ :1.5T

.

.

以下是安裝步驟:

1. 完整安裝Redhat Linux server 5.4_X64 作業系統

(1) Oracle11g-1:下載oracle需註冊一個賬戶

http://www.oracle.com/technology/software/products/database/oracle11g/111060_linuxsoft.html

2. 修改主機設定檔(root身份)

#vi /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

#ip地址改為伺服器的地址

192.168.xx.xx           localhost

4. 修改核心參數(root身份)

#vi /etc/sysctl.conf

添加下列代碼:(我的伺服器記憶體是8G,如果小於這個數你需要修改下面的參數)

kernel.sem=250 32000 100 128   #每個訊號對象集的最大訊號對象數;系統範圍內最大訊號

net.ipv4.ip_local_port_range=1024 65000 # 應用程式可使用的IPv4連接埠範圍

net.core.rmem_default=4194304 #通訊端接收緩衝區大小的預設值

net.core.rmem_max=4194304 #通訊端接收緩衝區大小的最大值

net.core.wmem_default=262144 #通訊端發送緩衝區大小的預設值

net.core.wmem_max=262144 #通訊端發送緩衝區大小的最大值

#sysctl –p 使其生效

執行後顯示如下:

net.ipv4.ip_forward = 0

net.ipv4.conf.default.rp_filter = 1

net.ipv4.conf.default.accept_source_route = 0

kernel.sysrq = 0

kernel.core_uses_pid = 1

net.ipv4.tcp_syncookies = 1

kernel.msgmnb = 65536

kernel.msgmax = 65536

kernel.shmmax = 4294967295

kernel.shmall = 268435456

kernel.sem = 250 32000 100 128

net.ipv4.ip_local_port_range = 1024 65000

net.core.rmem_default = 4194304

net.core.rmem_max = 4194304

net.core.wmem_default = 262144

net.core.wmem_max = 262144

5. 建立oracle使用者和組

# groupadd oinstall

# groupadd dba

# groupadd oper

# useradd -g oinstall -G dba,oper oracle

# passwd oracle (設定oracle賬戶口令)

6.驗證nobody使用者:

# id nobody

顯示如下:

uid=99(nobody) gid=99(nobody) groups=99(nobody)

7.賦予.ora分區寫入許可權給oracle賬戶

#chown -R oracle:oinstall /ora

  • 1
  • 2
  • 下一頁

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.