Home > OS >  Linux boot need to run the following commands, I'd like to add to the boot from the rev, ask fo
Linux boot need to run the following commands, I'd like to add to the boot from the rev, ask fo

Time:10-02

Linux boot need to run the following commands, I'd like to add to the boot from the rev, seek advice,

Exam user applications (open)
CD/bbaa/ap/exam/
./startup. Sh

Oracle users (start the database application)
Up sqlplus/nolog
Conn/as sysdba
Startup
The exit

Enable the database to monitor
LSNRCTL start

CodePudding user response:

In the/etc/rc. Local add
For example:
Sudo -u exam/bbaa/ap/exam/startup. Sh

CodePudding user response:

reference 1st floor zhouchao6 response:
in the/etc/rc. The local add
For example:
Sudo -u exam/bbaa/ap/exam/startup. Sh
write so I can not,
Su exam - c "bbaa/ap/exam/startup. Sh" statement is wrong?

CodePudding user response:

refer to the second floor, PU response:
Quote: refer to 1st floor zhouchao6 response:
in the/etc/rc. The local add
For example:
Sudo -u exam/bbaa/ap/exam/startup. Sh
write so I can not,
Su exam - c "bbaa/ap/exam/startup. Sh" statement is wrong?

Whether to add in front of the account - su - exam - c so I didn't try, you try it on

CodePudding user response:

Ok, tomorrow I try,

CodePudding user response:

reference 1st floor zhouchao6 response:
in the/etc/rc. The local add
For example:
Sudo -u exam/bbaa/ap/exam/startup. Sh
no,

CodePudding user response:




I didn't see reaction, so add rc. Also gives local file permissions,

CodePudding user response:

refer to the sixth floor, PU response:



I didn't see reaction, so add rc. Also gives local file permissions,



First you performed manually, manual fine, go inside

CodePudding user response:

Manual of normal,

CodePudding user response:

O
refer to the eighth floor PU response:
normal manually,

Add the absolute path/usr/bin/su
  • Related