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.