在Linux的背景出发的WebLogic Server [英] Starting weblogic server in background in Linux
问题描述
我已经安装了Weblogic Server的10.3.6,我用下面的脚本来启动我的服务器:
user_projects /域/ my_domain /斌/ startWebLogic.sh
我发现下面的命令来启动后台服务器:
的nohup startWebLogic.sh&安培;
但是,当我使用这个命令我得到这样的输出:
-bash-3.2 $ nohup的./startWebLogic.sh&安培;
[2] 25379
-bash-3.2 $ nohup的:追加输出到`的nohup.out
所以我在这里要preSS输入来的这一点并转到新行。
现在我的要求是,当我运行命令然后服务器开始,我必须走出这一个新的生产线,如:
-bash-3.2 $ nohup的./startWebLogic.sh&安培;
[2] 25379
-bash-3.2 $ nohup的:追加输出到`的nohup.out
-bash-3.2 $
有人可以帮我在这。我使用bash shell的。
的nohup startWebLogic.sh<的/ dev / null的&安培;>的/ dev / null的&安培;
尽量避免留下附加文件描述。所以<的/ dev / null的将是一件好事也适用。
I have installed Weblogic Server 10.3.6, and I use the below script to start my server:
user_projects/domains/my_domain/bin/startWebLogic.sh
I found below command to start the server in background:
nohup startWebLogic.sh &
But when I use this command I am getting this output:
-bash-3.2$ nohup ./startWebLogic.sh &
[2] 25379
-bash-3.2$ nohup: appending output to `nohup.out'
So here I have to press Enter to come out of this and go to new line. Now my requirement is that when I run the command then the server should start and I have to come out of this to a new line, like:
-bash-3.2$ nohup ./startWebLogic.sh &
[2] 25379
-bash-3.2$ nohup: appending output to `nohup.out'
-bash-3.2$
Can someone please help me in this. I am using bash shell.
nohup startWebLogic.sh < /dev/null &> /dev/null &
Try to avoid leaving file descriptors attached. So < /dev/null would be good to apply too.
这篇关于在Linux的背景出发的WebLogic Server的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!