Centos5.9 安裝 64位 Oracle12c 筆記(2)

來源:互聯網
上載者:User

在本文檔中若無特特說明,centos控制台命令都以root使用者執行。

接上文繼續


4)修改系統資源參數:

   

# vim /etc/sysctl.conf

  vim開啟sysctl.conf 添加如下內容:

fs.aio-max-nr = 1048576fs.file-max = 6815744kernel.shmall = 2097152kernel.shmmax = 536870912kernel.shmmni = 4096kernel.sem = 250 32000 100 128net.ipv4.ip_local_port_range = 9000 65500net.core.rmem_default = 262144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 1048586vm.hugetlb_shm_group=54321


完成後檢查:

/sbin/sysctl -p



5)修改系統limits.conf文檔:

  用 vim 開啟 limits.conf

 

vim /etc/security/limits.conf


  添加:

 

oracle soft nofile 65536oracle hard nofile 65536oracle soft nproc 16384oracle hard nproc 16384oracle stack nproc 10240oracle stack nproc 10240


6)建立 Oracle 12c 檔案目錄及分配許可權


# mkdir -p /u01/app/# chown -R oracle:oinstall /u01/app/# chmod -R 775 /u01/app/


7)到oracle 官網下載安裝檔案:

 linuxamd64_12c_database_1of2.zip、linuxamd64_12c_database_2of2.zip 將其上傳到centos伺服器。

  linux解壓 oracle 12c 安裝文檔到 同一個檔案夾下如:database

 

# uzip linuxamd64_12c_database_1of2.zip# uzip linuxamd64_12c_database_1of2.zip


8)將解壓後的安裝檔案move到 剛建立的oracle檔案夾下,並分配許可權:


# mv database /u01/# cd /u01/# chmod -R 777 database# chown -R oracle:oinstall


未完繼續。  


相關文章

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.