Sunday, November 25, 2007

How I installed Oracle9i on CentOS4 under VMware (part 1).

Hi, Everyone!

In this posting I will emphasize only, in my opinion, more important things of the installation.

1. First of all I installed SetnOS 4 under VMware.

To do it I just started VMware and pressed Ctrl+N.
Then in the installation master the following items were chosen:

(Next>),
Virtual machine configuration: Typical (Next>),
Guest operation system: Linux,
Version: Red Hat Enterprise Linux 4 (Next>),
Virtual machine name: cent4,
Location: D:\vm\cent4\ (In my case) (Next>),
Network connection: Use bridged networking (Next>),
Disk size (GB): 12 (Just in case, and this is a happy number by the way...),
Allocate all disk space now: Yes. (OS should work faster with preallocated disk space.) (Finish).

For oracle 10.2 we have to set up minimum 922Mb memory.

Then I removed Floppy and Sound adapter from the the "Virtual Machine Settings" window by choosing these devices and pushing Remove button. We definitely don't need them for Oracle.


Then I set up the path of CentOS4 iso image file into the "Use ISO image" field in the "Virtual Machine Settings" window.


Powered on this virtual machine and started installation the operation system on it.


2. Installing CentOS4.

I chose "Custom" in the "Installation Type" window.
Then "Automatically partition"in the "Disk Partitioning Setup" window.
Then "Next" till the "Network Configuration" where the following settings were chosen:
Configure using DHCP: No,
IP Address: 192.168.1.79,
Netmask: 255.255.255.0.


cent4.ssldomain.com for the host name,
192.168.1.254 for Gateway and Primary DNS IPs in the "Miscellaneous Settings" area.


In the "Firewall Configuration" window "No firewall" and "Enable SELinux?: Disabled" were set up.
In the "Package Group Selection" window the following packages were chosen:
"X Window System",
"GNOME Desktop Environment",
"Graphical Internet",
"Office/Productivity",
"Development Tools",
"X Software Development",
"GNOME Software Development",
"Legacy Software Development",
"Administration Tools",
"System Tools".

And in a few minutes installation had been done...

Then after rebooting I connected as root and chose
"VM"-->"Install VMware tools"-->"Install" from the VMware main menu.

Double clicked on CD-ROM Drive and then double clicked on VMwareTools rpm file.


As result the VMwareTools package had been installed.
Then using a terminal window as root I executed the vmware-config-tools.pl script, where I chose the 1024x768 resolution.

After that mouse changes took effect but resolution was still as before.
But after restarting the server the resolution took effect too...

I hope this posting is useful.
And in the next one I am going to continue describing installation Oracle 9i on CentOS4.
And then we will upgrade Oracle 9i to 10g and then to 11g.


Stay tuned and thanks!

Sergey.