Oracle11G for Linux

Source: Internet
Author: User
1. Download The oracle11gforLinux zip package from the 0racle website and decompress it. 2. Run. runInstaller-jreLocusrlibjvmja under the user.

1. Download the zip package of oracle 11g for Linux from the 0 racle website and decompress it. 2. Run./runInstaller-jreLoc/usr/lib/jvm/ja under the user.

1. Download the Oracle 11g for Linux zip package from the 0 racle website and decompress it.

2. run. /runInstaller-jreLoc/usr/lib/jvm/java-6-sun/jre)

To be continued ......

3. The next step is all the way, but some of the dependent items must be installed first.

A) libaio1

B) rpm

C) ksh

4. link some commands to the/usr/bin directory.

A) awk->/etc/alternatives/awk

B) ksh->/etc/alternatives/usr. bin. ksh

5. Create a required directory, that is,/opt. In fact, this directory may already exist.

6. Then everything is okay, but some environment variables need to be added to start oracle. I usually put these in. bashrc.

A) export ORACLE_HOME =/home/haha/app/haha/product/11.1.0/db_1

B) export ORACLE_SID = haha

C) export NLS_LANG = american_america.utf8 (this is to show Chinese content without garbled characters)

D) export PATH = $ PATH:/home/haha/app/haha/product/11.1.0/db_1/bin (this is for convenience and is optional)

7. Check whether the installation is successful in the following aspects:

A) Access https: // domain: 1158/em to see if you can log on.

B) netstat-anop | grep 1521. Check whether the listener is enabled.

To start oracle again, run the following command:

A) Start the database instance: sqlplus "/as sysdba", and then startup

B) start listener: lsnrctl start

C) start em: emctl start dbconsole (optional)

The Linux Oracle client can use SQL developer and download it on the Oracle website. In fact, this is helpless. After all, plsqldev cannot be used in Linux.

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.