Home > Backend Development > Python Tutorial > Steps to start nodemanager on Linux boot

Steps to start nodemanager on Linux boot

高洛峰
Release: 2017-02-13 16:28:19
Original
2068 people have browsed it

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
Copy after login

2、修改权限

chmod a+x /etc/init.d/nodeManagerService
Copy after login

3、添加到开关机服务里

chkconfig --add nodeManagerService
[html]
4、查看启动级别
[code]
chkconfig --list nodeManagerService
Copy after login

5、重启机器查看是否生效

在linux 开机启动界面会看到开机服务中有: nodeManagerService [ok]

6、删除开关机服务

chkconfig --del nodeManagerService
Copy after login

更多linux开机启动nodemanager步骤相关文章请关注PHP中文网!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template