SUSE11 Virtual machine installation with Oracle 11g installation

Source: Internet
Author: User
Tags dba

SUSE11 virtual machine installation with Oracle 11g installation

All the parameters required in this article are in the appendix to the end of this document.

Create a new virtual machine, select SUSE11

After you start the virtual machine, select the second installation

Select language

Skip a CD Check

Choose a New Installation

Select the default physical machine installation

Click Change to partition the hard disk, select a custom partition

New partition, select Primary partition

Build a 8G SWAP partition First

Build one more root partition, all remaining hard drives

, then choose the next step.

Select Software, C + +,KDE Check

Enter the root password

Enter host name

Make network settings, select the first item

Select Dynamically Assign IP

Select Next

Select Skip Test

Select Next

Select the first item

Select Next

Select Next

Select Next

Select Done

After entering the system, check your IP

Enter the/etc/hosts file to write the IP address and host name

Open YaST to find software MANAGEMENT

Enter/ETC/VIMRC

Add the set backspace=2 at the end

Open/etc/hostname

Delete the penultimate sentence of the/etc/hosts

Create users and Groups

To modify the password for an Oracle user

Modify permissions and Users

Cut to Oracle user, enter . Profile

Copy the following parameters

Refresh File

Go to sysctl.conf file

Modify to the following parameters

/sbin/sysctl-p modifying parameters from hard disk to memory

Enter this file

Copy the following parameters in the

Enter this file

Add the following parameters

Export display=:0.0

Copy the Oracle 11g compressed package to /home/oracle

Switch to Oracle user login

Choose not to update

Select Skip Update

Choose to install only the database software

Select a Single instance database

Select language

Select Enterprise Edition

Select Next

Select Next

Select Next

Here you need to open the/sysctl.conf file to modify the parameters

Change the Shmmax parameter to the required parameter

Flush to Memory

Select Install

Enter these two lines of command in the terminal

Turn on monitoring

Select Next

Select Next

Select Next

Select Next

Select Next

Select Next

Start the database configuration

Select Next

Select Next

Select Next

Select Next

Enter password

Select Next

Select Next

Select Next

Select the UTF-8 character set

Select Next

Select Next

Select Next

Shutting down the firewall

Appendix

binutils-2.16.91.0.5

compat-libstdc++-5.0.7-22.2

gcc-4.1.0

gcc-c++-4.1.0

glibc-2.4-31.2

glibc-32bit-2.4-31.2 (+ bit)

glibc-devel-2.4

glibc-devel-32bit-2.4 (+ bit)

libaio-0.3.104

libaio-32bit-0.3.104 (+ bit)

libelf-0.8.5

libgcc-4.1.0

libstdc++-4.1.0

libstdc++-devel-4.1.0

make-3.80

sysstat-6.0.2

installation VMtools

Re-mount the disc after installation

Vi/etc/vimrc

Join Set backspace=2

Vi/etc/hostname

Enter host name, save and exit

execute the command to take effect /etc/rc.d/boot.localnet start

Vi/etc/hosts

Write IP address and host name

[Email protected] ~]# GROUPADD-G 2001 Oinstall

[[email protected] ~]# GROUPADD-G 2002 DBA

[Email protected] ~]# GROUPADD-G 2003 Oper

[Email protected] ~]# useradd-m-u 2001-g oinstall-g dba,oper-d/home/oracle-s/bin/bash-c "Oracle software Owner" Oracle

[Email protected] ~]# passwd Oracle

change The password for the user Oracle.

the new Password:

Invalid Password: It is based on a dictionary word

Invalid Password: too simple

re-enter the new Password:

passwd: All the authentication tokens have been successfully updated.

[Email protected] ~]# mkdir-p/u01/app/oracle

[Email protected] ~]# chown-r oracle:oinstall/u01

[Email protected] ~]# chmod-r 775/u01

[Email protected] ~]# su-oracle

[Email protected] ~]$ Vi. _profile

#. Bash_profile

# Get the aliases and functions

If [-f ~/.BASHRC]; Then

. ~/.bashrc

Fi

# User specific environment and startup programs

Path= $PATH: $HOME/bin

Export PATH

Export Oracle_base=/u01/app/oracle

Export Oracle_home=/u01/app/oracle/product/11.2.4/dbhome_1

Export oracle_sid=vdedu # ( note here to enter your own SID)

Export Oracle_term=xterm

Export Path=/usr/sbin: $PATH

Export Path=/u01/app/ogg: $ORACLE _home/bin: $PATH

Export Ld_library_path=/u01/app/ogg: $ORACLE _home/lib:/lib:/usr/lib: $LD _library_path

Export classpath= $ORACLE _home/jre: $ORACLE _home/jlib: $ORACLE _home/rdbms/jlib

Export nls_date_format= "Yyyy-mm-dd HH24:MI:SS"

Export Nls_lang=american_america. Al32utf8

Export Lang=c

Export oracle_unqname=vdedu # Ibid .

source. bash_profile Refresh the file

[Email protected] ~]SU-

[[Email protected] ~] #vi/etc/sysctl.conf

FS.AIO-MAX-NR = 1048576

Fs.file-max = 6815744

Kernel.shmmni = 4096

Kernel.sem = 250 32000 100 128

Net.ipv4.ip_local_port_range = 9000 65500

Net.core.rmem_default = 262144

Net.core.rmem_max = 4194304

Net.core.wmem_default = 262144

Net.core.wmem_max = 1048586

Kernel.shmall = These two parameters are required in the 2097152 #SUSE10

Kernel.shmmax = 2071803904

[Email protected] ~]#/sbin/sysctl-p

[Email protected] ~]# vi/etc/security/limits.conf

Oracle Soft nproc 2047 # Warning Sets the maximum number of open processes for all users is 2047

Oracle Hard Nproc 16384 # Strictly sets the maximum number of open processes for all users is 16384

Oracle Soft nofile 1024x768 # warning set max open files for all users to 1024x768

Oracle Hard nofile 65536 # Strictly set the maximum number of open files for all users is 65536

#soft indicates that a warning setting can exceed this setting, but more than a warning message

#hard indicate strict settings, must not exceed this set of values

[Email protected] ~]# Vi/etc/pam.d/login

Session required/lib64/security/pam_limits.so

# to make the limits.conf file configuration effective, you must make sure that the pam_limits.so file is added to the startup file.

# See the /etc/pam.d/login file with:

#session required/lib/security/pam_limits.so

Export display=:0.0

Xhost +

SUSE11 Virtual machine installation with Oracle 11g installation

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.