Home > OS >  Boot from the start, switch to a few users perform commands, how to write a shell script
Boot from the start, switch to a few users perform commands, how to write a shell script

Time:09-23

SHH operating sequence is as follows; Every time the user password is the user name, boot to open the following service
Need to start the boot
Start the database
1, execute the following command, start the database and listening services:
[oralce] $LSNRCTL stop
[oralce] $LSNRCTL start
[oralce] $up sqlplus/nolog
SQL> Conn sys/sys as sysdba
SQL> Startup
SQL> The quit
2, start the exchange background process
[root] # su - acac
[explat] $startall. Sh
3, perform the following command to start the background information management center:
[root] # service xinetd restart
4, start ictrl
[root] # su - acbc
Ictrl - daemon

CodePudding user response:

Vim ~/. Following written here

CodePudding user response:

Could you help to write it
  • Related