Install Oracle 11 GB single-instance database on Linux under vmvm

Source: Internet
Author: User

Install Oracle 11g single-instance database on Linux under vmvm 1. Environment and pre-installation plan: Virtual Machine and OS are as follows

Environment: VMware Wordstation ACE version 6.0.2

Operating System: OracleLinux-R5-U8-Server-i386-dvd 3.2G

Operating System: http://mirrors.dotsrc.org/oracle-linux/

To install the operating system, you must note that the disk space is sufficient.

My plan is:

The VM allocates MB of memory. Of course, if the host memory is sufficient, it can be faster to set the memory to MB during installation.

A Virtual Machine allocates 30 GB disk space.

/Boot 100 M ext3

/20G ext3

Swap 2048 M

The remaining space of nearly 8 GB is used for ASM.

At the same time, it is better to select the graphic mode installation when installing the system, and directly install the graphic mode, which is easier.

 

2. OS Configuration:

After the operating system is installed, you must configure the following

Fixed IP and DNS/etc/sysconfig/network-scripts/ifcfg-eth0

Host Name/etc/sysconfig/network

Modify the startup running level/etc/inittab

Disable SELINUX/boot/grub/menu. lst

Modify sshd_config to solve the problem of automatic disconnection during SSH timeout.

 

Login as: root

Root@192.168.1.212's password:

Last login: Wed Jun 5 09:11:26 2013

[Root @ oel-01 ~] # Hostname

Oel-01

[Root @ oel-01 ~] # Cat/etc/sysconfig/network-scripts/ifcfg-eth0

# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]

DEVICE = eth0

BOOTPROTO = none

HWADDR = 00: 0C: 29: 99: 8B: C9

ONBOOT = yes

NETMASK = 255.255.255.255.128

IPADDR = 192.168.1.212

GATEWAY = 192.168.1.254

TYPE = Ethernet

USERCTL = no

IPV6INIT = no

PEERDNS = yes

 

[Root @ oel-01 ~] # Cat/etc/resolv. conf

Nameserver 222.88.88.88

 

[Root @ oel-01 ~] # Cat/etc/sysconfig/network

NETWORKING = yes

NETWORKING_IPV6 = yes

HOSTNAME = oel-01

 

[Root @ oel-01 ~] # Vi/etc/inittab

Id: 3: initdefault:

 

[Root @ oel-01 ~] # Vi/boot/grub/menu. lst

Add selinux = 0 at the end of the kernel line to disable SELINUX. You can also disable it on the graphic configuration page after installing the system.

 

[Root @ oel-01 ~] # Cd/etc/ssh/

[Root @ oel-01 ssh] # grep "ClientAlive" sshd_config

# ClientAliveInterval 0

# ClientAliveCountMax 3

[Root @ oel-01 ssh] # cp sshd_configsshd_config.bak

[Root @ oel-01 ssh] # sed-I "s/# ClientAliveInterval 0/ClientAliveInterval 60/g" sshd_config

[Root @ oel-01 ssh] # grep "ClientAlive" sshd_config

ClientAliveInterval 60

# ClientAliveCountMax 3

[Root @ oel-01 ssh] # sed-I "s/# ClientAliveCountMax 3/ClientAliveCountMax 10/g" sshd_config

[Root @ oel-01 ssh] # grep "ClientAlive" sshd_config

ClientAliveInterval 60

ClientAliveCountMax 10

 

[Root @ oel-01 ssh] # service sshd restart

Stopping sshd: [OK]

Starting sshd: [OK]

 

At this point, the system should be restarted to verify whether the above configurations take effect. If it takes effect, shut down and take snapshots in VMWARE.

For more details, please continue to read the highlights on the next page:

Recommended reading:

How to install Oracle 11g R2 single-instance database on CentOS 5.6

To install Oracle Clusterware on an Oracle vmvm

  • 1
  • 2
  • 3
  • 4
  • 5
  • 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.