search
HomeDatabaseMysql Tutorial在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,表明此包未安装。
----“出于学习的目的,关于包的安装此处先不要管,后边在安装数据库遇到具体的错误时在安装相应的包”

linux

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Explain the ACID properties (Atomicity, Consistency, Isolation, Durability).Explain the ACID properties (Atomicity, Consistency, Isolation, Durability).Apr 16, 2025 am 12:20 AM

ACID attributes include atomicity, consistency, isolation and durability, and are the cornerstone of database design. 1. Atomicity ensures that the transaction is either completely successful or completely failed. 2. Consistency ensures that the database remains consistent before and after a transaction. 3. Isolation ensures that transactions do not interfere with each other. 4. Persistence ensures that data is permanently saved after transaction submission.

MySQL: Database Management System vs. Programming LanguageMySQL: Database Management System vs. Programming LanguageApr 16, 2025 am 12:19 AM

MySQL is not only a database management system (DBMS) but also closely related to programming languages. 1) As a DBMS, MySQL is used to store, organize and retrieve data, and optimizing indexes can improve query performance. 2) Combining SQL with programming languages, embedded in Python, using ORM tools such as SQLAlchemy can simplify operations. 3) Performance optimization includes indexing, querying, caching, library and table division and transaction management.

MySQL: Managing Data with SQL CommandsMySQL: Managing Data with SQL CommandsApr 16, 2025 am 12:19 AM

MySQL uses SQL commands to manage data. 1. Basic commands include SELECT, INSERT, UPDATE and DELETE. 2. Advanced usage involves JOIN, subquery and aggregate functions. 3. Common errors include syntax, logic and performance issues. 4. Optimization tips include using indexes, avoiding SELECT* and using LIMIT.

MySQL's Purpose: Storing and Managing Data EffectivelyMySQL's Purpose: Storing and Managing Data EffectivelyApr 16, 2025 am 12:16 AM

MySQL is an efficient relational database management system suitable for storing and managing data. Its advantages include high-performance queries, flexible transaction processing and rich data types. In practical applications, MySQL is often used in e-commerce platforms, social networks and content management systems, but attention should be paid to performance optimization, data security and scalability.

SQL and MySQL: Understanding the RelationshipSQL and MySQL: Understanding the RelationshipApr 16, 2025 am 12:14 AM

The relationship between SQL and MySQL is the relationship between standard languages ​​and specific implementations. 1.SQL is a standard language used to manage and operate relational databases, allowing data addition, deletion, modification and query. 2.MySQL is a specific database management system that uses SQL as its operating language and provides efficient data storage and management.

Explain the role of InnoDB redo logs and undo logs.Explain the role of InnoDB redo logs and undo logs.Apr 15, 2025 am 12:16 AM

InnoDB uses redologs and undologs to ensure data consistency and reliability. 1.redologs record data page modification to ensure crash recovery and transaction persistence. 2.undologs records the original data value and supports transaction rollback and MVCC.

What are the key metrics to look for in an EXPLAIN output (type, key, rows, Extra)?What are the key metrics to look for in an EXPLAIN output (type, key, rows, Extra)?Apr 15, 2025 am 12:15 AM

Key metrics for EXPLAIN commands include type, key, rows, and Extra. 1) The type reflects the access type of the query. The higher the value, the higher the efficiency, such as const is better than ALL. 2) The key displays the index used, and NULL indicates no index. 3) rows estimates the number of scanned rows, affecting query performance. 4) Extra provides additional information, such as Usingfilesort prompts that it needs to be optimized.

What is the Using temporary status in EXPLAIN and how to avoid it?What is the Using temporary status in EXPLAIN and how to avoid it?Apr 15, 2025 am 12:14 AM

Usingtemporary indicates that the need to create temporary tables in MySQL queries, which are commonly found in ORDERBY using DISTINCT, GROUPBY, or non-indexed columns. You can avoid the occurrence of indexes and rewrite queries and improve query performance. Specifically, when Usingtemporary appears in EXPLAIN output, it means that MySQL needs to create temporary tables to handle queries. This usually occurs when: 1) deduplication or grouping when using DISTINCT or GROUPBY; 2) sort when ORDERBY contains non-index columns; 3) use complex subquery or join operations. Optimization methods include: 1) ORDERBY and GROUPB

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor