REDHAT AS4U4下安裝ORACLE10G(10201)FOR LINUX32
REDHAT AS4U4下安裝ORACLE10G(10201)FOR LINUX32
[@more@]一、安裝作業系統
安裝REDHAT AS4U4作業系統,推薦完全安裝,省卻重新安裝ORALCE需要的一些包。
二、安裝ORALCE資料庫
1、 檢查系統環境
所需最小 RAM 為 512MB,而所需最小交換空間為 1GB。對於 RAM 小於或等於 2GB 的系統,交換空間應為 RAM 數量的兩倍;對於 RAM 大於 2GB 的系統,交換空間應為 RAM 數量的一到兩倍。 Oracle 10g 軟體還需要 2.5GB 的可用磁碟空間,而資料庫則另需 1.2GB 的可用磁碟空間。/tmp 目錄至少需要 400MB 的可用空間。要檢查系統上的可用磁碟空間,執行以下命令
[root@test-server home]# grep MemTotal /proc/meminfo
MemTotal: 498928 kB
[root@test-server home]# grep SwapTotal /proc/meminfo
SwapTotal: 1044184 kB
[root@test-server home]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 9.9G 6.5G 3.0G 69% /
/dev/hda1 981M 21M 911M 3% /boot
none 244M 0 244M 0% /dev/shm
/dev/hda2 62G 1.4G 58G 3% /home
2、 建立使用者和組
[root@test-server home]# groupadd oinstall
[root@test-server home]# groupadd dba
[root@test-server home]# useradd -m -g oinstall -G dba oracle
[root@test-server home]# id oracle
uid=500(oracle) gid=500(oinstall) groups=500(oinstall),501(dba)
[root@test-server home]# 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@test-server home]#
3、 配置LINUX核心引數
[root@test-server home]# vi /etc/sysctl.conf
在檔案末尾新增以下內容:
kernel.shmall = 2097152
kernel.shmmax = 536870912 ------------實體記憶體的一半
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144
4、 為ORACLE使用者設定SHELL限制(Oracle 建議對每個 Linux 帳戶可以使用的程式數和開啟的檔案數設定限制)
[root@test-server home]# vi /etc/security/limits.conf
新增以下內容
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
[root@test-server home]# vi /etc/pam.d/login
新增以下內容
session required /lib/security/pam_limits.so
5、 配置ORACLE使用者環境變數
[root@test-server home]# su - oracle
[oracle@test-server ~]$ vi .bash_profile
新增如下內容
export ORACLE_BASE=/home/oracle
export ORACLE_HOME=/home/oracle/ora10g
export PATH=$ORACLE_HOME/bin:$PATH
export ORACLE_SID=test
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH:/usr/lib:/usr/local/lib
export LC=en_US
NLS_LANG="simplified chinese"_china.zhs16gbk
export NLS_LANG
DISPLAY=192.168.0.64:0.0
export DISPLAY
6、 開始安裝ORACLE 10G DATABASE
首先以ROOT使用者執行
[root@test-server home]# xhost +192.168.0.64 ------此步驟非常重要,否則可能會出現不能啟動圖形介面的現象
xhost: unable to open display ""
切換到ORACLE使用者,轉到安裝程式所在目錄,啟動資料庫的安裝
[root@test-server ~]# su - oracle
[oracle@test-server ~]$ cd /home/database/
[oracle@test-server database]$ ./runInstaller
10g的安裝相比以前的多了一個 Product-Specific Prerequisite Checks 的步驟。特別實用。
安裝檔案會自動檢測所需的條件。如果有不符合的地方,安裝程式會報告給你.並會給出具體原因。大大減少了出錯的可能.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/570433/viewspace-988991/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Redhat 7 下安裝達夢7Redhat
- redhat 5.4下安裝MYSQL全過程RedhatMySql
- redhat安裝dockerRedhatDocker
- Centos7或RedHat7下安裝MysqlCentOSRedhatMySql
- redhat7.4下離線安裝MHA0.58Redhat
- 在Linux(Redhat/CentOS)下安裝MySQL之yum(rpm)線上安裝方式LinuxRedhatCentOSMySql
- 在Linux(Redhat/CentOS)下安裝MySQL之yum(rpm)離線安裝方式LinuxRedhatCentOSMySql
- Linux(01):RedHat 7.6 安裝LinuxRedhat
- centOS(同redhat)安裝 dockerCentOSRedhatDocker
- Mac VirtualBox 7.0 下安裝Redhat 8.5虛擬機器MacRedhat虛擬機
- RedHat FC5安裝xmmsRedhat
- PostgreSQL:Redhat 8.5 + PostgreSQL 14.5 安裝SQLRedhat
- RedHat 7.6作業系統安裝Redhat作業系統
- RedHat上靜默安裝Oracle11gRedhatOracle
- redhat7.2靜默安裝Oracle11.2.0.4RedhatOracle
- redhat7.6安裝Oracle11G RACRedhatOracle
- REDHAT AS4U4 的/var/log/secure中會出現重複登陸記錄的BUGRedhat
- vmware + 裸裝置 + crs + oracle10g RAC搭建步驟(二):安裝linuxOracleLinux
- SYBASE12.5.2 FOR REDHAT AS4.0 安裝步驟(zt)Redhat
- RedHat 7 靜默安裝Oracle11g的補充RedhatOracle
- Oracle:Redhat 7 + Oracle RAC 11g 安裝 bug 總結OracleRedhat
- RedHat Advance Server上安裝Oracle 9204 RAC參考手冊(轉)RedhatServerOracle
- RedHat7.4安裝在個人電腦(筆記本)中安裝遇到的問題總結Redhat筆記
- linux下安裝snap安裝工具Linux
- redhat 7.4安裝mysql 8.0.18 source code原始碼的一些思考RedhatMySql原始碼
- Vmware linux redhat6.4 安裝11g(11.2.0.1) 雙節點RACLinuxRedhat
- Python 開發環境搭建(02):Python 3.7 + Redhat 7 原始碼安裝Python開發環境Redhat原始碼
- [重慶思莊每日技術分享]-Redhat Linux 6.5安裝ORACLE ASMLIBRedhatLinuxOracleASM
- typora下載安裝以及notepad++下載安裝
- windows 下安裝Windows
- RedHat 7.7 平臺安裝19c(19.3) RAC 詳細操作過程Redhat
- Linux下安裝java及配置(yum安裝)LinuxJava
- jmeter下載安裝及外掛安裝JMeter
- Maven的安裝/2.2 Linux下的安裝MavenLinux
- Linux下怎麼安裝.deb格式的安裝包?Linux系統下.deb格式安裝包的安裝教程Linux
- 解決VMware安裝RedHat虛擬機器無法上網的問題Redhat虛擬機
- oracleLinux下安裝oracleOracleLinux
- Linux下安裝pymysqlLinuxMySql
- Linux下安裝jiebaLinuxJieba