Install Oracle 10g on a Linux Virtual Machine

Source: Internet
Author: User

1. Install the Red Hat 5 system on the Virtual Machine
Virtual Machine version: vmware workstation 7.11 build-282343
Red Hat 5 version: [Red Hat Linux.5.5.for. x86. Server Edition]. rhel-server-5.5-i386-dvd
(1) file → new → viutual machine on the toolbar to create a new Virtual machine
1. Select the Typical (Recommend) Option → next
2. Select I will install the operating system later → next
3. Select Linux in the Guest operating system item; select Red Hat Enterprise Linux 5 in the Version item → next
4. The virtual machine name can be set by default. You can choose another place> next.
5. The items on this page are by default → next
6. click "Customize Hardware", select "New CD/DVD (IDE)" in the "Device" column, and select "Use ISO image file" in "Connection" on the right ", then you can browse to the location where your Red Hat image is placed → OK → finish.
(2) formally install the system
1. Power on this virtual machine to start Installation
2. Press enter on the first static screen
3. the user interface that appears next will require you to check whether the disk is installed. Then, "Skip" is enough.
4. Then enter the graphical installation interface → next
5. The language selection interface is default (English by default) → next
6. The default page in keyboard format (U. S. English by default) → next
7. On the Installation Number page, select "Skip entering installation Number" → OK → Skip
8. The warning page appears. Select Yes.
9. in this case, go to the hard disk partition page: It is generally divided into three partitions (/boot partition: 100 M; swap partition: twice the memory;/primary partition: remaining space ), select Create M layout → next from the drop-down list.
10. this page is a graphic interface for hard disk partitioning. Click the new button to display the ADD Partition page. Select "/boot" for "Mount Point". The default size is 100 mb. → "OK; click the new button to create a swap partition. The Mount Point is empty, the File System Type is Swap, And the size is set to twice the size of the memory. Similarly, you can create a primary partition, select/for the Mount Point. For the size, select "Fill to maximum allowable size. → OK → next
11. This page defaults to next
12. On this page, you can set the network and host name. You can click the Edit button of the network device to leave only Enable IPv4 support → next
13. Default Time Zone → next
14. On this page, set the password for the root user to Oracle → next
15. You can choose to install the additional software package on this page. The default value is "→ next ".
16. The last page before the formal installation → next
17. Start installation ......
18. reboot required for installation completion → reboot
19. The system cannot be started for the first time. You need to set up several more steps to use the system.
Welcome Page → next;
Select "agree"> forward on the License Agreement page;
On the Firewall page, select disabled> forward from the drop-down list. If a warning is displayed, select yes;
On The SElinux page, select disabled> forward from the drop-down list. If a warning is displayed, select yes;
The default Kdump page is enough. → forward
Date and Time page default, → forward
On the Set Up Software Updates page, select "No, I prefer to register at a later time"
Create User page. At this time, you do not need to Create a User → forward. If a warning is displayed, select Continue.
Default Sound Card page → forward
Additional CDs page default → finish
20. The system needs to be restarted. At this time, the entire system has been set and the system has been installed.
2. Install the oracle database on the System
(1) preparations before installation
1. Check hardware (memory, swap partition, tmp partition, cpu information, kernel version)
# Grep MemTotal/proc/meminfo
# Grep SwapTotal/proc/meminfo
# Df-k/tmp ("400 M)
# Grep "model name"/proc/cpuinfo
# Uname-r
2. Check required software packages
"Asianux 3, Oracle Enterprise Linux 5, and Red Hat Enterprise Linux5"
The binutils-2.17.50.0.6-2.el5 is installed
Compat-libstdc ++-33-3.2.3-61 Not Installed
The elfutils-libelf-0.125-3.el5 is installed
The elfutils-libelf-devel-0.125 Is Not Installed
The gcc-4.1.1-52 Is Not Installed
Gcc-c ++-4.1.1-52 Not Installed
The glibc-2.5-12 is installed
The glibc-common-2.5-12 is installed
The glibc-devel-2.5-12 Is Not Installed
The glibc-headers-2.5-12 Is Not Installed
The libaio-0.3.106 is installed
The libaio-devel-0.3.106 Is Not Installed
The libgcc-4.1.1-52 is
Libstdc ++-4.1.1 installed
Libstdc ++-devel-4.1.1-52.e15 Not Installed
Make-3.81-1.1 installed
The numactl-devel-0.9.8.i386 Is Not Installed
The sysstat-7.0.0 Is Not Installed
UnixODBC-2.2.11 (32 bit) or later Not Installed
UnixODBC-devel-2.2.11 (32 bit) or later Not Installed
The libXp-1.0.0-8.1.el5.i386 Is Not Installed
(# Run the rpm-q command to verify whether the package is installed; # Run the rpm-ivh installation package.) the version number of the above package may vary with the actual situation, depending on the selected image.

For example, to check whether the first package is installed, You Can # rpm-q binutils; the result is that the package version binutils-2.17.50.0.6-14.el5 is displayed, which indicates that this package has been installed.
# Rpm-q compat; package compat is not installed, indicating that this package is not installed.
---- "For the purpose of learning, do not worry about package installation here, and install the corresponding package when a specific error occurs during database installation"

  • 1
  • 2
  • Next Page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.