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
2、修改权限
chmod a+x /etc/init.d/nodeManagerService
3、添加到开关机服务里
chkconfig --add nodeManagerService [html] 4、查看启动级别 [code] chkconfig --list nodeManagerService
5、重启机器查看是否生效
在linux 开机启动界面会看到开机服务中有: nodeManagerService [ok]
6、删除开关机服务
chkconfig --del nodeManagerService
更多linux开机启动nodemanager步骤相关文章请关注PHP中文网!