In the DB2 database, in fact, there is an autostart parameters, but I do not know why in the db2v10.1 is always not effective, no way, had to solve their own
Some methods on the Internet is to write a script, set to boot, feel too much trouble, I did so
Edit/etc/rc.local File
Added: Su db2inst1-lc db2start
Save it, restart it, and you'll find DB2 automatically started.
Oracle, almost.
Find the Dbstart and Dbstop files first, and change the oracle_home_listner=$1 inside to
oracle_home_listner= $ORACLE _home
When modifying/etc/oradata
Modify the/etc/oratab file with the following command:
[Email protected] ~]$ Vi/etc/oratab
Found: Accp:/u01/oracle:n modified to: accp:/u01/oracle:y
In/etc/rc.local, add
Su oracle-lc "lsnrctl start"
Su ORACLE-LC Dbstart
Remember, the first line has a space between lsnrctl start, so Add "".
Reboot, OK
How to set up boot DB2 and Oracle