nohup 启动 WebLogic Server
但是如果终端关闭,那么程序也会被关闭。但是为了能够后台运行,那么我们就可以使用nohup这个命令,
The trick to do nohup and be able to enter username and passwd etc. is to go into C-Shell, csh. I usually use an advanced C-Shell called "tcsh". This is the exact steps:
$ tcsh
$ cd <to the directory>(Where the startWebLogic.sh locates)
$ nohup ./startWebLogic.sh
<enter user name and passwd if asked>
<Press Ctrl-Z to suspend it after all the starting messages have been displayed>
$ bg
另附一个参考:
http://langzhiwang888.iteye.com/blog/1534915