在RHEL5.5x64上安裝Oracle10gR2的簡單步驟
Requirements For Installing Oracle10gR2 On RHEL 5/OEL 5 (x86_64) [ID 421308.1]
1. Hardware Requirements
i) Physical Memory
# grep MemTotal /proc/meminfo
ii) Swap Space
# grep SwapTotal /proc/meminfo
2. Kernel Requirements
# uname -r
The system must be running the following kernel version (or a later version)
2.6.18-8
SELinux
disable
3. Installing required packages
rpm -qa | grep binutils-2.17.50.0.6-2 (x86_64)
rpm -qa | grep compat-db-4.2.52-5.1 (x86_64)
rpm -qa | grep compat-libstdc++-296-2.96-138 (i386)
rpm -qa | grep compat-libstdc++-33-3.2.3-61(x86_64)
rpm -qa | grep compat-libstdc++-33-3.2.3-61 (i386)
rpm -qa | grep control-center-2.16.0-14 (x86_64)
rpm -qa | grep gcc-4.1.1-52 (x86_64)
rpm -qa | grep gcc-c++-4.1.1-52 (x86_64)
rpm -qa | grep glibc-2.5-12 (x86_64)
rpm -qa | grep glibc-2.5-12 (i686)
rpm -qa | grep glibc-common-2.5-12 (x86_64)
rpm -qa | grep glibc-devel-2.5-12 (x86_64)
rpm -qa | grep glibc-devel-2.5-12 (i386) 需要安裝
rpm -qa | grep glibc-headers-2.5-12 (x86_64)
rpm -qa | grep ksh-20060214-1.4 (x86_64)
rpm -qa | grep libaio-0.3.106-3.2 (x86_64)
rpm -qa | grep libgcc-4.1.1-52 (i386)
rpm -qa | grep libgcc-4.1.1-52 (x86_64)
rpm -qa | grep libgnome-2.16.0-6 (x86_64)
rpm -qa | grep libgnomeui-2.16.0-5 (x86_64)
rpm -qa | grep libgomp-4.1.1-52 (x86_64)
rpm -qa | grep libstdc++-4.1.1-52 (x86_64)
rpm -qa | grep libstdc++-devel-4.1.1-52 (x86_64)
rpm -qa | grep libXp-1.0.0-8 (i386)
rpm -qa | grep libXtst-1.0.1-3.1(i386)
rpm -qa | grep make-3.81-1.1 (x86_64)
rpm -qa | grep sysstat-7.0.0-3 (x86_64)
4.Set the kernel parameters
/etc/sysctl.conf檔案中增加
kernel.shmall = physical RAM size / pagesize For most systems, this will be the value 2097152. See Note 301830.1 for more information.
kernel.shmmax = 1/2 of physical RAM. This would be the value 2147483648 for a system with 4Gb of physical RAM.
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 2097152
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
5. Create Oracle user and groups
# groupadd oinstall
# groupadd dba
# useradd -g oinstall -G dba oracle
# passwd oracle
6. Create the required directories for Oracle database and change the ownership
# mkdir -p /u01/app/oracle
# chown -R oracle:oinstall /u01/app/oracle
7. Set the session limits for Oracle user
Add the following lines to the /etc/security/limits.conf file
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
Add the following line in the /etc/pam.d/login file
session required pam_limits.so
Add the following lines to the /etc/profile.
if [ $USER = "oracle" ]; then
ulimit -u 16384
ulimit -n 65536
fi
8. Configure the Oracle user's environment
For example, if oracle user is using bash shell, and has the home directory as /home/oracle,
The following lines to be added to /home/oracle/.bash_profile
export ORACLE_BASE=/u01/app/oracle
export ORACLE_SID=orcl
export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
9. The gcc-4.1.1 and gcc-c++-4.1.1 RPM items above will ensure that the correct gcc / g++ versions are installed.
It is also required that you ensure that these correct gcc / g++ versions are active, and in-use.
Ensure that the commands "gcc --version" and "g++ --version" each return "4.1.x".
修改 vi /etc/redhat-release ,原為5.5
改為
[root@gg1 Server]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 4 (Tikanga)
10. Invoking OUI
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/161195/viewspace-1055846/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 簡單oracle安裝步驟Oracle
- Nsca安裝簡單步驟
- 在redhat5.6上安裝oracle 10g(簡單基礎步驟)RedhatOracle 10g
- 管家婆簡單安裝步驟
- hadoop的Linux下簡單安裝步驟HadoopLinux
- vnc安裝步驟,4個在Linux下vnc的個安裝步驟VNCLinux
- Linux下編譯安裝Mysql 5.5的簡單步驟Linux編譯MySql
- windows下安裝laravel簡單步驟以及碰到的問題WindowsLaravel
- PostgreSQL簡介及安裝步驟SQL
- git上傳github簡單操作步驟Github
- xftp安裝步驟,xftp安裝的2大步驟FTP
- ORACLE在linux下的安裝步驟OracleLinux
- vnc安裝步驟,vnc安裝步驟詳解VNC
- charles的安裝步驟
- 安裝jdk的步驟JDK
- GreenPlum的安裝步驟
- CentOS 7上安裝WordPress詳細步驟CentOS
- STF 安裝步驟
- php安裝步驟PHP
- oracle 安裝步驟Oracle
- [ 安裝 ] Zeppelin安裝步驟!
- Mongoose簡單使用步驟Go
- linux下安裝redis 單節點安裝操作步驟LinuxRedis
- 在Linux系統安裝flash的步驟方法Linux
- Nagios的安裝步驟iOS
- CentOS7上安裝WordPress詳細步驟CentOS
- BAPI的簡單實現步驟API
- CentOs Solr6.2.1單機安裝部署步驟CentOSSolr
- windows安裝cnpm步驟WindowsNPM
- zookeeper安裝部署步驟
- Iris 框架安裝步驟框架
- anaconda安裝步驟
- Linux 安裝步驟Linux
- Nagios安裝步驟iOS
- Sublime Text安裝步驟
- Centos安裝tmux步驟CentOSUX
- php安裝步驟(正式)PHP
- Ubuntu安裝cacti步驟Ubuntu