在Linux虚拟机下安装Oracle 10g
一.在虚拟机上安装红帽5系统虚拟机版本:vmware workstation 7.11 build-282343红帽5版本:[红帽Linux.5.5.for.x86.服务器版].rh
一.在虚拟机上安装红帽5系统
虚拟机版本:vmware workstation 7.11 build-282343
红帽5版本:[红帽Linux.5.5.for.x86.服务器版].rhel-server-5.5-i386-dvd
(1)工具栏file→new→viutual machine来创建新的虚拟机
1.选择Typical(Recommend)选项→next
2.选择I will install the operating system later→next
3.在Guest operating system项选择Linux;在Version项选择Red Hat Enterprise Linux 5→next
4.虚拟机的名称默认即可;放置位置自己可以另选择→next
5.此页的项默认即可→next
6.点击“Customize Hardware”按钮;在“Device”列选择“New CD/DVD(IDE)”;在右侧的“Connection”里选择“Use ISO image file”,然后浏览到自己的红帽镜像所放置的位置即可→ok→finish。
(2)正式安装系统
1.Power on this virtual machine来启动安装
2.在出现的第一个静止画面点回车
3.接下来出现的用户选择界面会要求是否检查安装盘,此时“Skip”即可
4.然后正式进入图形化安装界面→next
5.语言选择界面默认即可(默认为英文)→next
6.键盘格式页面默认即可(默认为U.S.English)→next
7.Installation Number页面选择“Skip entering installation Number”→ok→Skip
8.会出现警告页面,选择Yes
9.此时进入硬盘分区界面:一般分成三个分区即可(/boot分区:100M;swap交换分区:内存的两倍;/主分区:剩余空间),在下拉列表里选择Create custom layout →next
10.此页面为硬盘分区图形化界面,点击new按钮出现ADD Partition页面,Mount Point选择/boot,其它默认(大小默认是100m)→ok;点击new按钮接着创建swap分区,此时Mount Point为空,File System Type为Swap,size设为内存的两倍大小即可;同理,创建主分区,Mount Point选择/,至于大小,直接选中“Fill to maximum allowable size”即可。→ok→next
11.此页默认→next
12.在此页可以设置网络和主机名,可以点击网络设备的Edit按钮只留下Enable IPv4 support →next
13.时区默认即可→next
14.此页为root用户设置密码,设为Oracle即可 →next
15.此页可以选择安装附加的软件包,默认即可 →next
16.正式安装前的最后一个页面 →next
17.正式启动安装......
18.安装完成要求重启 →reboot
19.初次启动并不能进入系统,还需要几步设置才可正式使用该系统
Welcome页面→next;
License Agreement页面选择“同意”→forward;
Firewall页面,在下拉列表选择disabled →forward,出现警告的话选yes;
SElinux页面,在下拉列表选择disabled →forward,出现警告的话选yes;
Kdump页面默认即可,→forward
Date and Time页面默认即可,→forward
Set Up Software Updates页面选择“No,I prefer to register at a later time”
Create User 页面,此时不用创建用户 →forward,出现警告的话选Continue
Sound Card 页面默认即可 →forward
Additional CDs页面默认即可 →finish
20.系统要求重启,此时已完成整个系统的设置,系统安装完毕
二.在系统上安装oracle数据库
(1)安装前的准备工作
1.检查硬件(内存,交换分区,tmp分区,,cpu信息,内核版本)
# grep MemTotal /proc/meminfo
# grep SwapTotal /proc/meminfo
# df -k /tmp(》400M)
# grep "model name" /proc/cpuinfo
# uname –r
2.检查所需软件包
“Asianux 3, Oracle Enterprise Linux 5, and Red Hat Enterprise Linux5”
binutils-2.17.50.0.6-2.el5 已安装
compat-libstdc++-33-3.2.3-61 未安装
elfutils-libelf-0.125-3.el5 已安装
elfutils-libelf-devel-0.125 未安装
gcc-4.1.1-52 未安装
gcc-c++-4.1.1-52 未安装
glibc-2.5-12 已安装
glibc-common-2.5-12 已安装
glibc-devel-2.5-12 未安装
glibc-headers-2.5-12 未安装
libaio-0.3.106 已安装
libaio-devel-0.3.106 未安装
libgcc-4.1.1-52 已安装
libstdc++-4.1.1 已安装
libstdc++-devel-4.1.1-52.e15 未安装
make-3.81-1.1 已安装
numactl-devel-0.9.8.i386 未安装
sysstat-7.0.0 未安装
unixODBC-2.2.11 (32 bit) or later 未安装
unixODBC-devel-2.2.11 (32 bit) or later 未安装
libXp-1.0.0-8.1.el5.i386 未安装
(#rpm –q验证是否安装;#rpm –ivh 安装包)以上包的版本号可能与实际情况不同,根据所选的镜像而定
例如要检查第一个包是否已经安装,可以 # rpm -q binutils; 结果是显示出了包的版本binutils-2.17.50.0.6-14.el5,这表明此包已经安装。
# rpm -q compat;package compat is not installed,表明此包未安装。
----“出于学习的目的,关于包的安装此处先不要管,后边在安装数据库遇到具体的错误时在安装相应的包”

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

This article addresses MySQL's "unable to open shared library" error. The issue stems from MySQL's inability to locate necessary shared libraries (.so/.dll files). Solutions involve verifying library installation via the system's package m

This article explores optimizing MySQL memory usage in Docker. It discusses monitoring techniques (Docker stats, Performance Schema, external tools) and configuration strategies. These include Docker memory limits, swapping, and cgroups, alongside

The article discusses using MySQL's ALTER TABLE statement to modify tables, including adding/dropping columns, renaming tables/columns, and changing column data types.

This article compares installing MySQL on Linux directly versus using Podman containers, with/without phpMyAdmin. It details installation steps for each method, emphasizing Podman's advantages in isolation, portability, and reproducibility, but also

This article provides a comprehensive overview of SQLite, a self-contained, serverless relational database. It details SQLite's advantages (simplicity, portability, ease of use) and disadvantages (concurrency limitations, scalability challenges). C

Article discusses configuring SSL/TLS encryption for MySQL, including certificate generation and verification. Main issue is using self-signed certificates' security implications.[Character count: 159]

This guide demonstrates installing and managing multiple MySQL versions on macOS using Homebrew. It emphasizes using Homebrew to isolate installations, preventing conflicts. The article details installation, starting/stopping services, and best pra

Article discusses popular MySQL GUI tools like MySQL Workbench and phpMyAdmin, comparing their features and suitability for beginners and advanced users.[159 characters]
