Install ORACLE 11g in CENTOS (LT project development reference)

Source: Internet
Author: User

Some time ago, the ORACLE server was installed for the K3CLOUD project. Some colleagues were not familiar with LINUX and ORACLE, and now they have prepared documents for reference by later maintenance personnel.

ORACLE Installation

1. First install the dependency package (the newly installed centos is required and is not required by the current server)

 

 

2. Disable the firewall or set to open the corresponding ORACLE port. The configuration file is as follows:

The firewall visual interface is as follows:

3. Sum

The host names in the two files must be consistent.

4. Modify the ID to red hat.

5. Modify and execute the change

6. Create ORACLE users and groups and set passwords

-g oinstall -G dba -m -s /bin/ oracle

7. Set directory ownership and permissions. At that time, centos was installed in two directories: oracleinstall and oracledata.

 oracle:oinstall / oracle:oinstall / -R  / -R  /oracledata

8. Modify the variable and execute it to make it take effect.

9. Switch to the English mode to prevent Garbled text. Switch to the oracle user for installation (you must log on to the server on the GUI)

$=/opt/oracle//runInstaller

10. Run and

 

ORACLE startup

1. Manual start

Oracle is not started at startup, and manual start is

Start the Monitoring Program

Start OEM:

2. Automatic Start

2.1 modify

2.2 modify. Find and modify

2.3 create a STARTUP script

2.4 Set permissions for the script

2.5 Establish services

 

 

 

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.