CentOS Learning part7:oracle boot-start configuration

Source: Internet
Author: User

0

The previous chapter (http://www.cnblogs.com/souvenir/p/3884904.html) We used a lot of time and a long space to introduce Oracle's entire installation process, hoping to help everyone. Oracle automatically starts the database service when it is finished, but does not set the boot start. In this chapter we will learn how to configure Oracle's power-on startup.

1 Modifying Dbstart and Dbshut

Log in to the system with an Oracle user and modify the two Oracle script files in the product catalog separately

  

The main thing to modify is to set Oracle_home_listner to the same modifications in the $oracle_home,dbshut script.

  

Then we need to modify a system configuration file: Oratab, just change the original n to Y.

  

2 Creating Oracle Service Scripts

Here you need to switch to the root account and then create a script file in the/ETC/INI.D directory, which we temporarily name as oracle11g, which is the command that executes when Oracle starts and shuts down.

The script file primarily specifies the instance name used, the Oracle directory, and then executes the Dbstart and dbshut two command scripts that we modified in the previous step, respectively, according to the command.

  

3 Configuring Oracle Services

After the script is saved, we need to authorize the script just now so that the Oracle user has permission to execute it.

It then adds it to the system service and opens the service at startup.

OK, we can see the final effect before restarting, and Oracle follows the operating system and starts automatically.

  

  

Here, the installation configuration for Oracle is complete. Looking back at the entire process, you will find that the installation process is very similar to Windows, except that we configure many parameters under 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.