Install Oracle 11.2 on SUSE Enterprise Linux 11 Enterprise Edition

Source: Internet
Author: User
Tags ssh port

I installed Oracle 11g on SUSE Enterprise Linux 11 Enterprise Edition. This is already very rare.

I remember that 10 years ago, if you could install Oracle on Linux, it would be awesome. Now it is much simpler to install Oracle in linux than before, and the documentation is also very complete.

Record the entire process. If someone makes a script, that would be awesome.

Software Used

Vmware workstation 7.1

SuSE enterprise 11 sp1 DVD

Oracle 11gR2

Linux_11gR2_database_1of2.zip

Linux_11gr2_databasesilicate f2.zip


1: Install SuSE 11 sp1

I installed it in vmware workstation, 40 Gb hard disk, 2 GB memory, and the whole process of installation, basically use the default, the installation process is basically not adjustable.

To reduce the trouble, I installed it in English, so as to avoid problems encountered by the author. In addition, it is much easier to open the ssh port.

2: Install necessary software

After it is started, enter the graphic interface and install several software packages. The installation process may fail. Go to the command line,

Zypper install binutils-2.19 gcc-4.3 gcc-c ++-4.3 glibc-2.9 glibc-devel-2.9 ksh-93t libaio-0.3.104 libstdc ++ 33-3.3.3 libstdc ++ 43-4.3.3_20081022 libstdc ++ 43-devel-4.3.3_20081022 libaio-devel-0.3.104 libgcc43-4.3.3_20081022 devel-4.3 sysstat-8.1.5 unixODBC-32bit-2.2.12 unixODBC-devel-32bit-2.2.12

3: Perform basic settings

/Etc/sysctl. confAdd the following content

Fs. aio-max-nr = 1048576

Fs. file-max = 6815744

Kernel. shmall = 2097152

Kernel. shmmax = 536870912

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

Net. ipv4.tcp _ wmem = 262144 262144 262144

Net. ipv4.tcp _ rmem = 4194304 4194304 4194304

 

#/Sbin/chkconfig boot. sysctl onLetSuseLoad at startup/Etc/sysctl. conf

#/Sbin/sysctl-pMake the modified parameters take effect immediately


CreateOracleUsers and groups and installation Directories

# Groupadd oinstall(Create a user groupOinstall)

#Groupadd dba(Create a user groupDba)

 

#Useradd-g oinstall-G dba-MOracle(The first question is here.-m must be added.)

#Passwd oracle (Set Password)

#Mkdir-p/fantlam/oracle

#Chown-R oracle: oinstall/fantlam(Change directory group) 

 

#Su-oracle

Oracle @ linuxsight:/home/oracle> vi. profile add

 

ORACLE_BASE =/fantlam

ORACLE_HOME = $ ORACLE_BASE/oracle

ORACLE_SID = fantlam

PATH = $ ORACLE_HOME/bin: $ PATH

Export ORACLE_BASE ORACLE_HOME ORACLE_SID PATH

 

Oracle @ linuxsight:/home/oracle>Exit(Log out and make the settings take effect)

#Su-oracle

Oracle @ linuxsight:/home/oracle>Env | grep ORA

ORACLE_SID = fantlam

ORACLE_BASE =/fantlam

ORACLE_HOME =/fantlam/oracle

  • 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.