oracle数据库安装步骤及配置文件
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Linux下安装oracle教程by 吴迪
1、检查系统环境
Cpu:
[root@db_master ~]# grep "model name" /proc/cpuinfo
model name : Intel(R) Core(TM) i3 CPU M 350 @ 2.27GHz
model name : Intel(R) Core(TM) i3 CPU M 350 @ 2.27GHz
model name : Intel(R) Core(TM) i3 CPU M 350 @ 2.27GHz
model name : Intel(R) Core(TM) i3 CPU M 350 @ 2.27GHz
内存:
[root@db_master ~]# grepMemTotal /proc/meminfo
MemTotal: 3264544 kB
[root@db_master ~]# grepSwapTotal /proc/meminfo
SwapTotal: 8289532 kB
内存:
[root@db_master ~]# free -g
total used free shared buffers cached
Mem: 3 0 2 0 0 0
-/+ buffers/cache: 0 3
Swap: 7 0 7
磁盘:
查看机器:
[root@db_master ~]# uname -a
Linux db_master 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64x86_64 GNU/Linux
[root@db_master ~]# more /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
2、检查安装的rpm包
检查包是否安装
[root@db_master ~]# rpm -q binutilscompat-libstdcelfutils-libelfelfutils-libelf-develgccgcc-c glibcglibc-develglibc-headers kshlibaiolibaio-devellibgcclibstdclibstdc++-devel make sysstatunixODBCunixODBC-devel
binutils-2.17.50.0.6-14.el5
packagecompat-libstdc is not installed
elfutils-libelf-0.137-3.el5
elfutils-libelf-0.137-3.el5
elfutils-libelf-devel-0.137-3.el5
gcc-4.1.2-48.el5
packagegcc-c is not installed
glibc-2.5-49
glibc-2.5-49
packageglic-devel is not installed
glibc-headers-2.5-49
ksh-20100202-1.el5
libaio-0.3.106-5
libaio-0.3.106-5
packagelibaio-devel is not installed
libgcc-4.1.2-48.el5
libgcc-4.1.2-48.el5
packagelibstdc is not installed
libstdc++-devel-4.1.2-48.el5
make-3.81-3.el5
packagesysstat is not installed
unixODBC-2.2.11-7.1
unixODBC-2.2.11-7.1
packageunixODBC-devel is not installed
安装未安装的包:如下安装方法
插入光盘:mount /dev/cdrom /mnt
cdmnt/Server
[root@localhost Server]# rpm -ivh libgomp-4.4.0-6.el5.x86_64.rpm
warning: libgomp-4.4.0-6.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:libgomp ########################################### [100%] [root@localhost Server]# rpm -ivh gcc-4.1.2-48.el5.x86_64.rpm
warning: gcc-4.1.2-48.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:gcc ########################################### [100%] [root@localhost Server]# rpm -ivhgcc-c++-4.1.2-48.el5.x86_64.rpm
warning: gcc-c++-4.1.2-48.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 error: Failed dependencies:
libstdc++-devel = 4.1.2-48.el5 is needed by gcc-c++-4.1.2-48.el5.x86_64
[root@localhost Server]# rpm -ivhlibstdc++-devel-4.1.2-48.el5.x86_64.rpm
warning: libstdc++-devel-4.1.2-48.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID