快速安裝CentOS4.7+Oracle 11g
一、安裝虛擬機器
二、安裝CentOS
============================
編輯主機名
vi /etc/hosts
172.16.99.195 oracleasm
=============================
設定開機用文字形式
vi /etc/inittab
3
=============================
檢視安裝軟體包 CenOS4.7
============================
binutils-2.15.92.0.2-18
compat-libstdc++-33.2.3-47.3
elfutils-libelf-0.97-5
elfutils-libelf-devel-0.97-5
glibc-2.3.4-2.19
glibc-common-2.3.4-2.19
glibc-devel-2.3.4-2.19
glibc-headers-2.3.4-2.19
gcc-3.4.5-2
gcc-c++-3.4.5-2
libaio-devel-0.3.105-2
libaio-0.3.105-2
libgcc-3.4.5
libstdc++-3.4.5-2
libstdc++-devel-3.4.5-2
make-3.80-5
sysstat-5.0.5
unixODBC-2.2.11
unixODBC-devel-2.2.11
============================
vi /etc/sysctl.conf
kernel.shmall = 2097152
kernel.shmmax = 2147483648
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 = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 262144
執行生效:/sbin/sysctl -p
==============================
vi /etc/security/limits.conf
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
===============================
vi /etc/pam.d/login
session required /lib/security/pam_limits.so
session required pam_limits.so
==============================
vi /etc/profile
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
===============================
groupadd oinstall
groupadd dba
cd /
mkdir -p /u01/oracle
useradd -g oinstall -G dba -d /u01/oracle oracle
passwd oracle
oracle
oracle
chown -R oracle:oinstall u01
==============================
vi. bash_profile
ORACLE_BASE=/u01
ORACLE_HOME=$ORACLE_BASE/oracle
ORACLE_SID=snowdb
PATH=$ORACLE_HOME/bin:$PATH
NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
export ORACLE_BASE ORACLE_HOME ORACLE_SID PATH NLS_LANG
三、安裝Oracle 11g
[@more@]測試。。。來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15242702/viewspace-1027147/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle安裝部署之linux(redhat/centos)快速安裝oracle 11g racOracleLinuxRedhatCentOS
- as 5安裝11g
- FIBOS快速安裝
- CentOS 快速安裝pipCentOS
- Oracle 11G 安裝文件Oracle
- Oracle 11g解除安裝Oracle
- AIX 安裝 11g RACAI
- RedHat 安裝11g racRedhat
- 安裝Oracle RAC 11gOracle
- ORACLE 11G 安裝注意Oracle
- Linux平臺Oracle 11g單例項 安裝部署配置快速參考LinuxOracle單例
- 快速手動安裝 msyql
- 快速安裝python包Python
- Jenkins快速上手安裝Jenkins
- 快速安裝 kafka 叢集Kafka
- 快速安裝Docker服務Docker
- Oracle 11G 安裝 bbed 工具Oracle
- ubuntu中安裝oracle 11gUbuntuOracle
- Oracle 11g 靜默安裝Oracle
- Oraclegoldengate 11g安裝OracleGo
- 11G RAC NFS安裝文件NFS
- 11g解除安裝指令碼指令碼
- oracle 11g安裝報錯Oracle
- ORACLE 11G完美解除安裝Oracle
- Oracle 11g for linux 安裝OracleLinux
- 【11g 單庫解除安裝、靜默安裝】實驗
- Centos7快速安裝RocketMQCentOSMQ
- centos7快速安裝dockerCentOSDocker
- Rust語言快速安裝指南Rust
- Spark 安裝部署與快速上手Spark
- 快速進行安裝工作(轉)
- 快速解除安裝 Windows 98(轉)Windows
- rhel7 安裝11g rac
- oracle 11g 單例項安裝Oracle單例
- linux下安裝oracle 11gLinuxOracle
- 使用silent模式安裝Oracle 11g模式Oracle
- Solaris 10上安裝Oracle 11gOracle
- Oracle 11g Database靜默安裝OracleDatabase