linux开机启动nodemanager步骤
1、编辑文件/etc/init.d/nodeManagerService
代码如下:
[oracle@weblogic-01 ~]$ vi /etc/init.d/nodeManagerService
#!/bin/bash
#chkconfig: 345 80 70
#description: start stop nodemanager
WL_HOME="/home/oracle/Oracle/Middleware/wlserver_10.3"
BEA_OWNER="oracle"
case "$1" in
start)
su - "$BEA_OWNER" <<EOF
${WL_HOME}/server/bin/startNodeManager.sh &
EOF
stop)
su - "$BEA_OWNER" <<EOF
EOF
*)
esac